@import url('./assets/brand/tokens.css');

@font-face {
  font-family: 'Outfit';
  src: url('./assets/fonts/outfit-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--color-bg); color: var(--color-ink); font: 400 18px/1.55 var(--font-brand); -webkit-font-smoothing: antialiased; }
::selection { background: var(--color-gold); color: var(--color-bg); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 6px; border-radius: 3px; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
p { text-wrap: pretty; }
.shell { width: min(var(--page-max), calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-180%); z-index: 20; padding: 12px 20px; background: var(--color-gold); color: var(--color-bg); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 112px; border-bottom: 1px solid var(--color-line); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand-logo { --logo-width: 206px; width: var(--logo-width); flex-shrink: 0; display: inline-flex; align-items: center; gap: .42105263em; font-size: calc(var(--logo-width) * .158004158); color: var(--color-ink); text-decoration: none; }
.brand-logo img { width: 1.05263158em; height: .7368421em; flex-shrink: 0; }
.brand-wordmark { font-family: var(--font-brand); font-size: 1em; font-weight: 780; font-kerning: none; font-synthesis: none; letter-spacing: -.01842105em; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { text-decoration: none; color: #d1d0ca; font-size: 15px; padding-block: 12px; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--color-gold); }
.eyebrow { font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: .25em; text-transform: uppercase; color: var(--color-gold); }
.hero { display: grid; grid-template-columns: 1fr 270px; align-items: end; gap: 40px; padding: 72px 0 74px; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(46px, 5.35vw, 78px); line-height: 1.06; letter-spacing: -.052em; }
.hero h1 span { display: block; color: #b8b7b1; }
.hero-aside { padding-bottom: 4px; }
.hero-aside p { margin-bottom: 24px; color: #d7d5ce; line-height: 1.55; }
.text-link { color: var(--color-gold); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; font-size: 17px; }
.text-link:hover { color: var(--color-gold-hover); }
.arrow { display: inline-block; font-family: Arial, sans-serif; font-weight: 400; transition: transform .2s ease; }
a:hover .arrow { transform: translate(2px, -2px); }
a:hover .arrow.down { transform: translateY(3px); }
.section-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.section-heading h2 { color: #dfded8; font-size: 11px; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; }
.section-count { color: var(--color-muted); font-size: 11px; letter-spacing: .15em; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-card { position: relative; border: 1px solid var(--color-line); border-radius: var(--radius-card); overflow: hidden; background: var(--color-bg); text-decoration: none; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.project-card:hover { border-color: #82704e; transform: translateY(-3px); }
.project-card:focus-visible { outline-offset: 4px; }
.project-art { position: relative; overflow: hidden; aspect-ratio: 1.6; background: var(--color-surface); }
.project-art > img { width: 100%; height: 100%; object-fit: cover; }
.project-copy { padding: 26px 30px 28px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.project-copy .eyebrow { font-size: 10px; letter-spacing: .23em; margin-bottom: 9px; }
.project-copy h3 { font-size: clamp(28px, 2.8vw, 38px); }
.project-copy > p:not(.eyebrow) { color: #cfcec8; margin-top: 10px; font-size: 17px; }
.project-copy .text-link { margin-top: auto; padding-top: 17px; }
.featured { grid-column: 1 / -1; min-height: 510px; display: block; isolation: isolate; }
.featured .project-art { position: absolute; inset: 0 0 0 auto; width: 70%; height: 100%; aspect-ratio: auto; z-index: -2; }
.featured .project-art img { object-fit: cover; object-position: 50% 65%; }
.featured::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #111214 0%, #111214 30%, rgba(17,18,20,.92) 34%, rgba(17,18,20,.35) 45%, transparent 61%); }
.featured .project-copy { padding: 66px 40px 44px; width: 42%; min-height: 510px; }
.featured .project-copy .eyebrow { margin-bottom: 26px; }
.featured h3 { font-size: clamp(38px, 4vw, 57px); }
.featured .project-copy > p:not(.eyebrow) { max-width: 310px; font-size: 20px; margin-top: 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; background: var(--color-gold); color: var(--color-bg); border: 1px solid transparent; border-radius: var(--radius-control); padding: 13px 24px; min-height: 48px; text-decoration: none; font-size: 16px; font-weight: 500; transition: background .2s; }
.button:hover, .project-card:hover .button { background: var(--color-gold-hover); }
.featured .button { margin-top: auto; }
.button-secondary { background: transparent; color: var(--color-ink); border-color: var(--color-line); }
.button-secondary:hover { background: var(--color-surface-raised); }
.map-art > img { object-position: 50% 38%; }
.app-icon { position: absolute; top: 22px; left: 24px; width: 88px; height: 88px; border: 1px solid #535164; border-radius: 20px; box-shadow: 0 6px 22px #0004; }
.app-icon img { width: 100%; border-radius: inherit; }
.map-credit { position: absolute; bottom: 10px; left: 12px; max-width: calc(100% - 24px); background: #111214de; border-radius: 4px; padding: 4px 8px; color: #e0e0de; font-size: 10px; line-height: 1.4; }
.support-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 0; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); margin-top: 64px; }
.support-strip h2 { font-size: 32px; letter-spacing: -.035em; }
.support-strip .text-link { font-size: 16px; }
.site-footer { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--color-muted); font-size: 13px; }
.footer-signature { display: flex; align-items: center; gap: 14px; }
.footer-signature img { width: 25px; height: 18px; }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links a { text-decoration: none; padding-block: 10px; }
.footer-links a:hover { color: var(--color-gold); }

/* Product pages share the portfolio's artwork, grid, and type scale. */
.detail-main { padding-top: 38px; }
.back-link { display: inline-flex; align-items: center; gap: 12px; color: var(--color-muted); font-size: 14px; text-decoration: none; padding-block: 8px; }
.back-link:hover { color: var(--color-gold); }
.detail-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; margin: 50px 0 38px; }
.detail-heading h1 { font-size: clamp(46px, 6vw, 78px); margin-top: 14px; }
.detail-heading .lede { font-size: 24px; color: #c8c7c1; max-width: 520px; }
.detail-art { margin: 0; overflow: hidden; border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-surface); }
.detail-art > img { width: 100%; object-fit: cover; object-position: 50% 50%; }
.detail-art.fish-art > img { object-position: 50% 46%; }
.detail-art figcaption { padding: 10px 18px; font-size: 12px; color: var(--color-muted); }
.detail-art.flock-art { position: relative; }
.detail-art.flock-art > img { height: 440px; object-position: 50% 40%; }
.detail-art .app-icon { width: 100px; height: 100px; }
.detail-section { padding: 60px 0; border-bottom: 1px solid var(--color-line); display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr); gap: 64px; }
.detail-section h2 { font-size: 32px; }
.prose { max-width: 730px; color: #c8c7c1; }
.prose p + p { margin-top: 20px; }
.prose a { color: var(--color-gold); }
.feature-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-list li { padding-top: 16px; border-top: 1px solid var(--color-line); font-size: 14px; color: var(--color-muted); }
.feature-list strong { display: block; color: var(--color-ink); font-size: 22px; margin-bottom: 5px; font-weight: 500; }
.faq-list { width: 100%; }
.faq-list details { border-bottom: 1px solid var(--color-line); }
.faq-list details:first-child { border-top: 1px solid var(--color-line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; padding: 20px 0; color: var(--color-ink); font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--color-gold); font-size: 24px; line-height: 1; flex-shrink: 0; font-weight: 300; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { color: #bdbdb7; margin: 0 38px 24px 0; font-size: 16px; max-width: 680px; }
.faq-list a { color: var(--color-gold); }
.detail-contact { margin-top: 48px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-card); padding: 38px 40px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.detail-contact h2 { font-size: 30px; margin-bottom: 12px; }
.detail-contact p { font-size: 16px; color: var(--color-muted); max-width: 560px; }
.detail-contact + .related-link { margin: 28px 0 52px; }
.related-link { display: flex; justify-content: flex-end; }
.detail-footer { border-top: 1px solid var(--color-line); margin-top: 44px; }
.page-heading { padding: 72px 0 52px; max-width: 850px; }
.page-heading h1 { font-size: clamp(46px, 6vw, 78px); margin: 18px 0 22px; }
.page-heading > p:last-child { color: var(--color-muted); font-size: 22px; max-width: 650px; }
.faq-page { max-width: 900px; margin: 0 0 72px; }
.not-found { padding-block: 100px; max-width: 750px; }
.not-found h1 { font-size: 64px; margin: 20px 0; }
.not-found p { color: var(--color-muted); margin-bottom: 32px; }

/* The public brand guide is also the reusable identity reference. */
.brand-hero { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-card); min-height: 330px; display: grid; place-items: center; padding: 60px; position: relative; }
.brand-hero > img { width: min(600px, 100%); }
.brand-hero > span { position: absolute; left: 28px; bottom: 22px; color: var(--color-muted); font-size: 12px; }
.brand-section { padding-block: 60px; border-bottom: 1px solid var(--color-line); }
.brand-section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; margin-bottom: 32px; }
.brand-section-heading h2 { font-size: 34px; }
.brand-section-heading p { color: var(--color-muted); max-width: 650px; }
.brand-lockups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.logo-sample { padding: 38px; border-radius: var(--radius-card); border: 1px solid var(--color-line); background: var(--color-surface); }
.logo-sample.light { background: var(--color-ink); color: var(--color-bg); }
.logo-sample img { width: 100%; max-width: 470px; height: 110px; object-fit: contain; margin: 12px auto 30px; }
.logo-sample p { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.swatch { border: 1px solid var(--color-line); border-radius: 8px; overflow: hidden; }
.swatch-color { height: 130px; background: var(--swatch-color); }
.swatch-info { padding: 15px; }
.swatch-info strong { font-weight: 500; display: block; }
.swatch-info code { color: var(--color-muted); font-size: 12px; }
.type-sample { padding: 34px; border: 1px solid var(--color-line); border-radius: var(--radius-card); }
.type-sample .display { font-size: clamp(40px, 6vw, 76px); font-weight: 600; letter-spacing: -.045em; margin-block: 16px; line-height: 1.05; }
.type-sample .alphabet { color: var(--color-muted); font-size: 23px; overflow-wrap: anywhere; }
.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.rules-grid h3 { font-size: 22px; margin-bottom: 14px; }
.rules-grid p { font-size: 16px; color: var(--color-muted); }
.brand-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.brand-story { max-width: 850px; font-size: 28px; color: #c8c7c1; letter-spacing: -.02em; }
.brand-story strong { color: var(--color-ink); font-weight: 500; }
.asset-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; font-size: 16px; color: var(--color-gold); }

@media (min-width: 1500px) { .hero h1 { font-size: 82px; } }
@media (max-width: 1120px) {
  .shell { width: calc(100% - 72px); }
  .hero { grid-template-columns: 1fr 215px; gap: 24px; }
  .hero h1 { font-size: clamp(43px, 5.25vw, 62px); }
  .hero-aside p, .hero-aside .text-link { font-size: 15px; }
  .featured, .featured .project-copy { min-height: 450px; }
  .featured .project-copy { width: 47%; padding: 48px 30px 34px; }
  .featured .project-copy > p:not(.eyebrow) { font-size: 18px; max-width: 270px; }
  .featured::after { background: linear-gradient(90deg, #111214 0%, #111214 30%, #111214e8 35%, #11121466 47%, transparent 65%); }
  .project-copy { padding: 24px; }
  .project-copy > p:not(.eyebrow) { font-size: 16px; }
  .detail-contact { grid-template-columns: 1fr; gap: 24px; }
  .detail-section, .brand-section-heading { gap: 40px; }
}
@media (max-width: 900px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 88px; gap: 18px; }
  .brand-logo { --logo-width: 167px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding: 46px 0 48px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .2em; margin-bottom: 19px; }
  .hero h1 { font-size: clamp(39px, 7.9vw, 61px); }
  .hero-aside { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
  .hero-aside p { margin: 0; font-size: 16px; }
  .hero-aside .text-link { font-size: 14px; gap: 7px; }
  .section-heading { margin-bottom: 16px; }
  .project-grid { grid-template-columns: 1fr; gap: 22px; }
  .featured { display: flex; min-height: auto; }
  .featured .project-art { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1.5; z-index: 0; }
  .featured .project-art img { object-position: center; }
  .featured::after { display: none; }
  .featured .project-copy { width: 100%; min-height: auto; padding: 26px; }
  .featured .project-copy .eyebrow { margin-bottom: 10px; }
  .featured h3 { font-size: 36px; }
  .featured .project-copy > p:not(.eyebrow) { max-width: 390px; margin-top: 12px; font-size: 17px; }
  .featured .button { margin-top: 24px; }
  .project-copy { padding: 25px 26px; }
  .project-copy h3 { font-size: 32px; }
  .project-art { aspect-ratio: 1.5; }
  .support-strip { margin-top: 44px; padding-block: 30px; }
  .support-strip h2 { font-size: 28px; }
  .support-strip .text-link { font-size: 14px; gap: 8px; }
  .site-footer { min-height: 112px; gap: 18px; flex-wrap: wrap; padding-block: 25px; }
  .site-footer p { font-size: 12px; }
  .footer-links { gap: 22px; }
  .detail-heading { grid-template-columns: 1fr; gap: 24px; margin-top: 35px; }
  .detail-heading h1 { font-size: 54px; }
  .detail-heading .lede { font-size: 22px; }
  .detail-section { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .detail-section h2 { font-size: 29px; }
  .detail-art > img { height: auto; }
  .detail-contact { padding: 28px 25px; margin-top: 36px; }
  .page-heading { padding: 48px 0 38px; }
  .page-heading > p:last-child { font-size: 20px; }
  .brand-section { padding-block: 42px; }
  .brand-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .brand-lockups { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .swatch-color { height: 100px; }
  .rules-grid { grid-template-columns: 1fr; }
  .brand-hero { min-height: 260px; padding: 40px 24px; }
  .brand-story { font-size: 23px; }
}
@media (max-width: 420px) {
  .shell { width: calc(100% - 32px); }
  .site-header { flex-wrap: wrap; justify-content: center; gap: 0; padding: 18px 0 10px; }
  .brand-logo { --logo-width: 180px; }
  .site-nav { width: 100%; justify-content: center; gap: 30px; margin-top: 8px; }
  .hero h1 { font-size: 39px; }
  .hero-aside { display: block; }
  .hero-aside .text-link { margin-top: 18px; font-size: 16px; }
  .featured h3 { font-size: 34px; }
  .support-strip { align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer-signature { gap: 10px; }
  .feature-list { gap: 12px; }
  .feature-list strong { font-size: 19px; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .project-card:hover, a:hover .arrow { transform: none; }
}
