@font-face {
  font-family: Inter;
  src: url("../fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../fonts/Inter-Italic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --gold: #B8924A;
  --gold-hover: #C9A45C;
  --anthra: #1C1C1C;
  --anthra-2: #2B2B2B;
  --paper: #F6F3EE;
  --card: #FFFCF8;
  --ink: #2B2B2B;
  --muted: #5E5A54;
  --hair: #E4DDD2;
  --gold-line: rgba(184, 146, 74, 0.45);
  --header-h: 76px;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--anthra); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 200;
  background: var(--gold);
  color: var(--anthra);
  padding: 8px 12px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--anthra);
  color: #F6F3EE;
  border-bottom: 1px solid var(--gold-line);
}
.header-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #F6F3EE;
  flex-shrink: 0;
}
.brand:hover { color: #F6F3EE; }
.brand-mark {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  flex-shrink: 0;
}
.brand-name {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #F6F3EE;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: #F6F3EE;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--anthra);
    border-bottom: 1px solid var(--gold-line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--pad) 20px;
  }
  .site-header.open .nav { display: flex; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(184,146,74,0.2); }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--anthra);
  color: #F6F3EE;
  padding: clamp(72px, 13vw, 148px) var(--pad) clamp(80px, 13vw, 156px);
  text-align: center;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(160px, 40%);
  border-bottom: 2px solid var(--gold);
}
.hero-inner { width: min(820px, 100%); margin: 0 auto; }
.hero-kicker {
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
}
.hero h1 {
  margin: 0 0 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(52px, 9.5vw, 100px);
  line-height: 0.95;
  letter-spacing: 0.012em;
  color: #F6F3EE;
}
.hero p {
  margin: 0 auto 40px;
  max-width: 34em;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  color: #C9C4BB;
}
.btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  background: var(--gold);
  color: var(--anthra);
  border: 1px solid var(--gold);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover {
  background: transparent;
  color: var(--gold);
}
.btn.ghost {
  background: transparent;
  color: var(--gold);
}
.btn.ghost:hover {
  background: var(--gold);
  color: var(--anthra);
}

/* ---------- Sections ---------- */
.section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) var(--pad);
}
.section-head {
  max-width: 38em;
  margin: 0 0 48px;
}
.kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
}
.section h2,
.legal-hero h1 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  color: var(--anthra);
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

/* ---------- Project grid ---------- */
.projects {
  background: var(--paper);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--hair);
  padding: 32px 28px 28px;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(28, 28, 28, 0.07);
  color: inherit;
}
.card img {
  width: 90px;
  height: 54px;
  object-fit: contain;
  margin: 0 0 24px;
}
.card h3 {
  margin: 0 0 12px;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.01em;
  display: inline-block;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  width: fit-content;
}
.card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
  flex: 1;
}
.more {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.card:hover .more { color: var(--gold); }
.more::after { content: " →"; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
}

/* ---------- About ---------- */
.about {
  background: #F0EBE3;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.about-wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) var(--pad);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "head photo"
    "body photo";
  grid-template-rows: auto 1fr;
  gap: 12px clamp(40px, 6vw, 80px);
  align-items: start;
}
.about-head { grid-area: head; }
.about-head h2 { margin-bottom: 0; }
.about-body { grid-area: body; padding-top: 8px; }
.about-body p { margin: 0 0 1.1em; color: var(--ink); }
.about-body p:last-of-type { margin-bottom: 0; }
.facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--hair);
}
.facts li {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 15.5px;
}
.facts b {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  padding-top: 3px;
}
.facts span { color: var(--muted); }

.portrait {
  grid-area: photo;
  position: relative;
  justify-self: end;
  align-self: center;
  width: min(100%, 400px);
  padding: 0 16px 16px 0;
}
.portrait img {
  width: 100%;
  aspect-ratio: 520 / 500;
  object-fit: cover;
  object-position: 50% 15%;
  background: #ddd;
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--gold);
  pointer-events: none;
}

@media (max-width: 800px) {
  .about-wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "photo"
      "body";
    gap: 28px;
  }
  .about-body { padding-top: 0; }
  .portrait {
    justify-self: start;
    width: min(calc(100% - 16px), 360px);
    margin: 0;
  }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  align-items: start;
}
.contact-block h3 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}
.contact-block p,
.contact-block address {
  margin: 0 0 0.7em;
  font-style: normal;
  font-size: 16.5px;
  line-height: 1.6;
}
.contact-block a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.contact-block a:hover { color: var(--gold); }
.placeholder {
  display: inline-block;
  background: #EFE6D4;
  color: var(--anthra);
  border-left: 3px solid var(--gold);
  padding: 1px 8px;
  font-weight: 500;
  font-size: 0.95em;
}

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--anthra);
  color: #C9C4BB;
  padding: 48px var(--pad) 40px;
  border-top: 2px solid var(--gold);
}
.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: end;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #F6F3EE;
  text-decoration: none;
  margin-bottom: 12px;
}
.footer-brand .brand-name { font-size: 11px; }
.site-footer p { margin: 0; font-size: 13px; line-height: 1.6; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: #F6F3EE;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--gold); }
.draft-note {
  font-size: 12px;
  color: #8A8580;
  text-align: right;
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .draft-note { text-align: left; }
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--anthra);
  color: #F6F3EE;
  padding: clamp(48px, 8vw, 88px) var(--pad) 56px;
  text-align: left;
}
.legal-hero .inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.legal-hero .kicker { color: var(--gold); }
.legal-hero .kicker::before { background: var(--gold); }
.legal-hero h1 {
  margin: 0;
  color: #F6F3EE;
}

.legal {
  width: min(760px, calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) 0 clamp(80px, 10vw, 120px);
}
.legal h2 {
  margin: 2.2em 0 0.6em;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--anthra);
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  margin: 1.4em 0 0.4em;
  font-size: 16px;
  font-weight: 600;
}
.legal p, .legal li { color: var(--ink); }
.legal p { margin: 0 0 1em; }
.legal ul { margin: 0 0 1em; padding-left: 1.2em; }
.legal li { margin: 0 0 0.35em; }
.legal a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.legal a:hover { color: var(--gold); }
.legal .note {
  margin: 0 0 2em;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: #EFE6D4;
  color: var(--ink);
  font-size: 15px;
}
.legal .stand {
  margin-top: 2.5em;
  padding-top: 1em;
  border-top: 1px solid var(--hair);
  color: var(--muted);
  font-size: 15px;
}
