/* Bromide - analogue portrait and editorial photographer. Colours and fonts live in :root, change them there. */
:root {
  --paper: #14100e;
  --ink: #ece5da;
  --muted: #8f857a;
  --line: #2c2521;
  --accent: #e0482c;
  --dark: #0b0908;
  --on-dark: #efebe4;
  --print: #fbfaf6;
  --f-head: "Erode", Georgia, serif;
  --w-head: 400;
  --ls-head: -.03em;
  --f-body: "Satoshi", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --gut: clamp(16px, 3.2vw, 48px);
  --max: 1680px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --glow: 0 0 1px rgba(0, 0, 0, .55), 0 1px 18px rgba(0, 0, 0, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--accent); color: var(--print); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }
.label { font: 400 11px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.h1, .h2, .h3, .wind-title, .a-title, .foot-title, .fact-v, .wind-type { font-family: var(--f-head); font-weight: var(--w-head); letter-spacing: var(--ls-head); }
.h1 { font-size: clamp(3rem, 7.4vw, 7.6rem); line-height: .94; }
.h2 { font-size: clamp(2rem, 3.7vw, 3.7rem); line-height: 1.02; }
.h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.1; }
.glow { text-shadow: var(--glow); }
.link { display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 3px; font-weight: 500; }
.link::after { content: ""; width: 12px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.link:hover::after { width: 26px; }

/* pills and round buttons */
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 500; font-size: 15px; position: relative; overflow: hidden; isolation: isolate; transition: color .45s var(--ease); }
.pill::before { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s var(--ease); }
.pill:hover { color: var(--paper); }
.pill:hover::before { transform: scaleY(1); }
.pill-dark { background: var(--ink); color: var(--paper); }
.pill-dark::before { background: var(--accent); }
.pill-light { border-color: var(--print); color: var(--print); }
.pill-light::before { background: var(--print); }
.pill-light:hover { color: var(--dark); }
.round { width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 50%; display: inline-grid; place-items: center; transition: background .3s, color .3s; }
.round:hover { background: var(--ink); color: var(--paper); }

/* ENTRANCE (one for the whole theme): a focal-plane shutter. Each [data-in] block opens top to bottom behind a thin
   red line (the shutter edge); photos inside it are shown as a negative first and turn positive. No fades. */
html.js [data-in] { visibility: hidden; }
html.js [data-in].in-go { visibility: visible; position: relative; animation: shutter .85s var(--ease) both; animation-delay: var(--d, 0s); }
html.js [data-in].in-go::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--accent); pointer-events: none; animation: edge .85s var(--ease) both; animation-delay: var(--d, 0s); z-index: 3; }
html.js [data-in].in-go img, html.js .in-go [data-neg] { animation: positive 1.1s cubic-bezier(.5, 0, .2, 1) both; animation-delay: calc(var(--d, 0s) + .15s); }
html.js .cta-pic.in-go, html.js .w-hero-pic.in-go, html.js .wind-foot.in-go { position: absolute; }
@keyframes shutter { from { clip-path: inset(-.5em -.5em calc(100% + .5em) -.5em); } to { clip-path: inset(-.5em -.5em -.5em -.5em); } }
@keyframes edge { 0% { top: 0; visibility: visible; } 99% { top: 100%; visibility: visible; } 100% { top: 100%; visibility: hidden; } }
@keyframes positive { from { filter: invert(1) sepia(.5) saturate(1.6) hue-rotate(160deg) contrast(.85); } 35% { filter: invert(1) sepia(.5) saturate(1.6) hue-rotate(160deg) contrast(.85); } to { filter: none; } }

/* HOME INTRO: while the prints blow in, nothing else is on screen; the header and the hint enter with the hero text */
html.js body.home:not(.intro-done) .head, html.js body.home:not(.intro-done) .wind-hint { visibility: hidden; }
html.js body.home.intro-done .head, html.js body.home.intro-done .wind-hint { animation: shutter .85s var(--ease) both; }

/* HEADER */
.head { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--gut); transition: background .35s, border-color .35s, color .35s; border-bottom: 1px solid transparent; }
.head.is-scrolled { background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.logo { display: inline-flex; flex-direction: column; line-height: 1.05; }
.logo b { font: var(--w-head) 22px/1 var(--f-head); letter-spacing: -.02em; }
.logo .label { color: var(--muted); margin-top: 4px; }
.head-nav { display: flex; gap: 6px; }
.head-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: background .3s; }
.head-nav a:hover { background: var(--line); }
.head-nav a.is-on { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; height: 40px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; }
.head.on-photo:not(.is-scrolled) { color: var(--print); text-shadow: var(--glow); }
.head.on-photo:not(.is-scrolled) .logo .label { color: inherit; }
.head.on-photo:not(.is-scrolled) .head-nav a:hover { background: rgba(255, 255, 255, .16); }
.head.on-photo:not(.is-scrolled) .head-nav a.is-on { background: var(--print); color: var(--dark); text-shadow: none; }
.head.on-photo:not(.is-scrolled) .menu-btn { border-color: currentColor; }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: 96px var(--gut) 28px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-nav .label { color: var(--muted); }
.menu-t { font: var(--w-head) clamp(2.4rem, 11vw, 4rem)/1 var(--f-head); letter-spacing: var(--ls-head); }
.menu-nav a.is-on .menu-t { color: var(--accent); }
.menu-foot { display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
html.menu-open { overflow: hidden; }
html.menu-open .head { background: var(--paper); color: var(--ink); text-shadow: none; }

/* HOME HERO: prints carried by the wind */
.wind { position: relative; height: 100svh; min-height: 620px; overflow: hidden; --cw: clamp(170px, 17.5vw, 310px); }
.wind-text { position: absolute; inset: 0 0 auto; margin-inline: auto; left: 0; right: 0; padding-top: 104px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; z-index: 5; pointer-events: none; }
.wind-name { max-width: 30rem; pointer-events: auto; }
.wind-kicker { color: var(--muted); margin-bottom: 18px; }
.wind-title { font-size: clamp(2.6rem, 4.6vw, 4.8rem); line-height: .95; }
.wind-intro { margin-top: 14px; max-width: 34ch; color: var(--muted); font-size: 15px; }
.wind-year { margin-top: 14px; }
.wind-type { font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1; text-align: right; }
.wind-stage { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 55%; touch-action: pan-y; cursor: grab; user-select: none; }
.wind-stage.is-drag { cursor: grabbing; }
.print { position: absolute; left: 50%; top: 58%; width: var(--cw); margin-left: calc(var(--cw) / -2); margin-top: calc(var(--cw) * -.66); transform-style: preserve-3d; will-change: transform; -webkit-user-drag: none; }
html.js .print { visibility: hidden; }
html.js .wind.is-live .print { visibility: visible; }
.print-paper { display: block; position: relative; background: var(--print); padding: calc(var(--cw) * .045) calc(var(--cw) * .045) calc(var(--cw) * .13); box-shadow: 0 30px 50px -30px rgba(20, 15, 10, .5), 0 3px 8px rgba(20, 15, 10, .12); backface-visibility: hidden; }
.print img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; pointer-events: none; }
.print-gloss { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, .7) 47%, rgba(255, 255, 255, .15) 55%, transparent 68%); background-size: 260% 100%; background-position: var(--gx, 50%) 0; opacity: var(--g, 0); mix-blend-mode: screen; }
.print.is-center .print-paper { box-shadow: 0 40px 70px -34px rgba(20, 15, 10, .6), 0 3px 10px rgba(20, 15, 10, .14); }
.wind-foot { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; align-items: center; gap: 12px; z-index: 5; }
.wind-view { background: var(--paper); }
.wind-hint { position: absolute; left: var(--gut); bottom: 42px; color: var(--muted); z-index: 5; }

/* CONTACT SHEET */
.sheet { padding-block: clamp(90px, 12vw, 170px) clamp(60px, 8vw, 110px); }
.sheet-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 36px; }
.sheet-text { max-width: 40ch; justify-self: end; color: var(--muted); }
.sheet-strip { background: var(--dark); color: var(--on-dark); display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 14px; padding: clamp(18px, 2.4vw, 34px) clamp(12px, 1.8vw, 26px); }
.frame a { display: flex; flex-direction: column; gap: 8px; }
.frame-edge { display: flex; justify-content: space-between; color: #d99a4e; font-size: 10px; }
.frame-pic { display: block; overflow: hidden; }
.frame-pic img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.frame a:hover .frame-pic img { transform: scale(1.05); }
.frame-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.frame-cap b { font: var(--w-head) 1.2rem/1.1 var(--f-head); }
.frame-cap .label { color: #a59c90; white-space: nowrap; }

/* INTRO */
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 110px); align-items: center; padding-bottom: clamp(90px, 11vw, 170px); }
.intro-pic img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.intro-body { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; max-width: 44rem; }
.intro-body > p { color: var(--muted); max-width: 52ch; }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 18px clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); padding-top: 22px; width: 100%; }
.facts li, .numbers li { display: flex; flex-direction: column; gap: 6px; }
.fact-v { font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; }
.facts .label, .numbers .label { color: var(--muted); }

/* CTA */
.cta { position: relative; min-height: 88svh; display: flex; align-items: flex-end; color: var(--print); overflow: hidden; }
.cta-pic { position: absolute; inset: 0; }
.cta-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cta-pic::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 8, 6, .72), rgba(10, 8, 6, .1) 60%); }
.cta-body { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 100px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.cta-body .h2 { max-width: 18ch; }
.cta-body p { max-width: 46ch; }

/* WORK INDEX */
.index { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 90px); padding-block: 140px clamp(80px, 10vw, 150px); align-items: start; }
.index-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 22px; }
.index-text { color: var(--muted); max-width: 34ch; }
.filter { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 8px; }
.filter button { font: var(--w-head) clamp(1.6rem, 2.4vw, 2.3rem)/1.15 var(--f-head); letter-spacing: var(--ls-head); color: var(--muted); transition: color .3s; }
.filter button sup { font: 400 11px var(--f-mono); margin-left: 6px; vertical-align: super; }
.filter button:hover, .filter button.is-on { color: var(--ink); }
.filter button.is-on sup { color: var(--accent); }
.index-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px clamp(18px, 2.6vw, 40px); }
.card:nth-child(even) { transform: translateY(18vh); }
.index-grid.is-filtered .card { transform: none; }
.index-grid { padding-bottom: 18vh; }
.index-grid.is-filtered { padding-bottom: 0; }
.card[hidden] { display: none; }
.card a { display: flex; flex-direction: column; gap: 12px; }
.card-pic { display: block; overflow: hidden; }
.card-pic img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card a:hover .card-pic img { transform: scale(1.04); }
.card-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-cap b { font: var(--w-head) 1.35rem/1.1 var(--f-head); }
.card-cap .label { color: var(--muted); white-space: nowrap; }

/* WORK PAGE */
.w-hero { position: relative; height: 100svh; min-height: 560px; display: flex; align-items: flex-end; color: var(--print); overflow: hidden; }
.w-hero-pic { position: absolute; inset: 0; }
.w-hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.w-hero-pic::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 8, 6, .75), rgba(10, 8, 6, 0) 58%), linear-gradient(to bottom, rgba(10, 8, 6, .35), transparent 22%); }
.w-hero-body { position: relative; z-index: 2; padding-block: 0 clamp(36px, 5vw, 70px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.w-hero-intro { max-width: 48ch; font-size: 17px; }
.back { display: inline-flex; gap: 6px; align-items: center; }
.w-meta { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 6vw, 110px); padding-block: clamp(70px, 9vw, 140px); }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-self: start; }
.meta div { border-top: 1px solid var(--line); padding: 14px 0 18px; display: flex; flex-direction: column; gap: 4px; }
.meta dt { color: var(--muted); }
.w-text { display: flex; flex-direction: column; gap: 22px; max-width: 52rem; }
.w-text .h2 { margin-bottom: 8px; }
.w-text p { color: var(--muted); max-width: 58ch; font-size: 17px; }
.w-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-bottom: clamp(70px, 9vw, 140px); }
.g { display: flex; flex-direction: column; gap: 10px; }
.g img { width: 100%; object-fit: cover; }
.g figcaption { color: var(--muted); }
.g-1 { grid-column: 1 / span 7; }
.g-1 img { aspect-ratio: 4 / 5; }
.g-2 { grid-column: 9 / span 4; align-self: end; }
.g-2 img { aspect-ratio: 3 / 4; }
.g-3 { grid-column: 3 / span 8; margin-top: clamp(30px, 6vw, 100px); }
.g-3 img { aspect-ratio: 4 / 3; }
.next { border-top: 1px solid var(--line); padding-block: 34px clamp(60px, 7vw, 110px); }
.next-link { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 44px); align-items: center; }
.next-pic { width: clamp(110px, 14vw, 220px); overflow: hidden; display: block; }
.next-pic img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.next-link:hover .next-pic img { transform: scale(1.06); }
.next-text { display: flex; flex-direction: column; gap: 10px; }
.next-text .label { color: var(--muted); }
.next-arrow { transition: transform .45s var(--ease); }
.next-link:hover .next-arrow { transform: translateX(8px); }

/* ABOUT */
.a-hero { padding-top: 150px; padding-bottom: clamp(70px, 9vw, 140px); }
.a-title { font-size: clamp(2.4rem, 5.4vw, 5.6rem); line-height: 1; max-width: 20ch; }
.a-hero-row { display: grid; grid-template-columns: 4fr 4fr 3fr; gap: clamp(18px, 3vw, 44px); margin-top: clamp(40px, 6vw, 90px); align-items: start; }
.a-lede { color: var(--muted); max-width: 38ch; font-size: 17px; }
.a-pic img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.a-pic-2 { margin-top: clamp(60px, 12vw, 200px); }
.path { padding-bottom: clamp(70px, 9vw, 140px); }
.path-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 34px; }
.path-head p { color: var(--muted); max-width: 42ch; justify-self: end; }
.path-row { display: grid; grid-template-columns: 50px 2fr 2fr 4fr 1.4fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); align-items: baseline; }
.path-row:last-child { border-bottom: 1px solid var(--line); }
.path-i { color: var(--accent); }
.path-role { font: var(--w-head) 1.35rem/1.15 var(--f-head); }
.path-where { display: flex; flex-direction: column; gap: 4px; font-weight: 500; }
.path-where .label, .path-text { color: var(--muted); }
.path-years { text-align: right; }
.craft { background: var(--dark); color: var(--on-dark); padding-block: clamp(70px, 9vw, 130px); }
.craft .h2 { margin-bottom: 34px; }
.craft-row { display: flex; gap: 12px; height: min(78svh, 720px); }
.craft-card { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer; transition: flex-grow .8s var(--ease); outline-offset: -2px; }
.craft-card.is-open { flex-grow: 3.2; cursor: default; }
.craft-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.craft-card.is-open img { filter: none; }
.craft-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 8, 6, .8), rgba(10, 8, 6, 0) 60%); }
.craft-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(16px, 2vw, 30px); display: flex; flex-direction: column; gap: 10px; color: var(--print); }
.craft-body .h3 { white-space: nowrap; }
.craft-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.craft-tags span { border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 4px 10px; }
.craft-tags, .craft-text { display: none; }
.craft-card.is-open .craft-tags { display: flex; }
.craft-card.is-open .craft-text { display: block; max-width: 44ch; }
.craft-card.is-open .craft-tags, .craft-card.is-open .craft-text { animation: shutter .7s var(--ease) both .25s; }
.words { padding-block: clamp(80px, 10vw, 150px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 110px); }
.words-head { display: flex; flex-direction: column; gap: 40px; }
.numbers { display: flex; gap: clamp(28px, 4vw, 64px); border-top: 1px solid var(--line); padding-top: 22px; }
.quotes { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 100%; }
.quote { display: none; flex-direction: column; gap: 22px; }
.quote.is-on { display: flex; }
.quote blockquote p { font: var(--w-head) clamp(1.7rem, 2.9vw, 2.9rem)/1.12 var(--f-head); letter-spacing: var(--ls-head); }
.quote figcaption { display: flex; flex-direction: column; gap: 4px; }
.quote figcaption .label { color: var(--muted); }
.quote.is-on blockquote, .quote.is-on figcaption { animation: shutter .75s var(--ease) both; }
.quotes-nav { display: flex; align-items: center; gap: 16px; }

/* SITTINGS */
.s-head { padding-top: 150px; padding-bottom: clamp(50px, 6vw, 90px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.s-text { color: var(--muted); max-width: 44ch; justify-self: end; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); padding-bottom: clamp(70px, 9vw, 130px); }
.offer { display: flex; flex-direction: column; gap: 22px; }
.offer:nth-child(2) { margin-top: clamp(30px, 6vw, 90px); }
.offer-pic img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.offer-body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.offer-body > .label { color: var(--muted); }
.offer-price b { font: var(--w-head) 2.6rem/1 var(--f-head); letter-spacing: var(--ls-head); }
.offer-list { width: 100%; border-top: 1px solid var(--line); }
.offer-list li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.offers-note { grid-column: 1 / -1; color: var(--muted); }
.steps { padding-bottom: clamp(70px, 9vw, 130px); }
.steps .h2 { margin-bottom: 34px; }
.steps-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 36px); }
.steps-list li { border-top: 1px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.steps-list .label { color: var(--accent); }
.steps-list p { color: var(--muted); }
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 90px); padding-bottom: clamp(80px, 10vw, 150px); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; cursor: pointer; font: var(--w-head) clamp(1.25rem, 1.8vw, 1.6rem)/1.2 var(--f-head); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item i { width: 14px; height: 14px; position: relative; flex: none; }
.faq-item i::before, .faq-item i::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.faq-item i::after { transform: rotate(90deg); }
.faq-item[open] i::after { transform: rotate(0); }
.faq-item p { color: var(--muted); padding-bottom: 22px; max-width: 60ch; }
.faq-item[open] p { animation: shutter .6s var(--ease) both; }

/* CONTACT */
.c-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 110px); padding-block: 150px clamp(80px, 10vw, 150px); align-items: start; }
.c-side { display: flex; flex-direction: column; gap: 26px; }
.c-text { color: var(--muted); max-width: 40ch; }
.c-pic { width: min(100%, 300px); }
.c-pic img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.c-info { display: flex; flex-direction: column; }
.c-info div { border-top: 1px solid var(--line); padding: 14px 0; display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.c-info dt { color: var(--muted); }
.c-info dd { display: flex; flex-direction: column; }
.c-info a:hover { color: var(--accent); }
.form { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 110px; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { color: var(--muted); margin-bottom: 12px; padding: 0; float: left; width: 100%; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chips span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; transition: background .3s, color .3s, border-color .3s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field .label { color: var(--muted); }
.field input, .field textarea { font: 400 18px/1.4 var(--f-body); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 8px 0 10px; border-radius: 0; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field.is-bad input, .field.is-bad textarea { border-bottom-color: var(--accent); }
.field-err { color: var(--accent); font-size: 13px; }
.form-msg { min-height: 1.5em; color: var(--muted); }
.form-msg.is-bad { color: var(--accent); }
.form .pill { align-self: flex-start; }

/* 404 */
.nf { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 110px); align-items: center; padding-block: 140px clamp(80px, 10vw, 140px); min-height: 90svh; }
.nf-pic img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.nf-body { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.nf-body > .label { color: var(--accent); }
.nf-body > p { color: var(--muted); }

/* FOOTER */
.foot { background: var(--dark); color: var(--on-dark); padding-top: clamp(70px, 9vw, 130px); }
.foot-top { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 6vw, 110px); }
.foot-lead { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.foot-title { font-size: clamp(2.4rem, 4.8vw, 4.8rem); line-height: 1; }
.foot-word { color: #d99a4e; display: inline-block; }
.foot-word.is-swap { animation: shutter .7s var(--ease) both; }
.foot-note { color: #a59c90; max-width: 46ch; }
.foot-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.foot .pill { border-color: rgba(239, 235, 228, .35); }
.foot .pill::before { background: var(--on-dark); }
.foot .pill:hover { color: var(--dark); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-self: end; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col .label { color: #a59c90; margin-bottom: 8px; }
.foot-col a { width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.foot-col a:hover { background-size: 100% 1px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: clamp(60px, 8vw, 110px); padding-block: 22px 26px; border-top: 1px solid rgba(239, 235, 228, .14); color: #a59c90; }
.foot-bottom .logo b { font-size: 18px; color: var(--on-dark); }

.to-top { position: fixed; right: var(--gut); bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; visibility: hidden; transform: translateY(90px); transition: transform .5s var(--ease), visibility 0s .5s, background .3s; }
.to-top.is-on { visibility: visible; transform: none; transition: transform .5s var(--ease), visibility 0s, background .3s; }
.to-top:hover { background: var(--accent); }
.copied { position: fixed; z-index: 60; left: 0; top: 0; background: var(--ink); color: var(--paper); padding: 6px 10px; border-radius: 999px; pointer-events: none; visibility: hidden; }
.copied.is-on { visibility: visible; animation: shutter .4s var(--ease) both; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .path-row { grid-template-columns: 40px 2fr 2fr 1.2fr; }
  .path-text { grid-column: 2 / -1; grid-row: 2; }
  .steps-list { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .sheet-strip { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .head-nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .wind { --cw: clamp(150px, 44vw, 260px); min-height: 640px; }
  .wind-text { flex-direction: column; gap: 6px; padding-top: 92px; }
  .wind-type { text-align: left; font-size: 1.3rem; order: -1; display: none; }
  .wind-intro { font-size: 14px; margin-top: 10px; }
  .wind-kicker { margin-bottom: 12px; }
  .print { top: 58%; }
  .wind-hint { display: none; }
  .sheet-head, .path-head, .s-head { grid-template-columns: 1fr; }
  .sheet-text, .path-head p, .s-text { justify-self: start; }
  .sheet-strip { grid-template-columns: 1fr 1fr; }
  .intro, .w-meta, .words, .faq, .c-wrap, .nf, .foot-top, .index { grid-template-columns: 1fr; }
  .intro-pic { max-width: 460px; }
  .index { padding-top: 120px; }
  .index-side { position: static; }
  .filter { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; }
  .index-grid { grid-template-columns: 1fr 1fr; padding-bottom: 12vh; }
  .card:nth-child(even) { transform: translateY(12vh); }
  .w-gallery { grid-template-columns: 1fr 1fr; gap: 14px; }
  .g-1 { grid-column: 1 / -1; }
  .g-2 { grid-column: 1 / -1; width: 70%; justify-self: end; }
  .g-3 { grid-column: 1 / -1; margin-top: 0; }
  .a-hero, .s-head { padding-top: 120px; }
  .a-hero-row { grid-template-columns: 1fr 1fr; }
  .a-lede { grid-column: 1 / -1; }
  .a-pic-2 { margin-top: 30%; }
  .craft-row { flex-direction: column; height: auto; }
  .craft-card { flex: none; height: 92vw; max-height: 560px; }
  .craft-card .craft-tags { display: flex; }
  .craft-card .craft-text { display: block; }
  .craft-card img { filter: none; }
  .craft-body .h3 { white-space: normal; }
  .offers { grid-template-columns: 1fr; }
  .offer { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
  .offer:nth-child(2) { margin-top: 0; }
  .c-wrap { padding-top: 120px; }
  .form { position: static; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .index-grid { grid-template-columns: 1fr; gap: 44px; padding-bottom: 0; }
  .card:nth-child(even) { transform: none; }
  .path-row { grid-template-columns: 30px 1fr; gap: 8px 12px; }
  .path-where, .path-text, .path-years { grid-column: 2; grid-row: auto; text-align: left; }
  .steps-list { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .fact-v { font-size: 1.9rem; }
  .c-info div { grid-template-columns: 1fr; gap: 4px; }
  .next-link { grid-template-columns: auto 1fr; }
  .next-arrow { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .sheet-strip { gap: 24px 10px; }
  .frame-cap { flex-direction: column; gap: 4px; }
  .frame-cap b { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-in].in-go, html.js [data-in].in-go::after, html.js [data-in].in-go img { animation: none; }
}
