:root {
  --savvy: #144EA0;
  --pink: #EBC9D6;
  --butter: #F3D77A;
  --nylon: #131610;
  --white: #FFFFFF;
  --pink-15: rgba(235, 201, 214, .3);
  --pink-soft: #F5E4EB;
  --line: rgba(19, 22, 16, .12);
  --grid: rgba(20, 78, 160, .07);
  --hl: var(--pink);
  --serif: "Cormorant Garamond", Georgia, serif;
  --label: "Jost", Arial, sans-serif;
  --sans: "DM Sans", Arial, sans-serif;
  --pad: clamp(16px, 5vw, 72px);
  --max: 1280px;
  --radius: 24px;
  --ph: 56px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 760px) { :root { --ph: 40px; --radius: 18px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--white); color: var(--nylon); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 1; }

/* Type */
.label { font: 500 12px/1.4 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--savvy); }
.serif { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.015em; }
.serif em { font-style: italic; font-weight: 400; }
h1.serif { font-size: clamp(46px, 8vw, 116px); }
h2.serif { font-size: clamp(36px, 5vw, 68px); }
h3.serif { font-size: clamp(26px, 2.6vw, 34px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 38em; }

/* Highlight behind the italic word (light backgrounds) */
h1.serif em, h2.serif em {
  padding: 0 .08em;
  background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 88% / 0% 42%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1s var(--ease) .25s;
}
html:not(.js) h1.serif em, html:not(.js) h2.serif em,
.in h1.serif em, .in h2.serif em, .in.serif em, .hero h1.serif em, .next h2.serif em { background-size: 100% 42%; }
.on-dark h2.serif em, .on-dark h1.serif em { background: none; color: var(--pink); padding: 0; }
.next { --hl: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 18px 28px; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn-solid { background: var(--savvy); border-color: var(--savvy); color: var(--white); }
.btn-solid:hover { background: var(--nylon); border-color: var(--nylon); }
.btn-ghost:hover { background: var(--nylon); color: var(--white); border-color: var(--nylon); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; padding: 12px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { padding: 12px 20px; border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); }
.logo img { width: 180px; }
.nav { display: flex; gap: 4px; list-style: none; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); margin-left: auto; }
.nav a { display: block; padding: 11px 18px; border-radius: 999px; font: 500 12px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.nav a:hover { background: var(--pink); }
.mail-btn { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--savvy); color: var(--white); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.mail-btn svg { width: 20px; height: 20px; }
.mail-btn:hover { transform: rotate(-12deg) scale(1.08); background: var(--nylon); }
@media (max-width: 760px) {
  .logo { padding: 10px 14px; }
  .logo img { width: 128px; }
  .nav { padding: 4px; }
  .nav a { padding: 10px 12px; font-size: 11px; }
  .nav .hide-sm { display: none; }
  .mail-btn { width: 42px; height: 42px; }
}

/* Floating shapes */
.shape { position: absolute; display: block; pointer-events: none; z-index: 0; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }
@keyframes spin { to { rotate: 360deg; } }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: calc(100svh - 78px); display: flex; flex-direction: column; justify-content: center; padding: 48px 0 calc(var(--ph) * 2.4 + 64px); text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hello { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(19,22,16,.7); margin-bottom: 28px; }
.hello img { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--savvy); animation: wave 2.4s var(--ease) 1.2s 2; }
@keyframes wave { 0%, 100% { rotate: 0deg; } 20% { rotate: -14deg; } 40% { rotate: 10deg; } 60% { rotate: -6deg; } }
.hero h1 { max-width: 12.5em; }
.hero h1 em { background-size: 0% 42%; animation: hl 1.1s var(--ease) .9s forwards; }
@keyframes hl { to { background-size: 100% 42%; } }
.hero .lead { margin: 30px auto 40px; color: rgba(19,22,16,.78); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.shape-half-savvy { width: clamp(160px, 22vw, 320px); aspect-ratio: 2 / 1; background: var(--savvy); border-radius: 0 0 999px 999px; top: -2px; left: 6%; animation: float 7s ease-in-out infinite; }
.shape-circle-pink { width: clamp(120px, 16vw, 230px); aspect-ratio: 1; background: var(--pink); border-radius: 50%; right: -50px; top: 56%; animation: float 9s ease-in-out -3s infinite; }
.shape-dot-nylon { width: 22px; height: 22px; background: var(--butter); border: 1.5px solid var(--nylon); border-radius: 50%; left: 9%; top: 72%; animation: float 5s ease-in-out -1s infinite; }
@media (max-width: 760px) {
  .shape-half-savvy { left: -30px; width: 150px; }
  .shape-circle-pink { right: -70px; top: 8%; width: 130px; }
  .shape-dot-nylon { left: 7%; top: 62%; }
}

/* Pills pile */
.pile { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--ph) * 2.6); z-index: 2; }
.pill {
  position: absolute; left: var(--x); bottom: calc(var(--row) * var(--ph)); height: var(--ph);
  display: inline-flex; align-items: center; gap: 10px; padding: 0 calc(var(--ph) * .48); border-radius: 999px; border: 1.5px solid var(--nylon);
  font: 500 clamp(11px, 1.15vw, 15px)/1 var(--label); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  rotate: var(--r); user-select: none; -webkit-user-select: none; cursor: grab;
  transition: scale .2s var(--ease), box-shadow .2s;
}
.pill:hover { scale: 1.05; z-index: 3; }
.pill.dragging { cursor: grabbing; scale: 1.1; z-index: 5; box-shadow: 0 14px 30px rgba(19,22,16,.18); }
.pill svg { width: calc(var(--ph) * .36); height: calc(var(--ph) * .36); }
.pill.round { width: var(--ph); padding: 0; justify-content: center; }
.pill-savvy { background: var(--savvy); color: var(--white); border-color: var(--savvy); }
.pill-pink { background: var(--pink); }
.pill-nylon { background: var(--nylon); color: var(--white); }
.pill-nylon svg { color: var(--butter); }
.pill-butter { background: var(--butter); }
.pill-white { background: var(--white); }
.js .pill { translate: 0 -110vh; animation: drop 1.1s cubic-bezier(.3, 0, .4, 1) calc(.5s + var(--d)) forwards; }
@keyframes drop {
  0% { translate: 0 -110vh; }
  55% { translate: 0 0; }
  70% { translate: 0 -22px; }
  84% { translate: 0 0; }
  92% { translate: 0 -6px; }
  100% { translate: 0 0; }
}
.js .pill.landed { animation: none; translate: 0 0; }
.js .pill.landed.wiggle { animation: wiggle .5s var(--ease); }
@keyframes wiggle { 0%, 100% { rotate: var(--r); } 30% { rotate: calc(var(--r) - 10deg); } 65% { rotate: calc(var(--r) + 7deg); } }

/* Marquee */
.marquee { background: var(--nylon); color: var(--white); overflow: hidden; padding: 18px 0; border-block: 1.5px solid var(--nylon); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font: 500 clamp(14px, 1.4vw, 18px)/1 var(--label); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.marquee svg { width: 18px; height: 18px; color: var(--butter); flex: none; animation: spin 6s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section */
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; overflow: hidden; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.section-head .label { margin-bottom: 16px; }

/* Work grid */
.card { text-decoration: none; display: block; }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--pink-15); border: 1.5px solid var(--nylon); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--nylon); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media { transform: translate(-4px, -4px) rotate(-1.2deg); box-shadow: 14px 14px 0 var(--savvy); }
.card:nth-child(even):hover .card-media { transform: translate(-4px, -4px) rotate(1.2deg); box-shadow: 14px 14px 0 var(--butter); }
.card:hover .card-media > img { transform: scale(1.05); }
.card-num { position: absolute; top: 18px; left: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--nylon); font: 500 13px/1 var(--label); letter-spacing: .08em; z-index: 2; }
.card-tag { position: absolute; top: 22px; right: 18px; padding: 10px 16px; border-radius: 999px; background: var(--pink); border: 1.5px solid var(--nylon); font: 500 11px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; rotate: 4deg; z-index: 2; transition: rotate .4s var(--ease); }
.card:nth-child(3n+2) .card-tag { background: var(--butter); rotate: -5deg; }
.card:nth-child(3n) .card-tag { background: var(--savvy); color: var(--white); rotate: 3deg; }
.card:hover .card-tag { rotate: -8deg; }
.card-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; align-items: center; }
.card-meta .label { display: block; margin-bottom: 8px; }
.card h3 em { background: linear-gradient(var(--pink), var(--pink)) no-repeat 0 88% / 0% 42%; transition: background-size .6s var(--ease); padding: 0 .06em; }
.card:hover h3 em { background-size: 100% 42%; }
.card-go { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--nylon); display: grid; place-items: center; transition: background .3s, color .3s, rotate .4s var(--ease); }
.card-go svg { width: 20px; height: 20px; }
.card:hover .card-go { background: var(--savvy); color: var(--white); border-color: var(--savvy); rotate: -45deg; }
.card p { margin-top: 12px; max-width: 32em; color: rgba(19,22,16,.75); }
.work-rows { display: grid; gap: clamp(48px, 6vw, 88px); }
.work-row { display: flex; gap: clamp(20px, 3vw, 44px); align-items: flex-start; }
.card-v { --ar: .8; }
.card-h { --ar: 1.6; }
.work-row .card { flex: var(--ar) 1 0; min-width: 0; }
.work-row .card-media { aspect-ratio: var(--ar); }
.work-row:not(:has(.card-v)) .card-h { --ar: 1.25; }
.more { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 760px) {
  .work-row { flex-direction: column; gap: 48px; }
  .work-row .card { flex: none; width: 100%; }
  .card-h { --ar: 1.25; }
  .card-media { box-shadow: 6px 6px 0 var(--nylon); }
}

/* Panel covers (projects without photos yet) */
.panel { position: relative; overflow: hidden; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 3vw, 40px); padding-top: clamp(80px, 8vw, 96px); }
.panel > * { position: relative; z-index: 1; }
.panel .serif { font-size: clamp(40px, 5vw, 72px); }
.panel::before, .panel::after { content: ""; position: absolute; z-index: 0; transition: transform .8s var(--ease); }
.card:hover .panel::before { transform: translate(-6%, 6%) rotate(-8deg); }
.card:hover .panel::after { transform: translate(8%, -4%); }
.panel-savvy { background: var(--savvy); color: var(--white); }
.panel-savvy .label { color: var(--pink); }
.panel-savvy::before { width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--pink); right: -18%; top: 14%; }
.panel-savvy::after { width: 46%; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; border: 1.5px solid var(--white); border-bottom: 0; left: 8%; top: 32%; }
.panel-pink { background: var(--pink); color: var(--nylon); }
.panel-pink .label { color: var(--nylon); }
.panel-pink::before { width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--savvy); left: -14%; top: 16%; }
.panel-pink::after { width: 34%; aspect-ratio: 1; background: var(--nylon); right: 10%; top: 30%; border-radius: 0 0 0 999px; }
.panel-nylon { background: var(--nylon); color: var(--white); }
.panel-nylon .label { color: var(--pink); }
.panel-nylon::before { width: 56%; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; background: var(--butter); left: 6%; top: 30%; }
.panel-nylon::after { width: 56%; aspect-ratio: 2 / 1; border-radius: 0 0 999px 999px; background: var(--pink); left: 38%; top: calc(30% + 28%); }

/* Dark band */
.on-dark { background: var(--savvy); color: var(--white); }
.on-dark .label { color: var(--pink); }

/* Services — folders */
.services-sec { background: var(--pink-15); }
.tabs { display: flex; align-items: flex-end; position: relative; padding: 12px 0 0 12px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: inherit; padding: 18px 26px 22px; margin-right: -14px; margin-bottom: -4px; border: 1.5px solid var(--nylon); border-bottom: 0; border-radius: 18px 18px 0 0; cursor: pointer; transition: transform .3s var(--ease), padding .3s var(--ease); position: relative; z-index: 1; }
.tab span { opacity: .6; }
.tab:not([aria-selected="true"]):hover { transform: translateY(-5px); }
.tab[aria-selected="true"] { z-index: 3; padding-top: 26px; }
.tab-pink { background: var(--pink-soft); }
.tab-savvy { background: var(--savvy); color: var(--white); }
.tab-nylon { background: var(--nylon); color: var(--white); }
.tab-white { background: var(--white); }
.folder { position: relative; z-index: 2; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); padding: clamp(32px, 5vw, 64px); border: 1.5px solid var(--nylon); border-radius: 0 var(--radius) var(--radius) var(--radius); box-shadow: 10px 10px 0 var(--nylon); min-height: 420px; }
.folder[hidden] { display: none; }
.folder > * { position: relative; z-index: 1; }
.folder:not([hidden]) { animation: open .5s var(--ease); }
@keyframes open { from { opacity: 0; translate: 0 16px; } }
.folder h3.serif { font-size: clamp(40px, 5vw, 72px); }
.folder .price { display: inline-block; font: 500 13px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; margin: 22px 0 22px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid currentColor; }
.folder-desc { font-size: 18px; max-width: 26em; margin-bottom: 32px; }
.folder ul { list-style: none; align-self: center; }
.folder li { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1.5px solid currentColor; font-size: 17px; }
.folder li:first-child { border-top: 1.5px solid currentColor; }
.folder li svg { width: 16px; height: 16px; flex: none; }
.folder-pink { background: var(--pink-soft); }
.folder-pink li svg { color: var(--savvy); }
.folder-pink .btn-pill { background: var(--nylon); color: var(--white); border-color: var(--nylon); }
.folder-savvy { background: var(--savvy); color: var(--white); }
.folder-savvy h3 em, .folder-savvy li svg { color: var(--pink); }
.folder-savvy .btn-pill { background: var(--white); color: var(--savvy); border-color: var(--white); }
.folder-nylon { background: var(--nylon); color: var(--white); }
.folder-nylon h3 em, .folder-nylon li svg { color: var(--pink); }
.folder-nylon .btn-pill { background: var(--pink); color: var(--nylon); border-color: var(--pink); }
.folder-white { background: var(--white); }
.folder-white h3 em, .folder-white li svg { color: var(--savvy); }
.folder-white .btn-pill { background: var(--savvy); color: var(--white); border-color: var(--savvy); }
@media (max-width: 860px) {
  .folder { grid-template-columns: 1fr; min-height: 0; box-shadow: 6px 6px 0 var(--nylon); }
  .tab { padding: 14px 18px 18px; font-size: 11px; gap: 8px; }
}

/* Process */
.process-sec { background: var(--nylon); color: var(--white); }
.process-sec .label { color: var(--pink); }
.process-sec h2 em { background: none; color: var(--pink); padding: 0; }
.shape-process { width: clamp(220px, 30vw, 440px); aspect-ratio: 1; border-radius: 50%; background: var(--savvy); right: -10%; top: -18%; animation: float 10s ease-in-out infinite; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1.5px; background: rgba(255,255,255,.4); transform-origin: left; }
.js .process::before { transform: scaleX(0); transition: transform 1.6s var(--ease); }
.js .process.in::before { transform: scaleX(1); }
.step { position: relative; padding-top: 44px; }
.step .dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 4px solid var(--nylon); box-shadow: 0 0 0 1.5px var(--white); }
.step:nth-child(odd) .dot { background: var(--pink); }
.step:nth-child(even) .dot { background: var(--butter); }
.step .num { display: block; font: italic 400 64px/1 var(--serif); margin-bottom: 14px; color: var(--pink); }
.step:nth-child(even) .num { color: var(--butter); }
.step h3 { font-size: 32px; margin-bottom: 10px; }
.step p { font-size: 15px; color: rgba(255,255,255,.75); }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 0; padding-left: 40px; }
  .process::before { left: 9px; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; transform-origin: top; }
  .js .process::before { transform: scaleY(0); }
  .js .process.in::before { transform: scaleY(1); }
  .step { padding: 0 0 40px; }
  .step .dot { left: -40px; }
}

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-media { position: relative; padding: 0 8% 8% 0; }
.about-block { position: relative; z-index: 1; aspect-ratio: 4 / 5; background: var(--pink); border: 1.5px solid var(--nylon); border-radius: 220px 220px var(--radius) var(--radius); display: flex; align-items: center; justify-content: center; }
.about-block { overflow: hidden; }
.about-block img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-circle { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--savvy); z-index: 0; animation: float 8s ease-in-out infinite; }
.badge { position: absolute; z-index: 2; top: -4%; right: 0; width: 34%; animation: spin 18s linear infinite; }
.badge text { font: 500 13.4px var(--label); letter-spacing: .2em; fill: var(--nylon); }
.sticker { position: absolute; z-index: 3; left: -4%; bottom: 18%; padding: 12px 20px; border-radius: 999px; background: var(--butter); border: 1.5px solid var(--nylon); font: 500 12px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; rotate: -8deg; box-shadow: 4px 4px 0 var(--nylon); }
.about p + p { margin-top: 18px; }
.about h2 { margin: 16px 0 28px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; width: 100%; margin: 0 auto; }
  .sticker { left: 0; }
}

/* Contact */
.contact { background: var(--savvy); color: var(--nylon); }
.shape-c1 { width: clamp(220px, 32vw, 460px); aspect-ratio: 1; border-radius: 50%; background: var(--pink); left: -6%; top: -14%; animation: float 9s ease-in-out infinite; }
.shape-c2 { width: clamp(200px, 28vw, 400px); aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; background: var(--white); right: 4%; bottom: 0; }
.shape-c3 { width: clamp(70px, 9vw, 130px); aspect-ratio: 1; border-radius: 50%; background: var(--nylon); right: 22%; top: 12%; animation: float 6s ease-in-out -2s infinite; }
.glass { max-width: 880px; margin: 0 auto; text-align: center; padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 72px); border-radius: 40px; background: linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,.12)); border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(60px) saturate(1.6); -webkit-backdrop-filter: blur(60px) saturate(1.6); box-shadow: inset 0 1px 1px rgba(255,255,255,.7), inset 0 -1px 1px rgba(255,255,255,.2), 0 24px 60px rgba(19,22,16,.14); position: relative; z-index: 1; }
.glass .label { color: var(--nylon); }
.contact h2 { max-width: 14em; margin: 20px auto 24px; }
.contact .lead { margin: 0 auto 36px; }
.contact-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact .btn-solid { background: var(--nylon); border-color: var(--nylon); }
.contact .btn-solid:hover { background: var(--white); color: var(--nylon); border-color: var(--white); }
.contact .btn-ghost:hover { background: var(--white); color: var(--nylon); border-color: var(--white); }
.contact-mail { margin-top: 22px; font: 500 13px/1 var(--label); letter-spacing: .14em; opacity: .75; }

/* Footer */
.site-footer { background: var(--nylon); color: var(--white); padding: 48px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.site-footer img { width: 180px; }
.foot-mail { font: 500 13px/1 var(--label); letter-spacing: .12em; text-decoration: none; padding: 12px 18px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; transition: background .2s, color .2s; }
.foot-mail:hover { background: var(--pink); color: var(--nylon); border-color: var(--pink); }
.site-footer small { font: 500 11px/1.4 var(--label); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }

/* Case study */
.case-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.shape-case { width: clamp(180px, 26vw, 380px); aspect-ratio: 1; border-radius: 50%; background: var(--pink); right: -6%; top: -10%; animation: float 9s ease-in-out infinite; }
.back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 40px; text-decoration: none; font: 500 12px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; padding: 12px 18px; border: 1.5px solid var(--nylon); border-radius: 999px; background: var(--white); transition: background .2s, color .2s; }
.back svg { width: 16px; height: 16px; rotate: 180deg; }
.back:hover { background: var(--nylon); color: var(--white); }
.case-hero h1 { margin: 20px 0 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tag { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--nylon); font: 500 11px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; background: var(--white); }
.tag:nth-child(3n+1) { background: var(--pink); }
.tag:nth-child(3n) { background: var(--butter); }
.tag:nth-child(3n+2) { background: var(--savvy); color: var(--white); border-color: var(--savvy); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1.5px solid var(--nylon); margin-top: 40px; padding-top: 24px; }
.facts dt { font: 500 11px/1.4 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--savvy); margin-bottom: 8px; }
.facts dd { font-size: 15px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

.case-cover { aspect-ratio: 16 / 9; overflow: hidden; border: 1.5px solid var(--nylon); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--nylon); }
.case-cover > img { width: 100%; height: 100%; object-fit: cover; }
.case-cover .panel { justify-content: flex-end; }
.case-cover .panel .label { margin-bottom: 12px; }
@media (max-width: 760px) { .case-cover { aspect-ratio: 4 / 5; box-shadow: 6px 6px 0 var(--nylon); } }

.step-pill { display: inline-flex; align-self: start; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 1.5px solid var(--nylon); background: var(--white); font: 500 12px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; justify-self: start; }
.step-pill span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); letter-spacing: .04em; }

.case-block { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 80px); padding-block: clamp(64px, 9vw, 120px); }
.case-block h2 { margin: 0 0 28px; }
.case-block p { font-size: 17px; max-width: 40em; }
.case-block > div > p + p { margin-top: 18px; }
@media (max-width: 860px) { .case-block { grid-template-columns: 1fr; } }

.gallery-wrap { display: grid; gap: clamp(20px, 3vw, 40px); }
.gallery { display: grid; gap: clamp(12px, 2vw, 24px); align-items: start; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 5; border-radius: var(--radius); border: 1.5px solid var(--nylon); }
.gallery .wide img { aspect-ratio: auto; }
.gallery figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--nylon); opacity: .7; max-width: 36em; }
@media (max-width: 560px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }

.result { border-top: 1.5px solid var(--nylon); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.stat { border-top: 1.5px solid var(--line); padding-top: 18px; }
.stat .serif { display: block; font-size: clamp(48px, 5.5vw, 76px); line-height: 1; color: var(--savvy); }
.stat .label { display: block; margin-top: 12px; color: var(--nylon); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

.next { display: block; text-decoration: none; background: var(--pink); padding: clamp(56px, 8vw, 110px) 0; }
.next .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.next .label { color: var(--nylon); }
.next h2 { margin-top: 16px; }
.next-go { flex: none; width: clamp(64px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; background: var(--nylon); color: var(--white); display: grid; place-items: center; transition: rotate .5s var(--ease), background .3s; }
.next-go svg { width: 40%; height: 40%; }
.next:hover .next-go { rotate: -45deg; background: var(--savvy); }

/* Scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; translate: 0 40px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* Example projects inside each service folder */
.folder-work { grid-column: 1 / -1; position: relative; z-index: 1; border-top: 1.5px solid currentColor; padding-top: 24px; }
.folder-work .label { color: inherit; opacity: .75; margin-bottom: 16px; }
.mini-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini { text-decoration: none; color: inherit; display: block; }
.mini-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; border: 1.5px solid var(--nylon); }
.mini-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mini:hover .mini-img img { transform: scale(1.06); }
.mini-title { display: block; margin-top: 10px; font-size: 20px; line-height: 1.15; }
@media (max-width: 860px) { .mini-row { grid-template-columns: 1fr 1fr; } }

/* Page heads (Work, Services, Contact) */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 128px) 0 clamp(24px, 4vw, 48px); }
.page-hero h1 { margin: 20px 0 28px; max-width: 11em; }
.page-hero .lead { color: rgba(19,22,16,.78); }
.shape-page { width: clamp(160px, 24vw, 340px); aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; background: var(--pink); right: 6%; bottom: 0; animation: float 9s ease-in-out infinite; }
.section-tight { padding-top: clamp(32px, 4vw, 56px); }
.nav a[aria-current="page"] { background: var(--nylon); color: var(--white); }

/* Home services list */
.svc-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 260px; padding: 26px; border: 1.5px solid var(--nylon); border-radius: var(--radius); text-decoration: none; background: var(--white); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.svc:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--nylon); }
.svc-pink { background: var(--pink-soft); }
.svc-savvy { background: var(--savvy); color: var(--white); border-color: var(--savvy); }
.svc-nylon { background: var(--nylon); color: var(--white); }
.svc-num { font: 500 12px/1 var(--label); letter-spacing: .18em; opacity: .7; }
.svc h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; }
.svc-price { margin-top: auto; font: 500 11px/1.4 var(--label); letter-spacing: .16em; text-transform: uppercase; }
.svc .card-go { position: absolute; right: 22px; bottom: 22px; width: 44px; height: 44px; border-color: currentColor; }
.svc:hover .card-go { rotate: -45deg; }
@media (max-width: 960px) { .svc-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-list { grid-template-columns: 1fr; } .svc { min-height: 0; padding-bottom: 80px; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.brief { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: clamp(24px, 4vw, 48px); border: 1.5px solid var(--nylon); border-radius: var(--radius); background: var(--white); box-shadow: 10px 10px 0 var(--nylon); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font: 500 11px/1.4 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--savvy); }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--sans); color: var(--nylon); padding: 14px 16px; border: 1.5px solid var(--nylon); border-radius: 14px; background: var(--white); width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--pink); }
.brief-send { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.brief-note { font-size: 14px; opacity: .7; }
.side-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--savvy); color: var(--white); }
.side-card .label { color: var(--pink); }
.side-mail { display: block; margin: 14px 0 24px; font: 500 clamp(18px, 1.8vw, 22px)/1.3 var(--sans); color: var(--white); word-break: break-all; }
.side-card .btn-solid { background: var(--white); color: var(--nylon); border-color: var(--white); }
.side-card .btn-ghost { color: var(--white); }
.side-card .contact-actions { justify-content: flex-start; }
.side-facts { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.side-facts li { display: flex; gap: 12px; align-items: center; }
.side-facts svg { width: 16px; height: 16px; color: var(--savvy); flex: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .brief { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--nylon); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .pill { translate: 0 0; }
  .js .reveal { opacity: 1; translate: 0 0; }
  .hero h1 em { background-size: 100% 42%; }
  .js .process::before { transform: none; }
}

@media (max-width: 760px) {
  .pill { left: var(--xm); }
  .pill.hide-m { display: none; }
}
