/* =============================================================
   IRENE CASALS — Fotografía · Barcelona
   Archetype: Dark gallery (warm near-black, cream type, amber)
   The photographs are the design. Everything else steps back.
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --bg:    #110f0d;
  --bg-2:  #191613;
  --bg-3:  #231f1b;
  --ink:   #eee7db;
  --ink-2: #c9c0b1;
  --mute:  #8b8274;
  --amber: #d9a441;
  --line:  rgba(238, 231, 219, 0.12);
  --line-2:rgba(238, 231, 219, 0.24);

  --display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans:    "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono:    "DM Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 3.4vw, 44px);
  --maxw: 1440px;
  --demo-h: 30px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Reset & base ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--demo-h) + var(--nav-h) + 16px); background: var(--bg); }
body { font-family: var(--sans); font-size: 16.5px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; padding-top: var(--demo-h); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--amber); }
::selection { background: var(--amber); color: var(--bg); }
:focus-visible { outline: 1.5px solid var(--amber); outline-offset: 3px; }

/* 3. Utilities ------------------------------------------------- */
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .6rem 1rem; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.mute { color: var(--mute); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 48ch; }

.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 26px; border: 1px solid var(--ink); border-radius: 999px; font-size: 14.5px; font-weight: 500; letter-spacing: .02em; transition: background .35s var(--ease), color .35s, border-color .35s; }
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--bg); }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--bg); }
.btn-amber:hover { background: var(--ink); border-color: var(--ink); }
.btn .ar { transition: transform .4s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.link { position: relative; font-size: 14.5px; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform-origin: right; transform: scaleX(0); transition: transform .5s var(--ease); }
.link:hover::after { transform-origin: left; transform: scaleX(1); }

/* Demo bar */
.demo-bar { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--demo-h); display: flex; align-items: center; justify-content: center; padding: 0 12px; background: var(--amber); color: var(--bg); font-size: 12px; white-space: nowrap; overflow: hidden; }
.demo-bar > span { overflow: hidden; text-overflow: ellipsis; }
.demo-bar b { font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.demo-long { display: none; }
@media (min-width: 720px) { .demo-long { display: inline; } }

/* 4. Nav ------------------------------------------------------- */
.nav { position: fixed; left: 0; right: 0; top: var(--demo-h); z-index: 50; height: var(--nav-h); transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled, .nav.solid { background: rgba(17, 15, 13, .9); border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(10px)) { .nav.is-scrolled, .nav.solid { background: rgba(17,15,13,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.nav-inner { height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-family: var(--display); font-size: 26px; line-height: 1; letter-spacing: -.01em; }
.logo i { color: var(--amber); }
.logo small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }
.nav-links { display: none; gap: 30px; }
.nav-links a { font-size: 14px; color: var(--ink-2); transition: color .3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::before { content: "● "; color: var(--amber); font-size: 8px; vertical-align: 2px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-right .btn { display: none; min-height: 42px; padding: 0 18px; font-size: 13.5px; }
.burger { width: 46px; height: 46px; display: grid; place-content: center; gap: 7px; }
.burger span { width: 26px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 49; background: var(--bg); padding: calc(var(--demo-h) + var(--nav-h) + 24px) var(--gutter) 30px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
.menu a.big { display: block; font-family: var(--display); font-size: clamp(2.8rem, 13vw, 4.2rem); line-height: 1.05; }
.menu a.big:hover { color: var(--amber); font-style: italic; }

/* 5. Custom cursor (only with a fine pointer) ----------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
.cursor .ring { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(238,231,219,.6); border-radius: 50%; display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s; }
.cursor .ring span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .2s; }
.cursor.is-view .ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--amber); border-color: var(--amber); }
.cursor.is-view .ring span { opacity: 1; }
.cursor.is-link .ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--amber); }

/* 6. HERO slideshow (signature) -------------------------------- */
.hero { position: relative; height: calc(100svh - var(--demo-h)); min-height: 560px; overflow: hidden; background: #000; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.is-active img { animation: kenburns 8s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0,0,0); } to { transform: scale(1) translate3d(-1.5%, -1%, 0); } }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 48%, rgba(10,8,6,.88) 100%); }
.hero-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: clamp(24px, 4vw, 48px); }
.hero h1 { font-size: clamp(3.2rem, 10.5vw, 10rem); line-height: .9; letter-spacing: -.035em; max-width: 12ch; }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: block; }
.js .hero h1 .ln > span { transform: translateY(105%); transition: transform 1.3s var(--ease); transition-delay: var(--d, 0ms); }
.js .is-loaded .hero h1 .ln > span { transform: none; }
.hero-bottom { margin-top: clamp(22px, 3vw, 36px); display: grid; gap: 20px; align-items: end; }
.hero-bottom p { color: var(--ink-2); max-width: 42ch; }
.hero-meta { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.hero-meta .count { color: var(--ink); }
.hero-meta .count b { color: var(--amber); font-weight: 400; }
.dots { display: flex; gap: 6px; }
.dots button { width: 34px; height: 20px; position: relative; }
.dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: rgba(238,231,219,.28); }
.dots button::after { content: ""; position: absolute; left: 0; top: 50%; height: 1.5px; width: 0; background: var(--ink); }
.dots button.is-active::after { animation: fill 6s linear forwards; }
.dots button.is-done::after { width: 100%; }
@keyframes fill { to { width: 100%; } }
.exif { font-family: var(--mono); font-size: 11.5px; color: var(--mute); letter-spacing: .04em; }

/* 7. Intro ----------------------------------------------------- */
.intro { display: grid; gap: 36px; align-items: end; }
.intro .big { font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.08; letter-spacing: -.02em; max-width: 22ch; }
.intro .big em { font-style: italic; color: var(--amber); }
.intro-side { display: grid; gap: 18px; color: var(--ink-2); max-width: 44ch; }
.clients { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--display); font-size: 1.4rem; font-style: italic; color: var(--mute); }

/* 8. Series (featured) ---------------------------------------- */
.series-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(24px, 4vw, 44px); flex-wrap: wrap; }
.series-head h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.series { display: grid; gap: clamp(14px, 2vw, 26px); }
.serie { position: relative; display: block; overflow: hidden; align-self: start; }
.serie .ph { overflow: hidden; }
.serie img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.9); }
.serie:hover img { transform: scale(1.05); filter: saturate(1.05); }
.serie .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 0 0; background: var(--bg); }
.serie .cap h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); transition: color .3s; }
.serie:hover .cap h3 { color: var(--amber); font-style: italic; }
.serie .cap span { font-family: var(--mono); font-size: 11.5px; color: var(--mute); text-transform: uppercase; }
.s1 .ph { aspect-ratio: 4 / 5; } .s2 .ph { aspect-ratio: 4 / 3; } .s3 .ph { aspect-ratio: 1; } .s4 .ph { aspect-ratio: 16 / 10; }

/* Horizontal strip ------------------------------------------- */
.strip { display: flex; gap: 12px; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.strip figure { flex: none; height: clamp(260px, 40vw, 440px); scroll-snap-align: start; position: relative; }
.strip img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.strip figcaption { position: absolute; left: 10px; bottom: 10px; font-family: var(--mono); font-size: 11px; color: var(--ink); background: rgba(17,15,13,.7); padding: 4px 8px; }

/* Quote ------------------------------------------------------- */
.quote { text-align: center; max-width: 980px; margin-inline: auto; }
.quote p { font-family: var(--display); font-style: italic; font-size: clamp(1.8rem, 4.2vw, 3.4rem); line-height: 1.15; }
.quote footer { margin-top: 20px; font-family: var(--mono); font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.quote-nav { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.quote-nav button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink-2); }
.quote-nav button[aria-current="true"] { background: var(--amber); border-color: var(--amber); }
.q-item { display: none; }
.q-item.is-active { display: block; animation: fadeIn .9s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }

/* Services teaser --------------------------------------------- */
.svc-list { border-top: 1px solid var(--line-2); }
.svc-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .5s var(--ease); }
.svc-row:hover { padding-left: 14px; }
.svc-row h3 { font-size: clamp(1.9rem, 4vw, 3.2rem); transition: color .3s; }
.svc-row:hover h3 { color: var(--amber); font-style: italic; }
.svc-row .pr { font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.svc-row p { grid-column: 1 / -1; color: var(--mute); font-size: 15px; max-width: 60ch; }
.svc-row .peek { display: none; }

/* CTA --------------------------------------------------------- */
.cta { position: relative; overflow: hidden; min-height: 70svh; display: grid; place-items: center; text-align: center; padding: 80px var(--gutter); isolation: isolate; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(17,15,13,.35), rgba(17,15,13,.9)); }
.cta h2 { font-size: clamp(3rem, 9vw, 8rem); line-height: .92; }
.cta p { margin: 18px auto 30px; color: var(--ink-2); max-width: 42ch; }

/* 9. Portfolio page ------------------------------------------- */
.page-head { padding-top: calc(var(--nav-h) + clamp(36px, 6vw, 80px)); padding-bottom: clamp(24px, 4vw, 44px); }
.page-head h1 { font-size: clamp(3.4rem, 11vw, 9rem); line-height: .9; letter-spacing: -.035em; margin: 14px 0 18px; }
.filters { position: sticky; top: calc(var(--demo-h) + var(--nav-h)); z-index: 30; background: rgba(17,15,13,.92); border-block: 1px solid var(--line); margin-bottom: 24px; }
@supports (backdrop-filter: blur(10px)) { .filters { background: rgba(17,15,13,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.filters .wrap { display: flex; gap: 6px; align-items: center; overflow-x: auto; overflow-y: visible; scrollbar-width: none; padding-block: 12px; }
.filters .wrap::-webkit-scrollbar { display: none; }
.filters button { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); transition: all .3s; }
.filters button sup { font-family: var(--mono); font-size: 10px; margin-left: 3px; color: var(--mute); }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters button[aria-pressed="true"] sup { color: var(--bg); }
.masonry { columns: 1; column-gap: 14px; }
.work { break-inside: avoid; margin-bottom: 14px; display: block; width: 100%; text-align: left; position: relative; overflow: hidden; background: var(--bg-2); }
.work[hidden] { display: none; }
.work img { width: 100%; transition: transform 1.2s var(--ease), opacity .6s; }
.work:hover img { transform: scale(1.035); }
.work .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(10,8,6,.85)); display: flex; justify-content: space-between; align-items: end; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.work:hover .info, .work:focus-visible .info { opacity: 1; transform: none; }
.work .info b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.work .info span { font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); text-transform: uppercase; }
.js .work.is-entering { animation: workIn .7s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes workIn { from { opacity: 0; transform: translateY(18px); } }

/* Lightbox ---------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: #0a0908; display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s; }
.lb-top, .lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px var(--gutter); }
.lb-top .mono { color: var(--ink-2); }
.lb-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 22px; line-height: 1; }
.lb-close:hover { background: var(--ink); color: var(--bg); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .35s, transform .45s var(--ease); }
.lb-stage img.is-swapping { opacity: 0; transform: scale(.985); }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(17,15,13,.55); font-size: 22px; display: none; }
.lb-arrow:hover { background: var(--ink); color: var(--bg); }
.lb-prev { left: var(--gutter); } .lb-next { right: var(--gutter); }
.lb-bottom h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.lb-bottom .exif { text-align: right; }

/* 10. Services page ------------------------------------------ */
.packs { display: grid; gap: 16px; }
.pack { border: 1px solid var(--line-2); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; transition: border-color .4s, background .4s; position: relative; }
.pack:hover { border-color: var(--amber); }
.pack.featured { background: var(--bg-2); border-color: var(--amber); }
.pack .tag { position: absolute; top: -11px; left: 24px; background: var(--amber); color: var(--bg); padding: 3px 10px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; }
.pack .ph { aspect-ratio: 16 / 10; overflow: hidden; margin: -4px 0 4px; }
.pack .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pack:hover .ph img { transform: scale(1.04); }
.pack h2 { font-size: 2.2rem; }
.pack .price { font-family: var(--display); font-size: 3.2rem; line-height: 1; }
.pack .price small { font-family: var(--mono); font-size: 12px; color: var(--mute); margin-left: 6px; }
.pack ul { display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.pack li { display: flex; gap: 10px; }
.pack li::before { content: "—"; color: var(--amber); }
.pack .btn { margin-top: auto; align-self: flex-start; }
.process { display: grid; gap: 0; border-top: 1px solid var(--line-2); counter-reset: p; }
.process li { counter-increment: p; display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.process li::before { content: "0" counter(p); font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--amber); font-style: italic; }
.process h3 { font-size: 1.7rem; margin-bottom: 4px; }
.process p { color: var(--ink-2); font-size: 15.5px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--amber); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding-bottom: 20px; color: var(--ink-2); max-width: 68ch; }

/* 11. Contact / quote form ------------------------------------ */
.contact { display: grid; gap: 36px; align-items: start; }
.form { display: grid; gap: 22px; }
.form[hidden] { display: none; }
.form-row { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; }
.field > label, .field legend { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; font-family: var(--display); font-size: 1.45rem; -webkit-appearance: none; appearance: none; border-radius: 0; transition: border-color .3s; }
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23eee7db' stroke-width='1.4'/></svg>"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.field select option { background: var(--bg-2); color: var(--ink); font-family: var(--sans); font-size: 16px; }
.field textarea { min-height: 110px; resize: vertical; font-size: 1.25rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--amber); }
.field.is-invalid input { border-bottom-color: #e2765f; }
.field .err { font-family: var(--mono); font-size: 11.5px; color: #e2765f; min-height: 1em; }
.field input::-webkit-calendar-picker-indicator { filter: invert(.9); }
fieldset.field { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; cursor: pointer; transition: all .25s; }
.chips label:hover { border-color: var(--ink); }
.chips input:checked + label { background: var(--amber); border-color: var(--amber); color: var(--bg); }
.chips input:focus-visible + label { outline: 1.5px solid var(--amber); outline-offset: 2px; }
.estimate { border: 1px solid var(--amber); padding: 20px 22px; display: grid; gap: 6px; background: rgba(217,164,65,.06); }
.estimate b { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; }
.estimate small { color: var(--ink-2); font-size: 14px; }
.success { display: none; gap: 14px; }
.success.is-visible { display: grid; }
.success h2 { font-size: clamp(2.4rem, 6vw, 4rem); }
.contact-side { display: grid; gap: 22px; }
.contact-side .ph { aspect-ratio: 2 / 3; overflow: hidden; max-width: 380px; }
.contact-side .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.contact-side dl { display: grid; gap: 12px; border-top: 1px solid var(--line-2); padding-top: 16px; }
.contact-side dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.contact-side dd { font-family: var(--display); font-size: 1.4rem; }
.avail { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--ink-2); }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: #7fb069; box-shadow: 0 0 0 4px rgba(127,176,105,.18); }

/* About (index) ---------------------------------------------- */
.about { display: grid; gap: 36px; align-items: center; }
.about .ph { aspect-ratio: 2 / 3; overflow: hidden; max-width: 460px; }
.about .ph img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 12px 0 20px; }
.about p { color: var(--ink-2); max-width: 52ch; }
.about p + p { margin-top: 1em; }
.gear { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.gear dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--mute); }
.gear dd { font-size: 15px; }

/* Credits */
.credits li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; font-size: 14.5px; color: var(--ink-2); }
.credits strong { font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--ink); }
.credits a { color: var(--amber); }

/* 12. Footer -------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(50px, 7vw, 100px); }
.foot-big { font-family: var(--display); font-size: clamp(2.6rem, 9vw, 8.4rem); line-height: .95; letter-spacing: -.03em; display: block; }
.foot-big em { font-style: italic; color: var(--amber); }
.foot-big:hover em { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 10px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 40px; }
.foot-grid h2 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); margin-bottom: 10px; }
.foot-grid li, .foot-grid p { font-size: 15px; color: var(--ink-2); }
.foot-grid a:hover { color: var(--amber); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 16px 0 28px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--mute); letter-spacing: .04em; }
.foot-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* 13. Reveal -------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js [data-reveal="img"] { opacity: 1; transform: none; clip-path: inset(12% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js [data-reveal="img"].is-revealed { clip-path: inset(0 0 0 0); }
.reveal-all [data-reveal], .reveal-all .hero h1 .ln > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.reveal[data-split] { opacity: 1; transform: none; }
@view-transition { navigation: auto; }

/* 14. Responsive ---------------------------------------------- */
@media (min-width: 540px) {
  .masonry { columns: 2; }
  .form-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .hero-bottom { grid-template-columns: 1fr auto; }
  .series { grid-template-columns: repeat(12, 1fr); }
  .s1 { grid-column: 1 / span 5; grid-row: span 2; }
  .s2 { grid-column: 6 / span 7; }
  .s3 { grid-column: 6 / span 3; }
  .s4 { grid-column: 9 / span 4; align-self: end; }
  .packs { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: repeat(4, 1fr); }
  .lb-arrow { display: grid; place-items: center; }
  .lb-stage { padding: 0 calc(var(--gutter) + 72px); }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-right .btn { display: inline-flex; }
  .burger, .menu { display: none; }
  .intro { grid-template-columns: 1.3fr 1fr; gap: 72px; }
  .masonry { columns: 3; }
  .about { grid-template-columns: 1fr 1.2fr; gap: 80px; }
  .contact { grid-template-columns: 1.5fr 1fr; gap: 72px; }
  .contact-side { position: sticky; top: calc(var(--demo-h) + var(--nav-h) + 30px); }
  .svc-row { grid-template-columns: 1fr auto; }
}
@media (min-width: 1280px) { .masonry { columns: 4; } }

/* 15. Reduced motion — only intrusive bits ------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide.is-active img { animation-duration: 20s; }
}
