/*
Tailwind CSS Block
 */

:root {
  --paper: #f4e8d6;
  --paper-deep: #e7d1b3;
  --ink: #211b18;
  --wine: #6f2430;
  --brass: #a56d33;
  --line: #3a2b24;
  --shadow: rgba(33, 27, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(rgba(33, 27, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 27, 24, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px, 34px 34px, auto;
  font-family: "Garamond", "Baskerville", "Times New Roman", serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-frame {
  position: relative;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto;
  border: 2px solid var(--line);
  background: rgba(244, 232, 214, 0.94);
  box-shadow: 0 14px 40px var(--shadow);
  overflow: clip;
}

.site-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(58, 43, 36, 0.7);
  pointer-events: none;
  z-index: 4;
}

.corner {
  position: absolute;
  width: 66px;
  height: 66px;
  z-index: 5;
  pointer-events: none;
}

.corner::before,
.corner::after {
  content: "";
  position: absolute;
  border: 1.5px solid var(--line);
  border-radius: 50%;
}

.corner::before {
  width: 38px;
  height: 38px;
}

.corner::after {
  width: 18px;
  height: 18px;
}

.corner-tl {
  top: 7px;
  left: 7px;
}

.corner-tl::before {
  top: -12px;
  left: -12px;
}

.corner-tl::after {
  top: 20px;
  left: 42px;
}

.corner-tr {
  top: 7px;
  right: 7px;
  transform: rotate(90deg);
}

.corner-br {
  right: 7px;
  bottom: 7px;
  transform: rotate(180deg);
}

.corner-bl {
  left: 7px;
  bottom: 7px;
  transform: rotate(270deg);
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 20px 32px 16px;
  border-bottom: 2px solid var(--line);
  background: rgba(244, 232, 214, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  text-decoration: none;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.brand span {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
}

.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-tabs a {
  min-height: 40px;
  padding: 10px 26px;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-tabs a:hover {
  transform: translateY(-2px);
  color: var(--ink);
  background: rgba(231, 209, 179, 0.7);
}

.nav-tabs a.active {
  transform: translateY(-2px);
  color: #fff8ed;
  background: var(--ink);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: rgba(255, 249, 239, 0.7);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
}

.page-header.is-menu-open .menu-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

.page-header.is-menu-open .menu-toggle span {
  opacity: 0;
}

.page-header.is-menu-open .menu-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  background: var(--wine);
  color: #fff8ed;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(310px, 0.9fr);
  gap: 6em;
  align-items: flex-start;
  min-height: calc(100vh - 112px);
  padding: clamp(54px, 6vw, 6px) clamp(28px, 6vw, 72px);
  border-bottom: 2px solid var(--line);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--wine);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  margin-left:10px;
  color: var(--ink);
  font-size: clamp(1.5rem, 6vw, 4rem);
  line-height: 0.86;
  letter-spacing: 0;
}
h1.name{
  margin-left:-30px;
}
.accent{
  color: var(--wine);
}

h1::before,
h1::after,
.star {
  content: "\2726";
  font-size: clamp(2rem, 4rem, 4rem);

  color: var(--brass);
}


.hero-copy {
  max-width: 710px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.34;
}

.hero-copy strong {
  color: var(--wine);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
  background: #fff8ed;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button.primary {
  color: #fff8ed;
  background: var(--wine);
  box-shadow: 5px 5px 0 var(--ink);
}

.button.primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.button.secondary:hover {
  color: #fff8ed;
  background: var(--wine);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.proof-strip div {
  min-height: 96px;
  padding: 16px;
  border: 1.5px solid var(--line);
  background: rgba(231, 209, 179, 0.48);
}

.proof-strip b {
  display: block;
  color: var(--wine);
  font-size: 1.55rem;
}
.portrait-stage {
  position: relative;
  display: grid;
  place-items: baseline;
  min-height: 500px;
}

.portrait-stage::before {
  content: "";
  position: absolute;
  width: min(78%, 320px);
  height: 58%;
  border-radius: 52% 52% 7px 7px;
  background: var(--paper);
  transform: translate(16px, 16px);
}

.arch-portrait {
  position: relative;
  z-index: 1;
  margin-left: 6vw;
  width: min(70vw, 260px);   /* smaller */
  aspect-ratio: 0.78;        /* shorter arch */

  border: 3px solid var(--line);
  border-radius: 52% 52% 8px 8px;

  background:
          linear-gradient(180deg, rgba(255,255,255,0.18), transparent 34%),
          var(--paper);

  box-shadow: 10px 10px 0 var(--ink);

  overflow: visible;         /* allow body to stick out */
}

.arch-portrait .avatar {
  position: absolute;
  left: 55%;
  bottom: -35%;              /* pushes lower half outside */
  transform: translateX(-50%);
  width: 100%;
  max-width: none;
  padding: 0;
  z-index: 5;
}

.arch-portrait::before {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(58, 43, 36, 0.68);
  border-radius: 52% 52% 7px 7px;
  z-index: 3;
  pointer-events: none;
}


.arch-portrait::before {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(58, 43, 36, 0.68);
  border-radius: 52% 52% 7px 7px;
  z-index: 2;
  pointer-events: none;
}

.floating-note {
  position: absolute;
  right: -30px;
  bottom: 622px;
  max-width: 210px;
  padding: 16px;
  border: 2px solid var(--line);
  background: #fff8ed;
  box-shadow: 6px 6px 0 var(--brass);
  font-weight: 700;
  z-index:25;
}

.film-ribbon {
  position: absolute;
  left: -48px;
  top: 20%;
  width: 33rem;
  height: auto;
  transform: rotate(18deg);
  z-index: 0;
  opacity: 0.78;
}

.section {
  padding: clamp(34px, 5vw, 62px) clamp(26px, 6vw, 70px);
  border-bottom: 2px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

h2 {
  color: var(--ink);
  font-size: clamp(2.2rem, 3vw, 4.3rem);
  line-height: 0.95;
}

.section-heading p {
  max-width: 420px;
  font-size: 1.15rem;
  line-height: 1.35;
}

.project-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card,
.feature-card,
.contact-panel,
.page-intro {
  position: relative;
  border: 2px solid var(--line);
  background: rgba(255, 248, 237, 0.62);
}

.project-card {
  min-height: 256px;
  padding: 22px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card::before {
  content: "\2726";
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--brass);
  font-size: 2.1rem;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 7px 7px 0 var(--ink);
}

.project-card h3 {
  max-width: 82%;
  color: var(--wine);
  font-size: 1.55rem;
}

.project-card p {
  font-size: 1.05rem;
  line-height: 1.38;
}

.project-card .reveal {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 20px;
  border-top: 1.5px solid var(--line);
  background: var(--ink);
  color: #fff8ed;
  transform: translateY(101%);
  transition: transform 180ms ease;
}

.project-card:hover .reveal,
.project-card:focus-within .reveal {
  transform: translateY(0);
}

.feature-card {
  min-height: 180px;
  padding: 24px;
}

.feature-card h3 {
  color: var(--ink);
  font-size: 1.6rem;
}

.feature-card p {
  font-size: 1.08rem;
  line-height: 1.42;
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 30px;
  align-items: center;
  background: var(--paper-deep);
}

.large-quote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.96;
}

.cta-ledger {
  display: grid;
  gap: 12px;
  font-size: 1.22rem;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(58, 43, 36, 0.45);
}

.ledger-row span:first-child {
  color: var(--wine);
  font-weight: 700;
}

.sticky-hire {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  background: var(--wine);
  color: #fff8ed;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--ink);
}

.sticky-hire:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.inner-page {
  padding: clamp(34px, 6vw, 70px) clamp(24px, 6vw, 70px);
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-bottom: 24px;
  padding: clamp(2px, 3vw, 2vw);
}

.page-intro h1 {
  font-size: clamp(2rem, 4rem, 4rem);
}

.page-intro p {
  max-width: 700px;
  font-size: 1.25rem;
  line-height: 1.42;
}

.mini-arch {
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 0.76;
  border: 2px solid var(--line);
  border-radius: 52% 52% 8px 8px;
  color: var(--wine);
  background: var(--paper-deep);
  font-size: 3.2rem;
}

@media (max-width: 1000px) {
  .mini-arch, .arch-portrait, .film-ribbon {
    display: none;
  }
}

.catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.catalog-item {
  min-height: 236px;
  padding: 1.5vw;
  border: 2px solid var(--line);
  background: rgba(255, 248, 237, 0.68);
}

.catalog-item h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 2rem);
}

.catalog-item h2 a:hover {
  color: var(--wine);
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.meta span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(231, 209, 179, 0.56);
  font-size: 0.9rem;
  font-weight: 700;
}

.inline-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--wine);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  padding: 28px;
  background: var(--line);
  color: #fff8ed;
}

.contact-panel h2 {
  color: #fff8ed;
}

.contact-panel p {
  font-size: 20px;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  padding: 12px 14px;
  border: 1px solid #fff8ed;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.contact-links a:hover {
  color: var(--ink);
  background: #fff8ed;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 32px;
  color: #fff8ed;
  background: var(--ink);
}

.site-footer a {
  color: #fff8ed;
}

@media (max-width: 900px) {
  .hero,
  .quote-band,
  .page-intro,
  .star,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .page-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
  }

  .nav-tabs {
    justify-content: start;
  }

  .hero {
    min-height: auto;
  }

  .portrait-stage {
    min-height: 400px;
  }

  .project-grid,
  .feature-grid,
  .catalog,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }


}

@media (max-width: 860px) {
  .page-header,
  .star {
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-tabs {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding-top: 12px;
  }

  .page-header.is-menu-open .nav-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-tabs a {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .site-frame {
    width: calc(100% - 12px);
    margin: 6px auto;
  }

  .site-frame::before,
  .corner {
    display: none;
  }

  .page-header,
  .section,
  .inner-page,
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-tabs a {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    text-align: center;
  }

  h1,
  .page-intro h1 {
    font-size: 2rem;
    line-height: 0.95;
  }

  .hero-copy,
  .page-intro p {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .proof-strip div {
    min-height: 78px;
  }

  .arch-portrait {
    width: min(82vw, 300px);
  }

  .floating-note {
    right: 8px;
    bottom: 22px;
  }

  .sticky-hire {
    right: 10px;
    bottom: 10px;
  }

  .site-footer {
    display: block;
  }
}
