:root {
  --ink: #182019;
  --forest: #26392b;
  --forest-deep: #111713;
  --paper: #f3efe7;
  --paper-warm: #e9e1d3;
  --white: #fffdf8;
  --gold: #d7ae4b;
  --gold-dark: #9d7721;
  --brick: #8c4d38;
  --muted: #696b64;
  --line: rgba(24, 32, 25, .17);
  --max: 1240px;
  --radius: 24px;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: white; padding: 10px; }
.hidden { position: absolute; left: -9999px; }

.site-header {
  min-height: 84px;
  padding: 10px max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
}
.agency-brand { display: flex; align-items: center; text-decoration: none; }
.agency-brand img { width: 250px; height: auto; }
.campaign-label {
  display: flex;
  flex-direction: column;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  line-height: 1.25;
  white-space: nowrap;
}
.campaign-label strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 400; }
.campaign-label span { color: var(--gold-dark); font-size: .69rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.site-header nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.site-header nav a { text-decoration: none; font-size: .9rem; }
.site-header nav a:hover { color: var(--brick); }
.site-header .nav-cta { background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 999px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; margin-left: auto; }

.hero { min-height: 760px; position: relative; display: grid; align-items: end; color: white; }
.hero-media { position: absolute; inset: 0; background: url('assets/images/hero-corte.webp') center 48% / cover no-repeat; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 17, 13, .92) 0%, rgba(12, 17, 13, .68) 48%, rgba(12, 17, 13, .12) 100%),
    linear-gradient(0deg, rgba(12, 17, 13, .55), transparent 55%);
}
.hero-content { position: relative; padding: 115px 0 80px; }
.hero-kicker { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 800; color: #f4d982; display: flex; align-items: center; gap: 10px; }
.hero-kicker span { width: 38px; height: 1px; background: currentColor; }
.hero h1 { font-family: var(--serif); font-size: clamp(3.45rem, 7vw, 7.1rem); font-weight: 400; line-height: .92; letter-spacing: -.055em; max-width: 1040px; margin: 0; }
.hero-copy { max-width: 700px; font-size: 1.18rem; margin: 29px 0; color: rgba(255, 255, 255, .87); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: .8rem; color: rgba(255, 255, 255, .63); margin: 17px 0 0; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 23px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 750; cursor: pointer; }
.button-primary { background: var(--gold); color: var(--ink); }
.button-primary:hover { background: #e5c163; }
.button-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); color: white; }
.button-full { width: 100%; }

.section { padding: 110px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 850; color: var(--gold-dark); margin: 0 0 14px; }
.section h2, .opening h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.65rem, 4.7vw, 5rem); line-height: 1.02; letter-spacing: -.045em; margin: 0; }
.opening-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.opening-copy { font-size: 1.09rem; color: #454a45; }
.opening-copy p:first-child { margin-top: 5px; }

.story { background: var(--forest-deep); color: var(--white); }
.story .eyebrow { color: #e9c86d; }
.section-heading { display: grid; grid-template-columns: 1.28fr .72fr; gap: 70px; align-items: end; margin-bottom: 62px; }
.section-heading > p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.story-heading > p { color: rgba(255, 255, 255, .67); }
.story-chapter { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 540px; border-top: 1px solid rgba(255, 255, 255, .17); }
.story-chapter:last-child { border-bottom: 1px solid rgba(255, 255, 255, .17); }
.story-chapter:nth-of-type(even) .chapter-media { order: 2; }
.chapter-media { min-height: 540px; position: relative; overflow: hidden; background: var(--forest-deep); line-height: 0; }
.chapter-media > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center center; filter: saturate(.82) contrast(1.04); }
.chapter-before .chapter-media > img { filter: grayscale(.35) saturate(.7) contrast(1.08); }
.chapter-content { padding: 74px 70px; display: flex; flex-direction: column; justify-content: center; }
.chapter-number { color: #e9c86d; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.chapter-content h3 { font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 4.35rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 400; margin: 12px 0 21px; }
.chapter-content > p:not(.chapter-number) { color: rgba(255, 255, 255, .71); max-width: 610px; }
.image-source { position: absolute; left: 18px; bottom: 17px; padding: 7px 10px; background: rgba(10, 14, 11, .68); color: rgba(255, 255, 255, .76); font-size: .68rem; border-radius: 999px; }
.history-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.history-stats div { border-top: 1px solid rgba(255, 255, 255, .24); padding-top: 16px; }
.history-stats strong { display: block; color: #efcf76; font-family: var(--serif); font-size: 2.5rem; font-weight: 400; line-height: 1; }
.history-stats span { display: block; color: rgba(255, 255, 255, .58); font-size: .77rem; line-height: 1.35; margin-top: 8px; }
.future-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 14, 11, .35), transparent 55%); pointer-events: none; }
.media-play { position: absolute; z-index: 2; left: 28px; bottom: 28px; border: 1px solid rgba(255, 255, 255, .5); color: white; background: rgba(13, 18, 14, .7); border-radius: 999px; padding: 13px 18px; font-weight: 750; cursor: pointer; }
.media-play span { color: #efcf76; margin-right: 7px; }

.project { background: var(--paper); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.project-card { position: relative; border: 0; padding: 0; background: transparent; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; min-height: 390px; text-align: left; }
.project-card-wide { grid-column: 1 / -1; min-height: 590px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover img { transform: scale(1.018); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 12, 9, .72), transparent 52%); }
.project-card > span { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; color: white; display: flex; align-items: baseline; gap: 14px; }
.project-card small { color: #f0d47e; font-size: .72rem; letter-spacing: .1em; }
.project-card strong { font-family: var(--serif); font-size: 2rem; font-weight: 400; }

.opportunity { background: var(--brick); color: white; padding-bottom: 70px; }
.opportunity .eyebrow { color: #f0d47e; }
.opportunity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.opportunity-copy > p:not(.eyebrow):not(.reserved-price) { color: rgba(255, 255, 255, .72); max-width: 620px; }
.reserved-price { display: inline-flex; margin: 24px 0 0; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px; text-transform: uppercase; font-size: .73rem; letter-spacing: .12em; font-weight: 800; }
.asset-list { border-top: 1px solid rgba(255, 255, 255, .32); }
.asset-list div { display: flex; justify-content: space-between; gap: 30px; padding: 21px 0; border-bottom: 1px solid rgba(255, 255, 255, .32); }
.asset-list span { color: rgba(255, 255, 255, .58); }
.asset-list strong { text-align: right; max-width: 360px; }
.opportunity-note { border-top: 1px solid rgba(255, 255, 255, .23); margin-top: 62px; padding-top: 25px; color: rgba(255, 255, 255, .62); font-size: .84rem; }

.members-window { background: var(--paper-warm); }
.members-window-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.members-window-grid > div:last-child { font-size: 1.06rem; color: #4e514b; }
.legal-inline { font-size: .78rem; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); margin-top: 25px; }

.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; }
.direct-contacts { margin-top: 34px; border-top: 1px solid var(--line); }
.direct-contacts a { display: flex; justify-content: space-between; gap: 20px; text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--line); }
.direct-contacts span { color: var(--muted); font-size: .82rem; }
.direct-contacts strong { text-align: right; font-size: .92rem; overflow-wrap: anywhere; }
.lead-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 35px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label { display: block; font-size: .83rem; font-weight: 750; margin-bottom: 16px; }
.lead-form input, .lead-form select, .lead-form textarea { display: block; width: 100%; margin-top: 7px; border: 1px solid rgba(24, 32, 25, .25); border-radius: 12px; background: #fff; padding: 13px 14px; color: var(--ink); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid rgba(215, 174, 75, .28); border-color: var(--gold-dark); }
.consent { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; }
.consent input { width: auto !important; margin-top: 5px !important; flex: 0 0 auto; }
.consent span { line-height: 1.48; }
.consent a { text-underline-offset: 3px; }
.consent strong { color: var(--brick); }
.consent-optional { margin-top: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.consent-optional em { color: var(--muted); font-style: normal; white-space: nowrap; }
.form-note { font-size: .74rem; color: var(--muted); text-align: center; }

footer { background: #101512; color: rgba(255, 255, 255, .67); padding: 58px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr .35fr; gap: 50px; }
.footer-brand img { width: 265px; filter: invert(1); opacity: .92; }
.footer-grid strong { color: white; }
.footer-grid p { margin: 6px 0; }
.footer-grid a { color: white; text-decoration: none; }
.footer-links a { display: block; margin-bottom: 9px; }
.legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 38px; padding-top: 23px; font-size: .71rem; }

.media-dialog { border: 0; background: #0d110e; padding: 0; max-width: min(1050px, 92vw); border-radius: 18px; overflow: hidden; }
.media-dialog::backdrop { background: rgba(0, 0, 0, .84); }
.media-dialog video, .media-dialog img { display: block; max-width: 90vw; max-height: 84vh; }
.dialog-close { position: absolute; right: 12px; top: 10px; z-index: 3; background: rgba(0, 0, 0, .66); color: white; border: 1px solid rgba(255, 255, 255, .4); width: 38px; height: 38px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.image-dialog { background: transparent; }
.image-dialog img { border-radius: 12px; }

.thank-you { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.thank-you-card { max-width: 760px; }
.thank-you-logo { width: 290px; margin: 0 auto 45px; }
.thank-you-card h1 { font-family: var(--serif); font-size: clamp(2.8rem, 7vw, 5.7rem); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.privacy-page { max-width: 850px; margin: 0 auto; padding: 70px 24px; }
.privacy-logo { width: 270px; margin-bottom: 55px; }
.privacy-page h1, .privacy-page h2 { font-family: var(--serif); font-weight: 400; }
.privacy-alert { background: #fff1be; border: 1px solid #d7ae4b; padding: 18px; border-radius: 12px; }

@media (max-width: 1000px) {
  .agency-brand img { width: 205px; }
  .campaign-label { display: none; }
}

@media (max-width: 900px) {
  .site-header { min-height: 72px; flex-wrap: wrap; padding-block: 12px; }
  .menu-toggle { display: block; }
  .site-header nav { display: none; width: 100%; padding: 14px 0 7px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-header nav.open { display: flex; }
  .hero { min-height: 690px; }
  .hero-content { padding: 100px 0 58px; }
  .opening-grid, .section-heading, .opportunity-grid, .members-window-grid, .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .story-chapter { grid-template-columns: 1fr; }
  .story-chapter:nth-of-type(even) .chapter-media { order: 0; }
  .chapter-media { min-height: 430px; }
  .chapter-content { padding: 55px 36px 65px; }
  .project-card-wide { min-height: 480px; }
  .section { padding: 82px 0; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .agency-brand img { width: 180px; }
  .hero h1 { font-size: 3.55rem; }
  .hero-copy { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .section h2, .opening h2 { font-size: 2.72rem; }
  .chapter-media { min-height: 330px; }
  .chapter-content { padding: 43px 22px 54px; }
  .history-stats, .project-grid, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .project-card, .project-card-wide { min-height: 320px; grid-column: auto; }
  .project-card strong { font-size: 1.55rem; }
  .asset-list div, .direct-contacts a { display: block; }
  .asset-list strong, .direct-contacts strong { display: block; text-align: left; margin-top: 5px; }
  .lead-form { padding: 23px; }
  .footer-brand img { width: 230px; }
  .section { padding: 68px 0; }
}
