:root {
  --ink: #111111;
  --ink-2: #1a1a1a;
  --ink-3: #272727;
  --paper: #f6f3ec;
  --paper-2: #ece7dd;
  --white: #ffffff;
  --gold: #b39a5d;
  --gold-light: #d0bd88;
  --muted: #6e6a63;
  --line: rgba(17, 17, 17, 0.13);
  --line-dark: rgba(255, 255, 255, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --container: 1180px;
  --header: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 18px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 9999;
  background: var(--white); color: var(--ink); padding: 10px 14px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 120px 0; }
main section[id] { scroll-margin-top: calc(var(--header) + 18px); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header);
  display: flex; align-items: center;
  background: rgba(13, 13, 13, .18); border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
  backdrop-filter: blur(8px);
}
.site-header.scrolled { background: rgba(13, 13, 13, .96); border-color: var(--line-dark); height: 72px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 255px; flex: 0 0 auto; }
.brand img, .footer-brand img { filter: invert(1); }
.main-nav { display: flex; align-items: center; gap: 32px; color: rgba(255,255,255,.8); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.main-nav a { position: relative; transition: color .2s ease; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 1px; background: var(--gold); transition: width .2s ease; }
.main-nav > a:hover, .main-nav > a.active { color: var(--white); }
.main-nav > a:hover::after, .main-nav > a.active::after { width: 100%; }
.nav-cta { border: 1px solid rgba(255,255,255,.35); padding: 11px 16px; }
.nav-cta:hover { border-color: var(--gold); }
.menu-toggle { display: none; width: 42px; height: 42px; background: transparent; border: 1px solid var(--line-dark); padding: 10px; }
.menu-toggle span { display: block; height: 1px; background: white; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden;
  color: var(--white); background:
    radial-gradient(circle at 70% 30%, rgba(179,154,93,.15), transparent 28%),
    linear-gradient(110deg, #0b0b0b 0%, #171717 55%, #0d0d0d 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.10) 68%, rgba(0,0,0,.32)); pointer-events: none; }
.hero-content { position: relative; z-index: 3; padding-top: 110px; padding-bottom: 120px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 600; color: var(--gold); }
.eyebrow::before, .section-kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hero h1 { max-width: 850px; margin: 26px 0 26px; font-family: var(--serif); font-weight: 500; font-size: clamp(58px, 7vw, 105px); line-height: .93; letter-spacing: -.045em; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-copy { max-width: 650px; margin: 0; color: rgba(255,255,255,.7); font-size: 17px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 22px; border: 1px solid transparent; font-size: 13px; font-weight: 600; letter-spacing: .04em; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #0c0c0c; }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: white; }
.hero-scroll { position: absolute; left: 50%; bottom: 28px; z-index: 4; transform: translateX(-50%); display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.55); text-transform: uppercase; font-size: 10px; letter-spacing: .18em; }
.hero-scroll i { width: 48px; height: 1px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: scrollLine 2.4s infinite; }
@keyframes scrollLine { 0%,25%{transform:translateX(-100%)} 70%,100%{transform:translateX(100%)} }
.hero-side-note { position: absolute; z-index: 3; right: 18px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%); font-size: 9px; letter-spacing: .24em; color: rgba(255,255,255,.28); }

.hero-architecture { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .9; }
.column { position: absolute; bottom: -100px; width: 140px; height: 78%; border-radius: 70px 70px 4px 4px; background: repeating-linear-gradient(90deg, #111 0 14px, #232323 14px 26px, #0c0c0c 26px 37px); box-shadow: inset 12px 0 28px rgba(255,255,255,.025), 0 0 55px rgba(0,0,0,.55); transform: perspective(1000px) rotateX(1deg); }
.column::before { content: ""; position: absolute; left: -24px; right: -24px; top: 0; height: 28px; border-radius: 8px; background: linear-gradient(#292929, #111); box-shadow: 0 24px 0 #161616, 0 48px 0 #0d0d0d; }
.column-1 { right: -30px; height: 94%; width: 190px; }
.column-2 { right: 170px; height: 82%; width: 155px; opacity: .88; }
.column-3 { right: 330px; height: 69%; width: 125px; opacity: .62; }
.column-4 { right: 475px; height: 58%; width: 100px; opacity: .35; }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 230px 1fr; gap: 70px; align-items: start; }
.section-title { font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 5vw, 68px); line-height: 1.02; letter-spacing: -.032em; margin: 22px 0 34px; }
.intro-copy { max-width: 760px; columns: 2; column-gap: 45px; color: var(--muted); }
.intro-copy p { margin-top: 0; break-inside: avoid; }

.practice { background: var(--ink); color: var(--white); }
.practice .section-title { max-width: 760px; }
.section-heading { display: grid; grid-template-columns: 1fr 320px; gap: 70px; align-items: end; margin-bottom: 60px; }
.section-aside { margin: 0 0 38px; color: rgba(255,255,255,.55); font-size: 14px; }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.practice-card { position: relative; min-height: 345px; padding: 34px 28px 38px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background .25s ease, transform .25s ease; overflow: hidden; }
.practice-card::after { content: "↗"; position: absolute; right: 24px; bottom: 18px; font-size: 20px; color: transparent; transform: translate(-10px, 10px); transition: .25s ease; }
.practice-card:hover { background: #1c1c1c; transform: translateY(-5px); }
.practice-card:hover::after { color: var(--gold); transform: translate(0,0); }
.card-number { display: block; color: var(--gold); font-family: var(--serif); font-size: 18px; margin-bottom: 82px; }
.practice-card h3 { font-family: var(--serif); font-weight: 600; font-size: 29px; line-height: 1.05; margin: 0 0 18px; }
.practice-card p { margin: 0; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.7; }

.manifesto { background: #efebe3; }
.manifesto-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 86px; align-items: center; }
.monogram-card { position: relative; min-height: 610px; background: linear-gradient(145deg, #171717, #0b0b0b); display: grid; place-items: center; overflow: hidden; }
.monogram-card::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(179,154,93,.20); border-radius: 50%; }
.monogram-card::after { content: ""; position: absolute; width: 370px; height: 370px; border: 1px solid rgba(179,154,93,.12); border-radius: 50%; }
.monogram-card img { width: 64%; filter: invert(72%) sepia(23%) saturate(713%) hue-rotate(6deg) brightness(90%) contrast(88%); position: relative; z-index: 1; }
.manifesto-content .section-title { max-width: 680px; }
.principles { margin-top: 50px; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 54px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.principle > span { color: var(--gold); font-family: var(--serif); }
.principle h3 { margin: 0 0 5px; font-size: 16px; font-weight: 600; }
.principle p { margin: 0; color: var(--muted); font-size: 14px; }

.cta-band { background: var(--gold); color: var(--ink); padding: 60px 0; }
.cta-band .section-kicker { color: rgba(17,17,17,.65); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(36px, 4vw, 54px); line-height: 1; font-weight: 700; }

.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.contact-copy > p { max-width: 520px; color: var(--muted); }
.contact-list { margin-top: 48px; border-top: 1px solid var(--line); }
.contact-list a { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 2px; }
.contact-list strong { font-weight: 500; }
.contact-form { background: var(--white); padding: 42px; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 24px 70px rgba(41,35,27,.06); }
.contact-form label { display: block; margin-bottom: 22px; }
.contact-form label > span:first-child { display: block; margin-bottom: 7px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, textarea, select { width: 100%; border: 0; border-bottom: 1px solid #cfc9be; background: transparent; border-radius: 0; padding: 11px 0 12px; outline: none; color: var(--ink); }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-bottom-color: var(--gold); }
.consent { display: grid !important; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.consent input { width: 16px; height: 16px; margin-top: 5px; accent-color: var(--gold); }
.consent span { margin: 0 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; line-height: 1.5; color: var(--muted) !important; }
.form-submit { border: 0; width: 100%; }
.form-note { font-size: 11px; color: #878076; margin: 12px 0 0; }

.site-footer { background: #0f0f0f; color: var(--white); }
.map-wrap { height: 380px; filter: grayscale(1) contrast(1.08) brightness(.72); }
.map-wrap iframe { width: 100%; height: 100%; display: block; }
.footer-main { padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 70px; }
.footer-brand img { width: 300px; }
.footer-brand p { color: rgba(255,255,255,.48); max-width: 320px; margin-top: 22px; }
.footer-block h3 { color: var(--gold); text-transform: uppercase; font-size: 11px; letter-spacing: .14em; margin: 0 0 18px; }
.footer-block p, .footer-block a { display: block; margin: 0 0 8px; color: rgba(255,255,255,.62); font-size: 14px; }
.footer-block a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.34); font-size: 11px; }

.floating-contact { position: fixed; z-index: 900; right: 22px; bottom: 22px; height: 54px; display: flex; align-items: center; gap: 10px; border: 0; background: #1c1c1c; color: white; padding: 0 20px; box-shadow: 0 14px 40px rgba(0,0,0,.25); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.floating-contact:hover { transform: translateY(-3px); background: #262626; }
.floating-contact svg { width: 21px; height: 21px; fill: var(--gold-light); }
.floating-contact span { font-size: 12px; font-weight: 600; letter-spacing: .04em; }

.contact-modal { position: fixed; inset: 0; z-index: 2000; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.contact-modal.open { visibility: visible; opacity: 1; }
.contact-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.contact-modal-panel { position: absolute; right: 0; top: 0; height: 100%; width: min(520px, 100%); background: var(--paper); padding: 78px 48px 40px; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); overflow-y: auto; }
.contact-modal.open .contact-modal-panel { transform: translateX(0); }
.modal-close { position: absolute; right: 24px; top: 18px; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); font-size: 28px; line-height: 1; cursor: pointer; }
.contact-modal h2 { font-family: var(--serif); font-size: 46px; line-height: 1; margin: 20px 0 14px; }
.contact-modal > p, .contact-modal-panel > p { color: var(--muted); }
.modal-options { margin-top: 36px; border-top: 1px solid var(--line); }
.modal-options a { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: color .2s ease; }
.modal-options a:hover { color: var(--gold); }
.modal-options span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.modal-options strong { font-size: 14px; font-weight: 500; text-align: right; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .main-nav { gap: 20px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-grid { gap: 50px; }
  .monogram-card { min-height: 520px; }
  .contact-grid { gap: 55px; }
}

@media (max-width: 840px) {
  :root { --header: 72px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 86px 0; }

  /* Mobile header/menu: the dropdown is anchored to the bottom of the fixed
     header. Using absolute instead of fixed avoids mobile-browser issues
     caused by backdrop-filter creating a containing block for fixed children. */
  .site-header,
  .site-header.scrolled {
    height: var(--header);
    overflow: visible;
  }
  .header-inner { height: 100%; }
  .brand { width: 225px; }
  .menu-toggle { display: block; position: relative; z-index: 1003; cursor: pointer; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 1002;
    width: 100vw;
    max-height: calc(100vh - var(--header));
    max-height: calc(100dvh - var(--header));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #101010;
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 22px 50px rgba(0,0,0,.38);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 10px 20px 22px;
    gap: 0;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .24s ease, visibility .2s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .main-nav > a {
    display: flex;
    align-items: center;
    min-height: 52px;
    width: 100%;
    flex: 0 0 auto;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .main-nav > a.active { color: var(--gold-light); }
  .main-nav .nav-cta {
    justify-content: center;
    min-height: 48px;
    margin-top: 14px;
    padding: 12px 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.28);
  }
  .menu-toggle.open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2){ opacity: 0; }
  .menu-toggle.open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: 780px; }
  .hero h1 { max-width: 680px; }
  .hero-architecture { opacity: .55; }
  .column-1 { right: -70px; }
  .column-2 { right: 80px; }
  .column-3 { right: 220px; }
  .column-4 { display: none; }
  .intro-grid, .manifesto-grid, .contact-grid, .section-heading { grid-template-columns: 1fr; gap: 36px; }
  .intro-copy { columns: 1; }
  .section-aside { margin: 0; max-width: 620px; }
  .monogram-card { min-height: 420px; }
  .cta-band-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 72px 0; }
  .brand { width: 190px; }
  .hero { min-height: 720px; }
  .hero-content { padding-top: 100px; padding-bottom: 100px; }
  .hero h1 { font-size: clamp(50px, 15vw, 68px); }
  .hero-copy { font-size: 15px; max-width: calc(100% - 18px); }
  .hero-side-note { display: none; }
  .hero-scroll { left: 14px; transform: none; }
  .column-1 { right: -92px; width: 165px; }
  .column-2 { right: 48px; width: 120px; opacity: .55; }
  .column-3 { display: none; }
  .section-title { font-size: 42px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: 285px; }
  .card-number { margin-bottom: 48px; }
  .monogram-card { min-height: 330px; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .map-wrap { height: 320px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .floating-contact { width: 54px; padding: 0; justify-content: center; border-radius: 50%; }
  .floating-contact span { display: none; }
  .contact-modal-panel { padding: 70px 24px 32px; }
  .contact-modal h2 { font-size: 40px; }
  .modal-options a { display: block; }
  .modal-options strong { display: block; text-align: left; margin-top: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
