/* Evergrey Photography — site styles */
:root {
  --ink: #1b2420;
  --forest: #2d3b33;
  --moss: #5e6e60;
  --sage: #9aa79a;
  --mist: #e7e9e3;
  --paper: #f6f4ef;
  --white: #fffefb;
  --sand: #c4a275;
  --sand-2: #e9dcc7;
  --line: rgba(27, 36, 32, .13);
  --line-light: rgba(255, 255, 255, .18);
  --shadow: 0 30px 60px -30px rgba(20, 28, 24, .35);
  --radius: 18px;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-color: var(--sand); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 12px; top: 12px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--sand); }
p { margin: 0 0 1.1em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font: 600 .74rem/1 var(--sans);
  letter-spacing: .28em; text-transform: uppercase; color: var(--moss); margin-bottom: 22px; line-height: 1.6;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: var(--sand-2); }
.lead { font-size: 1.16rem; color: #3a4640; max-width: 62ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 90px) 0; }
.bg-mist { background: var(--mist); }
.bg-ink { background: var(--ink); color: #e9ece6; }
.bg-ink a:hover { color: #fff; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* grain */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 16px 30px;
  border-radius: 999px; border: 1px solid var(--bg); background: var(--bg); color: var(--fg);
  font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--sand); z-index: -1;
  transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit;
}
.btn:hover { color: var(--ink); border-color: var(--sand); }
.btn:hover::before { transform: translateY(0); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn.light { --bg: #fff; --fg: var(--ink); border-color: #fff; }
.btn.ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.6); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.text-link { font: 600 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--sand); padding-bottom: 6px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; transition: background .4s, transform .45s var(--ease), box-shadow .4s, color .4s;
  color: var(--ink);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1400px; }
.site-header.over-hero { color: #fff; }
.site-header.scrolled { background: rgba(246, 244, 239, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.site-header.hide { transform: translateY(-100%); }
body.nav-open .site-header { transform: none; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; z-index: 3; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo-text { font: 500 1.55rem/1 var(--serif); letter-spacing: .02em; }
.logo-text small { display: block; font: 600 .56rem/1 var(--sans); letter-spacing: .38em; text-transform: uppercase; opacity: .7; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 10px 12px; font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: inherit;
}
.main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav .nav-cta { margin-left: 10px; border: 1px solid currentColor; border-radius: 999px; padding: 12px 20px; }
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }

.nav-toggle {
  display: none; position: relative; z-index: 3; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%;
  background: transparent; cursor: pointer; color: inherit; padding: 0;
}
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease); }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 10px) 28px 40px;
  clip-path: circle(0% at calc(100% - 52px) 39px); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s linear .7s; overflow-y: auto;
}
.mobile-nav.open { clip-path: circle(150% at calc(100% - 52px) 39px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { overflow: hidden; border-bottom: 1px solid var(--line-light); }
.mobile-nav a.m-link {
  display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; text-decoration: none; color: #fff;
  font: 500 clamp(1.9rem, 8vw, 2.6rem)/1.1 var(--serif);
  transform: translateY(110%); transition: transform .6s var(--ease);
}
.mobile-nav a.m-link small { font: 600 .66rem/1 var(--sans); letter-spacing: .2em; color: var(--sand); }
.mobile-nav.open a.m-link { transform: none; }
.mobile-nav.open li:nth-child(2) a { transition-delay: .05s; }
.mobile-nav.open li:nth-child(3) a { transition-delay: .1s; }
.mobile-nav.open li:nth-child(4) a { transition-delay: .15s; }
.mobile-nav.open li:nth-child(5) a { transition-delay: .2s; }
.mobile-nav.open li:nth-child(6) a { transition-delay: .25s; }
.mobile-nav.open li:nth-child(7) a { transition-delay: .3s; }
.mobile-nav.open li:nth-child(8) a { transition-delay: .35s; }
.mobile-nav.open li:nth-child(9) a { transition-delay: .4s; }
.mobile-nav .m-foot { margin-top: 30px; font-size: .9rem; color: var(--sage); opacity: 0; transition: opacity .5s .4s; }
.mobile-nav.open .m-foot { opacity: 1; }
.mobile-nav .m-foot a { color: var(--sand-2); }

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: #fff; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--ink);
}
.hero-slides, .hero-slides figure { position: absolute; inset: 0; margin: 0; }
.hero-slides figure { opacity: 0; transition: opacity 1.8s ease; }
.hero-slides figure.active { opacity: 1; }
.hero-slides img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero-slides figure.active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(1%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,20,18,.55) 0%, rgba(15,20,18,.12) 35%, rgba(15,20,18,.7) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(60px, 10vh, 120px); padding-top: 140px; max-width: 1400px; }
.hero h1 { font-size: clamp(2.9rem, 8.4vw, 7.6rem); font-weight: 400; max-width: 13ch; margin-bottom: .35em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .15s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .3s; }
@keyframes rise { to { transform: none; } }
.hero .lead { color: rgba(255,255,255,.86); opacity: 0; animation: fade 1s .7s forwards; }
.hero .btn-row { opacity: 0; animation: fade 1s .9s forwards; }
@keyframes fade { to { opacity: 1; } }
.hero-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 38px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.3); cursor: pointer; position: relative; overflow: hidden; }
.hero-dots button.active::after { content: ""; position: absolute; inset: 0; background: #fff; animation: progress 6s linear forwards; transform-origin: left; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scroll-cue { position: absolute; right: 28px; bottom: 40px; z-index: 2; writing-mode: vertical-rl; font: 600 .66rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* page hero (interior) */
.page-hero { position: relative; min-height: 74vh; min-height: 74svh; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.page-hero .bg { position: absolute; inset: -16% 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,20,18,.5), rgba(15,20,18,.2) 40%, rgba(15,20,18,.78)); }
.page-hero .wrap { position: relative; z-index: 2; padding-top: 150px; padding-bottom: clamp(50px, 8vh, 90px); }
.page-hero h1 { max-width: 16ch; animation: rise-soft 1.1s var(--ease) both; }
.page-hero .lead { color: rgba(255,255,255,.86); animation: rise-soft 1.1s .15s var(--ease) both; }
@keyframes rise-soft { from { opacity: 0; transform: translateY(30px); } }
.page-hero.short { min-height: 58vh; min-height: 58svh; }
.page-hero.plain { min-height: auto; background: var(--forest); }
.page-hero.plain::before { display: none; }
.crumbs { font: 600 .68rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 22px; color: rgba(255,255,255,.75); }
.crumbs a { text-decoration: none; color: inherit; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; opacity: .6; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--paper); white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee span { font: italic 400 clamp(1.8rem, 3.6vw, 3rem)/1 var(--serif); padding: 0 28px; color: var(--forest); display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .5em; color: var(--sand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(42px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].in { opacity: 1; transform: none; }
.img-reveal { position: relative; overflow: hidden; }
.js .img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--paper); transform-origin: right; transition: transform 1.3s var(--ease); z-index: 1; }
.js .bg-mist .img-reveal::after { background: var(--mist); }
.js .img-reveal.in::after { transform: scaleX(0); }
.js .img-reveal img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js .img-reveal.in img { transform: scale(1); }

/* ---------- layout pieces ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split .media { position: relative; }
.split .media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.split .media .float {
  position: absolute; width: 46%; right: -8%; bottom: -10%; border: 10px solid var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
}
.split .media .float img { aspect-ratio: 1; border-radius: 8px; }
.bg-mist .split .media .float { border-color: var(--mist); }
.stamp {
  position: absolute; top: -40px; left: -40px; width: 130px; height: 130px; z-index: 2; color: var(--forest);
  animation: spin 22s linear infinite;
}
.stamp text { font: 600 10.5px var(--sans); letter-spacing: 3.2px; text-transform: uppercase; fill: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* service cards */
.svc-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 3/4; isolation: isolate; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s; z-index: -2; }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(15,20,18,.82)); transition: opacity .6s; }
.svc-card:hover img { transform: scale(1.07); }
.svc-card .in-card { position: absolute; left: 26px; right: 26px; bottom: 26px; }
.svc-card .num { font: 600 .7rem/1 var(--sans); letter-spacing: .24em; color: var(--sand-2); }
.svc-card h3 { margin: 12px 0 8px; font-size: 2.1rem; }
.svc-card p { font-size: .95rem; color: rgba(255,255,255,.82); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .5s; margin: 0; }
.svc-card:hover p, .svc-card:focus-visible p { max-height: 140px; opacity: 1; }
.svc-card .go { display: inline-flex; margin-top: 14px; font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid var(--sand); padding-bottom: 5px; }
@media (hover: none) { .svc-card p { max-height: none; opacity: 1; } }

/* feature list */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 40px 34px 40px 0; border-bottom: 1px solid var(--line); }
.feature + .feature { padding-left: 34px; border-left: 1px solid var(--line); }
.feature .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sand-2); color: var(--forest); margin-bottom: 22px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.6rem; }
.feature p { color: #4a5650; font-size: .98rem; margin: 0; }
.on-dark .feature { border-color: var(--line-light); }
.on-dark .feature p { color: rgba(233,236,230,.75); }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding-top: 70px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font: italic 400 3.4rem/1 var(--serif); color: var(--sand); }
.step::after { content: ""; position: absolute; top: 28px; left: 80px; right: -14px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.5rem; }
.step p { color: #4a5650; font-size: .96rem; }
.on-dark .step p { color: rgba(233,236,230,.75); }
.on-dark .step::after { background: var(--line-light); }

/* parallax band */
.band { position: relative; min-height: 78vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); }
.band .bg { position: absolute; inset: -18% 0; }
.band .bg img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(15,20,18,.5); }
.band .wrap { position: relative; z-index: 2; }
.band blockquote { margin: 0 auto; max-width: 900px; text-align: center; font: italic 400 clamp(2rem, 4.6vw, 3.8rem)/1.15 var(--serif); }
.band cite { display: block; margin-top: 26px; font: 600 .72rem/1 var(--sans); font-style: normal; letter-spacing: .26em; text-transform: uppercase; color: var(--sand-2); }

/* horizontal gallery strip */
.strip { display: flex; gap: 18px; overflow-x: auto; padding: 0 28px 20px; scroll-snap-type: x mandatory; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--sand) transparent; }
.strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.strip figure { flex: 0 0 auto; margin: 0; scroll-snap-align: start; border-radius: 14px; overflow: hidden; height: clamp(300px, 52vh, 520px); }
.strip img { height: 100%; width: auto; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; user-select: none; }
.strip figure:hover img { transform: scale(1.05); }
.strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }

/* before/after */
.compare { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; user-select: none; touch-action: pan-y; box-shadow: var(--shadow); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .raw { filter: saturate(.55) contrast(.82) brightness(1.1) sepia(.08); clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.compare .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.compare .lbl { position: absolute; top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(15,20,18,.6); color: #fff; font: 600 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; backdrop-filter: blur(6px); }
.compare .lbl.l { left: 18px; } .compare .lbl.r { right: 18px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* journal cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card .thumb { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; margin-bottom: 20px; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .meta { font: 600 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--moss); margin-bottom: 12px; }
.post-card h3 { font-size: 1.65rem; margin-bottom: 10px; transition: color .3s; }
.post-card:hover h3 { color: var(--moss); }
.post-card p { font-size: .96rem; color: #4a5650; margin: 0; }
.post-card.big { grid-column: span 2; }
.post-card.big .thumb { aspect-ratio: 16/9; }
.post-card.big h3 { font-size: 2.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 10px 18px; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: all .3s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.post-card.hidden, .g-item.hidden { display: none; }

/* portfolio masonry */
.masonry { columns: 3; column-gap: 18px; }
.g-item { break-inside: avoid; margin: 0 0 18px; border-radius: 12px; overflow: hidden; position: relative; cursor: zoom-in; display: block; padding: 0; border: 0; width: 100%; background: none; }
.g-item img { width: 100%; transition: transform 1.2s var(--ease), filter .6s; }
.g-item::after { content: attr(data-cap); position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; text-align: left; font: italic 1.1rem/1.2 var(--serif); background: linear-gradient(transparent, rgba(15,20,18,.7)); opacity: 0; transform: translateY(10px); transition: all .5s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item:hover::after { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,16,14,.96); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; animation: fade .4s; opacity: 1; }
.lightbox img { max-height: 84vh; max-width: 100%; width: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #cfd5cd; font: italic 1.1rem var(--serif); }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; }
.lightbox button:hover { background: #fff; color: var(--ink); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* pricing */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 34px; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s; }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price-card.featured { background: var(--forest); color: #fff; border-color: var(--forest); }
.price-card .tag { font: 600 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--moss); }
.price-card.featured .tag { color: var(--sand-2); }
.price-card .amt { font: 400 3.4rem/1 var(--serif); margin: 20px 0 6px; }
.price-card .amt small { font: 500 .85rem var(--sans); opacity: .7; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 30px; flex: 1; }
.price-card li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; font-size: .95rem; }
.price-card.featured li { border-color: var(--line-light); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--sand); }

/* tool / form ui */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: 0 20px 50px -40px rgba(20,28,24,.4); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label, .field .lab { font: 600 .7rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--moss); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 14px 16px; font-size: 1rem; transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sand); box-shadow: 0 0 0 4px rgba(196,162,117,.2); }
.field textarea { min-height: 140px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.range-row { display: flex; align-items: center; gap: 16px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: var(--mist); border-radius: 4px; padding: 0; border: 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--forest); border: 4px solid var(--sand-2); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--forest); border: 4px solid var(--sand-2); cursor: pointer; }
.range-val { min-width: 70px; font: 500 1.5rem var(--serif); text-align: right; }
.toggles { display: grid; gap: 10px; }
.field label.toggle { font: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .3s, background .3s; }
.toggle:hover { border-color: var(--sand); }
.toggle input { width: 20px; height: 20px; accent-color: var(--forest); flex: none; }
.toggle .t-l { display: flex; flex-direction: column; }
.toggle .t-l b { font-weight: 600; font-size: .96rem; }
.toggle .t-l small { color: var(--moss); font-size: .84rem; }
.toggle .t-p { font: 500 1.2rem var(--serif); white-space: nowrap; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--mist); border-radius: 999px; }
.seg button { border: 0; background: transparent; padding: 10px 16px; border-radius: 999px; font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.seg button.active { background: var(--ink); color: #fff; }
.total-box { position: sticky; top: calc(var(--header-h) + 20px); background: var(--forest); color: #fff; border-radius: var(--radius); padding: 36px; }
.total-box .big { font: 400 clamp(3rem, 6vw, 4.4rem)/1 var(--serif); margin: 10px 0; }
.total-box .lines { list-style: none; margin: 20px 0; padding: 0; font-size: .92rem; }
.total-box .lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-light); }
.total-box small { color: var(--sage); }
.calc-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: start; }
.form-status { margin-top: 16px; font-weight: 500; }
.form-status.ok { color: #2f6b45; } .form-status.err { color: #9b3b2f; }

/* sun tool */
.sun-arc { position: relative; height: 200px; margin: 10px 0 30px; }
.sun-arc svg { width: 100%; height: 100%; overflow: visible; }
.daybar { position: relative; height: 54px; border-radius: 12px; overflow: hidden; margin: 18px 0 8px; }
.daybar-axis { display: flex; justify-content: space-between; font-size: .72rem; color: var(--moss); }
.sun-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sun-stat { padding: 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.sun-stat .k { font: 600 .66rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--moss); display: flex; align-items: center; gap: 8px; }
.sun-stat .k i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.sun-stat .v { font: 500 1.7rem/1.2 var(--serif); margin-top: 6px; }
.sun-stat.hl { background: var(--forest); color: #fff; border-color: var(--forest); }
.sun-stat.hl .k { color: var(--sand-2); }
.week-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.week-table th, .week-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.week-table th { font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--moss); }
.table-scroll { overflow-x: auto; }

/* timeline output */
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tl li { display: grid; grid-template-columns: 80px 1fr; gap: 26px; padding: 12px 0; position: relative; animation: rise-soft .6s var(--ease) both; }
.tl li::before { content: ""; position: absolute; left: 87px; top: 20px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--sand); }
.tl li.gold::before { background: var(--sand); }
.tl time { font: 500 1.2rem/1.3 var(--serif); text-align: right; }
.tl b { display: block; font-weight: 600; }
.tl small { color: var(--moss); }

/* quiz */
.quiz-q { display: none; }
.quiz-q.active { display: block; animation: rise-soft .6s var(--ease); }
.quiz-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.quiz-opt { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 14px; padding: 20px; cursor: pointer; transition: all .3s var(--ease); }
.quiz-opt:hover { border-color: var(--sand); transform: translateY(-3px); }
.quiz-opt b { display: block; font: 500 1.35rem/1.2 var(--serif); margin-bottom: 4px; }
.quiz-opt small { color: var(--moss); }
.quiz-progress { height: 3px; background: var(--mist); border-radius: 3px; margin-bottom: 30px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; background: var(--sand); transition: width .5s var(--ease); }
.loc-result { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); animation: rise-soft .6s var(--ease) both; }
.loc-result .score { font: 400 2.4rem/1 var(--serif); color: var(--sand); }
.loc-result h3 { margin-bottom: 6px; }
.loc-result .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; }
.loc-result .tags span { font-size: .72rem; padding: 4px 10px; background: var(--mist); border-radius: 999px; }

/* article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; align-items: start; }
.prose { font-size: 1.08rem; }
.prose > p:first-of-type::first-letter { float: left; font: 400 4.6rem/.8 var(--serif); padding: 8px 12px 0 0; color: var(--forest); }
.prose h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-top: 1.6em; scroll-margin-top: 100px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.8em 0; padding: 6px 0 6px 28px; border-left: 2px solid var(--sand); font: italic 1.6rem/1.35 var(--serif); color: var(--forest); }
.prose blockquote p { margin: 0; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: 14px; width: 100%; }
.prose figcaption { font-size: .85rem; color: var(--moss); margin-top: 10px; text-align: center; font-style: italic; }
.prose .callout { background: var(--sand-2); border-radius: 14px; padding: 22px 26px; margin: 1.8em 0; }
.prose .callout p:last-child { margin: 0; }
.prose a { color: var(--forest); font-weight: 500; }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 1.5em 0; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 600 .68rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--moss); background: var(--mist); }
.prose .table-scroll { margin: 1.5em 0; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.aside .box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.aside .box.dark { background: var(--forest); color: #fff; border-color: var(--forest); }
.aside h4 { font-size: 1.4rem; margin-bottom: 12px; }
.toc { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.toc li { padding: 6px 0; border-top: 1px solid var(--line); }
.toc a { text-decoration: none; color: #3a4640; display: block; transition: color .3s, transform .3s; }
.toc a.active, .toc a:hover { color: var(--ink); transform: translateX(4px); }
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--sand); z-index: 120; width: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-top: 18px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 50px 22px 0; position: relative; font: 500 1.35rem/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 300 1.8rem var(--sans); color: var(--sand); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: #3a4640; }

/* cta */
.cta { position: relative; overflow: hidden; color: #fff; text-align: center; background: var(--ink); }
.cta .bg { position: absolute; inset: -15% 0; opacity: .45; }
.cta .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; margin: 0 auto .4em; }
.cta .lead { color: rgba(255,255,255,.82); margin: 0 auto; }
.cta .btn-row { justify-content: center; }

/* footer */
.site-footer { background: var(--ink); color: #c9cfc7; padding: 90px 0 36px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font: 600 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sand-2); margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; color: #c9cfc7; transition: color .3s; }
.site-footer a:hover { color: #fff; }
.foot-big { font: italic 400 clamp(2.4rem, 7vw, 6.4rem)/1 var(--serif); color: #fff; margin: 70px 0 30px; letter-spacing: -.01em; }
.foot-big a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); transition: border-color .4s; }
.foot-big a:hover { border-color: var(--sand); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line-light); font-size: .82rem; color: #8f988f; }

/* back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; cursor: pointer; opacity: 0; transform: translateY(20px); transition: all .4s var(--ease); pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--sand); color: var(--ink); }

/* responsive */
@media (max-width: 1020px) {
  .split, .article, .calc-layout { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .aside, .total-box { position: static; }
  .grid-3, .post-grid, .price-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 30px 0; border-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
  .split .media .float { right: 4%; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  :root { --header-h: 68px; }
  .wrap { padding: 0 20px; }
  .grid-3, .grid-2, .post-grid, .price-cards, .steps, .form-grid, .quiz-opts, .sun-results { grid-template-columns: 1fr; }
  .post-card.big { grid-column: auto; }
  .post-card.big h3 { font-size: 1.65rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .masonry { columns: 2; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .stamp { width: 96px; height: 96px; top: -26px; left: -8px; }
  .split .media .float { width: 50%; right: -2%; bottom: -8%; border-width: 6px; }
  .scroll-cue { display: none; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .tl::before { left: 72px; } .tl li { grid-template-columns: 62px 1fr; gap: 22px; } .tl li::before { left: 67px; }
  .logo-text { font-size: 1.35rem; }
  .strip { padding: 0 20px 16px; }
  .compare { aspect-ratio: 4/5; }
  .btn { padding: 15px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .mobile-nav, .to-top, .cta, .no-print { display: none !important; }
  body { background: #fff; }
}
@media (max-width: 680px) {
  .sun-arc { height: 140px; }
  .sun-arc text { display: none; }
  .week-table td, .week-table th { white-space: nowrap; padding: 10px 10px 10px 0; }
}
@media (max-width: 680px) { .compare .lbl { font-size: .54rem; padding: 6px 9px; top: 12px; letter-spacing: .12em; } .compare .lbl.l { left: 10px; } .compare .lbl.r { right: 10px; } }
