/* dylanbush.me — Field Notes. Tokens and rationale: _brand/DESIGN.md */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-100-900.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #F2EEE3; --paper-2: #E8E2D3; --ink: #1B1B1B; --ink-2: #3A352E; --muted: #5B5348;
  --orange: #FF6123; --orange-deep: #A93A0B; --orange-soft: #FFD9C7; --orange-light: #FF9466;
  --on-ink: #F2EEE3; --on-ink-2: #C9C2B4; --ok: #2F6B3A;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 6px; --rule: 1.5px solid var(--ink); --hair: 1px solid rgb(27 27 27 / .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1280px; --gut: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-deep); }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 12px 16px; }
.skip:focus { left: 8px; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Display type */
.display { font-weight: 850; font-stretch: 78%; font-size: clamp(50px, 6.6vw, 94px); line-height: .94; letter-spacing: -.035em; }
.h2 { font-weight: 850; font-stretch: 80%; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -.03em; }
.h3 { font-weight: 800; font-stretch: 85%; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.body { color: var(--ink-2); max-width: 65ch; }
.body p + p { margin-top: 1em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--r); font: 700 16px/1 var(--sans); text-decoration: none; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .16s, color .16s, transform .16s var(--ease); }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--paper); color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .55; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header + collar */
.site-head { position: sticky; top: 0; z-index: 50; background: rgb(242 238 227 / .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-weight: 900; font-stretch: 112%; font-size: 21px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; font-weight: 500; font-size: 15px; text-decoration: none; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 2px; background: var(--orange); }
.nav .btn { min-height: 44px; margin-left: 10px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; }
.collar { border-bottom: var(--hair); }
.collar .wrap { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-block: 9px; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: var(--r); background: transparent; color: var(--ink); cursor: pointer; }
  .head-cta { display: inline-flex !important; min-height: 44px !important; padding: 0 14px !important; font-size: 14px !important; }
  .head-right { display: flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 20px; background: var(--paper); border-bottom: var(--rule); }
  .nav.is-open { display: flex; }
  .nav a { min-height: 52px; padding: 0; font-size: 19px; border-bottom: var(--hair); }
  .nav a[aria-current="page"]::after { left: 0; right: auto; width: 28px; bottom: 10px; }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-bottom: 1.5px solid var(--orange); }
  .collar .wrap span:nth-child(2) { display: none; }
}
@media (min-width: 901px) { .head-cta { display: none !important; } .head-right { display: contents; } }

/* Hero */
.hero { position: relative; overflow: hidden; }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #C9783F; stroke-opacity: .38; stroke-width: 1; pointer-events: none; }
.contours path { stroke-dasharray: 2400; stroke-dashoffset: 0; animation: draw 1.4s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 2400; } }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: end; padding-block: 72px 64px; }
.hero .lede { margin-top: 26px; }
.hero .actions { margin-top: 34px; }
.plate { margin: 0; border: var(--rule); padding: 10px; background: var(--paper); }
.plate img { width: 100%; height: auto; }
.plate figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px 0; }
.page-hero { background: url("../images/contours.svg") right -120px top -80px / 1100px auto no-repeat; border-bottom: var(--rule); }
.page-hero .wrap { padding-block: 64px 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.page-hero .display { font-size: clamp(48px, 7vw, 96px); }
@media (max-width: 900px) {
  .hero .wrap, .page-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 44px 44px; }
}

/* Proof line */
.proof { background: var(--ink); color: var(--on-ink); }
.proof .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; padding-block: 22px; }
.proof .mono { color: var(--on-ink-2); }
.proof span:not(.mono) { font-weight: 700; font-stretch: 90%; font-size: 18px; letter-spacing: -.01em; }

/* Sections */
.section { padding-block: 104px; }
.section--tight { padding-block: 72px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; }
.split .body, .split .lede { margin-top: 18px; }
@media (max-width: 900px) { .section { padding-block: 72px; } .split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Legend */
.legend { list-style: none; margin: 0; padding: 0; border-bottom: var(--rule); }
.legend a { display: grid; grid-template-columns: 52px minmax(0, 1fr) 148px; gap: 24px; align-items: center; padding: 24px 0; border-top: var(--rule); text-decoration: none; }
.legend a:hover { color: var(--ink); background: linear-gradient(var(--paper-2), var(--paper-2)) no-repeat; }
.legend svg { width: 40px; height: 40px; color: var(--orange-deep); }
.legend .h3 { display: flex; align-items: center; gap: 10px; }
.legend .h3 svg { width: 22px; height: 22px; color: var(--ink); transition: transform .16s var(--ease); }
.legend a:hover .h3 svg { transform: translateX(4px); }
.legend p { color: var(--ink-2); margin-top: 4px; }
.legend img { width: 148px; height: 96px; object-fit: cover; border: 1px solid var(--ink); }
@media (max-width: 640px) { .legend a { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; } .legend img { display: none; } .legend svg { width: 32px; height: 32px; } }

/* Route band */
.band-orange { background: var(--orange); color: var(--ink); }
.route { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.route::before { content: ""; position: absolute; left: 11px; right: 11px; top: 11px; height: 3px; background: var(--ink); }
.route li { position: relative; padding-top: 44px; }
.route li::before { content: ""; position: absolute; left: 0; top: 0; width: 25px; height: 25px; border-radius: 50%; background: var(--orange); border: 3px solid var(--ink); }
.route li.now::before { background: var(--ink); box-shadow: 0 0 0 5px var(--orange), 0 0 0 7px var(--ink); }
.route .mono { color: var(--ink); opacity: .85; }
.route strong { display: block; margin-top: 6px; font-weight: 850; font-stretch: 85%; font-size: 24px; line-height: 1.1; letter-spacing: -.02em; }
.route p { margin-top: 8px; font-size: 16px; }
@media (max-width: 900px) {
  .route { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .route::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .route li { padding: 0 0 0 48px; }
}

/* Selected plates */
.plates-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.plates-grid a { position: relative; display: block; text-decoration: none; }
.plates-grid img { width: 100%; height: 100%; object-fit: cover; }
.plates-grid figure { margin: 0; height: 100%; display: flex; flex-direction: column; }
.plates-grid figure > div { flex: 1; min-height: 0; overflow: hidden; border: 1px solid var(--ink); }
.plates-grid figcaption { padding-top: 8px; }
.plates-grid img { transition: transform .5s var(--ease); }
.plates-grid a:hover img { transform: scale(1.03); }
.p-a { grid-column: span 7; height: 520px; } .p-b { grid-column: span 5; height: 520px; }
.p-c { grid-column: span 4; height: 400px; } .p-d { grid-column: span 4; height: 400px; } .p-e { grid-column: span 4; height: 400px; }
@media (max-width: 900px) { .plates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .p-a { grid-column: span 2; height: 280px; } .p-b, .p-c, .p-d, .p-e { grid-column: span 1; height: 240px; } .p-e { display: none; } }

/* Ink band: video */
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-ink .body, .band-ink .lede { color: var(--on-ink-2); }
.band-ink .mono { color: var(--on-ink-2); }
.band-ink a:hover { color: var(--orange-light); }
.band-ink .btn { border-color: var(--on-ink); color: var(--on-ink); }
.band-ink .btn:hover { background: var(--on-ink); color: var(--ink); }
.band-ink .btn--primary { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.reel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 44px; }
.reel-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgb(242 238 227 / .3); }
.reel-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgb(242 238 227 / .3); }
.reel-list strong { font-weight: 700; font-size: 18px; }
@media (max-width: 900px) { .reel { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Video players (click to load) */
.player { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; color: var(--ink); }
.player img, .player video { width: 100%; height: 100%; object-fit: cover; }
.player .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; transition: transform .16s var(--ease); }
.player:hover .play { transform: scale(1.06); }
.player .play svg { width: 28px; height: 28px; margin-left: 4px; fill: var(--ink); }
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.videos .first { grid-column: 1 / -1; }
.videos figure { margin: 0; }
.videos figcaption { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-top: 14px; border-top: 0; }
.videos figcaption strong { font-weight: 800; font-stretch: 88%; font-size: 22px; letter-spacing: -.015em; }
@media (max-width: 760px) { .videos { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Offers (CSN) */
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: var(--rule); }
.offers li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 26px 24px 26px 0; border-bottom: var(--hair); }
.offers li:nth-child(odd) { border-right: var(--hair); }
.offers li:nth-child(even) { padding-left: 24px; }
.offers svg { width: 32px; height: 32px; color: var(--orange-deep); }
.offers strong { display: block; font-weight: 800; font-stretch: 88%; font-size: 21px; letter-spacing: -.015em; }
.offers p { color: var(--ink-2); font-size: 16px; margin-top: 4px; }
@media (max-width: 760px) { .offers { grid-template-columns: minmax(0, 1fr); } .offers li:nth-child(odd) { border-right: 0; } .offers li:nth-child(even) { padding-left: 0; } }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border: var(--rule); }
.ways > div { padding: 26px; }
.ways > div + div { border-left: var(--rule); }
.ways strong { display: block; font-weight: 850; font-stretch: 82%; font-size: 26px; letter-spacing: -.02em; margin-top: 8px; }
@media (max-width: 760px) { .ways { grid-template-columns: minmax(0, 1fr); } .ways > div + div { border-left: 0; border-top: var(--rule); } }

/* FAQ */
.faq { border-top: var(--rule); }
.faq details { border-bottom: var(--hair); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .tog { flex: none; width: 32px; height: 32px; border-radius: var(--r); background: var(--orange); display: grid; place-items: center; transition: transform .16s var(--ease); }
.faq summary .tog svg { width: 18px; height: 18px; }
.faq details[open] .tog { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 60ch; }

/* Final CTA */
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-block: 104px; }
.cta .h2 span { display: block; color: #4F1A04; }
.cta p { font-size: 18px; max-width: 30em; }
.cta .actions { margin-top: 24px; }
.cta .btn { border-color: var(--ink); }
@media (max-width: 900px) { .cta .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 72px; } }

/* Footer */
.site-foot { background: var(--ink); color: var(--on-ink); }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-block: 64px 40px; }
.site-foot p { color: var(--on-ink-2); max-width: 32em; margin-top: 12px; }
.site-foot .wordmark { color: var(--on-ink); }
.site-foot h2 { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-light); }
.site-foot ul { list-style: none; margin: 10px 0 0; padding: 0; }
.site-foot li a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; }
.site-foot a:hover { color: var(--orange-light); }
.site-foot .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 1px solid rgb(242 238 227 / .2); color: var(--on-ink-2); }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-foot .wrap > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-foot .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.site-foot li a, .aside-list span { overflow-wrap: anywhere; }

/* Photography index */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: var(--r); background: transparent; font: 600 15px/1 var(--sans); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filters button span { font-family: var(--mono); font-weight: 400; font-size: 12px; margin-left: 6px; opacity: .75; }
.index { columns: 4 260px; column-gap: 14px; margin-top: 36px; }
.index figure { break-inside: avoid; margin: 0 0 18px; }
.index a { display: block; text-decoration: none; }
.index img { width: 100%; height: auto; border: 1px solid var(--ink); background: var(--paper-2); }
.index figcaption { display: flex; justify-content: space-between; padding-top: 6px; }
.index [hidden] { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: none; grid-template-rows: auto minmax(0, 1fr) auto; background: rgb(27 27 27 / .96); color: var(--on-ink); }
.lightbox.is-open { display: grid; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gut); }
.lb-bar .mono { color: var(--on-ink-2); }
.lb-stage { display: grid; place-items: center; padding: 0 var(--gut); min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .6); }
.lb-nav { display: flex; justify-content: center; gap: 12px; padding: 14px; }
.lightbox button { width: 48px; height: 48px; display: grid; place-items: center; border: 1.5px solid rgb(242 238 227 / .5); border-radius: var(--r); background: transparent; color: var(--on-ink); cursor: pointer; }
.lightbox button:hover { border-color: var(--orange); color: var(--orange-light); }
.lightbox svg { width: 22px; height: 22px; }

/* Gear */
.kit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.kit section { padding-top: 8px; }
.kit h2 { font-weight: 850; font-stretch: 82%; font-size: 30px; letter-spacing: -.02em; padding-bottom: 14px; border-bottom: var(--rule); margin-top: 40px; }
.kit ul { list-style: none; margin: 0; padding: 0; }
.kit li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: var(--hair); }
.kit li .mono { flex: none; text-align: right; }
.kit li span:first-child { min-width: 0; }
@media (max-width: 760px) { .kit { grid-template-columns: minmax(0, 1fr); } }

/* About */
.roles { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.roles li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; padding: 22px 0; border-bottom: var(--hair); }
.roles strong { font-weight: 800; font-stretch: 88%; font-size: 21px; letter-spacing: -.015em; display: block; }
.roles p { color: var(--ink-2); }
@media (max-width: 640px) { .roles li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Contact form */
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #FBF9F4; font: 400 17px/1.4 var(--sans); color: var(--ink); }
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange-deep); box-shadow: 0 0 0 3px var(--orange-soft); }
.field [aria-invalid="true"] { border-color: #B42318; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #B42318; }
.aside-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: var(--rule); }
.aside-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: var(--hair); }
.aside-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--orange-deep); }
.split--form { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 900px) { .split--form { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .form .row { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
