/* =========================================================
   Murleo | version 2 (light, chunky, neo-brutalist)
   ========================================================= */
:root {
  --paper: #f7f1e8;
  --paper-2: #efe6d8;
  --white: #fffdf9;
  --ink: #161210;
  --ink-soft: #5d554e;
  --orange: #e8834a;
  --orange-soft: #f6c7a6;
  --peach: #fbe3d1;
  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --radius: 18px;
  --wrap: 1300px;
  --gutter: clamp(16px, 4vw, 48px);
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1; margin: 0; letter-spacing: -.04em; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); padding: 10px 16px; border: var(--border); border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; text-decoration: none; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: -.02em;
  padding: 1em 1.5em; border: var(--border); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--orange { background: var(--orange); }
.btn--white { background: var(--white); }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--orange); }
.btn--ink:hover { box-shadow: 6px 6px 0 var(--orange); }
.btn--big { font-size: 1.05rem; padding: 1.1em 1.8em; }

/* ---------- Top strip + header ---------- */
.topbar { background: var(--ink); color: var(--paper); text-align: center; font-size: .9rem; font-weight: 600; padding: 10px var(--gutter); }
.topbar a { color: var(--orange); text-decoration: none; margin-left: 6px; }
.topbar a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: padding .3s; }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--white); border: var(--border); border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: var(--shadow);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: -.05em; }
.logo svg { width: 38px; height: 38px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 700; font-size: .95rem; padding: 10px 16px; border-radius: 999px; transition: background .2s; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { background: var(--peach); }
.nav .btn { padding: .8em 1.3em; box-shadow: none; }
.nav .btn:hover { box-shadow: 3px 3px 0 var(--ink); }
.menu-toggle { display: none; width: 48px; height: 48px; border: var(--border); border-radius: 50%; background: var(--orange); cursor: pointer; padding: 12px; }
.menu-toggle span { display: block; height: 2.5px; background: var(--ink); margin: 4px 0; transition: transform .3s, opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: var(--border); border-radius: 999px; padding: 6px 16px 6px 8px; font-weight: 700; font-size: .9rem; margin-bottom: 28px; }
.pill i { width: 26px; height: 26px; border-radius: 50%; background: var(--orange); border: 2px solid var(--ink); display: grid; place-items: center; font-style: normal; font-size: .8rem; }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 6.4rem); line-height: .98; }
.hero h1 .mark { position: relative; white-space: nowrap; display: inline-block; }
.hero h1 .mark::before { content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .04em; height: .42em; background: var(--orange); z-index: -1; border-radius: 4px; transform: rotate(-1.5deg); }
.hero h1 .bite { display: inline-block; background: var(--ink); color: var(--orange); padding: 0 .18em .06em; border-radius: .2em; transform: rotate(2deg); }
.hero-lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 520px; margin: 28px 0 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-weight: 700; font-size: .95rem; }
.hero-proof .faces { display: flex; flex: none; }
.hero-proof .faces img { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--ink); object-fit: cover; object-position: left top; margin-left: -12px; background: var(--white); }
.hero-proof .faces img:first-child { margin-left: 0; }

.collage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.collage .shot { position: absolute; width: 74%; background: var(--white); border: var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; transition: transform .5s var(--ease); }
.collage .shot b { display: flex; gap: 5px; padding: 8px 10px; border-bottom: var(--border); background: var(--paper-2); }
.collage .shot b i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ink); }
.collage .shot b i:first-child { background: var(--orange); }
.collage .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; height: auto; }
.collage .s1 { top: 0; left: 0; transform: rotate(-6deg); z-index: 1; }
.collage .s2 { top: 22%; right: 0; transform: rotate(5deg); z-index: 2; }
.collage .s3 { bottom: 2%; left: 8%; transform: rotate(-2deg); z-index: 3; }
.collage:hover .s1 { transform: rotate(-9deg) translate(-10px, -6px); }
.collage:hover .s2 { transform: rotate(8deg) translate(10px, 0); }
.collage:hover .s3 { transform: rotate(0) translateY(8px); }
.sticker {
  position: absolute; z-index: 4; right: 2%; bottom: 6%; width: 128px; height: 128px; border-radius: 50%;
  background: var(--orange); border: var(--border); box-shadow: var(--shadow); display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: .95rem; line-height: 1.05; letter-spacing: -.03em; transform: rotate(12deg);
  animation: wobble 5s ease-in-out infinite;
}
@keyframes wobble { 50% { transform: rotate(-4deg) scale(1.05); } }

/* ---------- Ticker ---------- */
.ticker { border-block: var(--border); background: var(--orange); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker__track span { font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.6rem); letter-spacing: -.03em; text-transform: uppercase; padding: 18px 28px; border-right: var(--border); white-space: nowrap; }
.ticker__track span:nth-child(odd) { background: var(--ink); color: var(--orange); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Section basics ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.label { display: inline-block; font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; margin-bottom: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2.2rem, 5.6vw, 4.8rem); }
.section-head p { max-width: 400px; color: var(--ink-soft); margin: 0; }

/* ---------- Showcase carousel ---------- */
.showcase { background: var(--ink); color: var(--paper); }
.showcase .label { background: var(--orange); }
.showcase .section-head p { color: #b9aea3; }
.stage { position: relative; overflow: hidden; padding: 20px 0 30px; touch-action: pan-y; user-select: none; }
.stage__track { display: flex; gap: clamp(20px, 3vw, 40px); transition: transform .7s var(--ease); will-change: transform; }
.stage.is-dragging .stage__track { transition: none; }
.slide {
  flex: 0 0 min(66vw, 880px); text-decoration: none; color: inherit; display: block;
  transform: scale(.86); opacity: .38; transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.slide.is-active { transform: scale(1); opacity: 1; }
.slide__frame { background: var(--white); border: 3px solid var(--paper); border-radius: 20px; overflow: hidden; box-shadow: 12px 12px 0 var(--orange); }
.slide__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--paper-2); color: var(--ink); border-bottom: 3px solid var(--ink); }
.slide__bar i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); }
.slide__bar i:first-child { background: var(--orange); }
.slide__bar span { margin-left: 10px; font-size: .8rem; font-weight: 700; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slide__img { aspect-ratio: 16 / 9; overflow: hidden; }
.slide__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; -webkit-user-drag: none; transition: transform 6s linear; }
.slide.is-active:hover .slide__img img { transform: translateY(-4%) scale(1.06); }
.slide__info { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 6px 0; }
.slide__info h3 { font-size: clamp(1.3rem, 2.6vw, 2.1rem); }
.slide__info small { display: block; color: #b9aea3; font-size: .95rem; margin-top: 8px; }
.slide__visit { flex: none; display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: .85rem; background: var(--orange); color: var(--ink); border: 3px solid var(--paper); border-radius: 999px; padding: 10px 18px; transition: transform .2s; }
.slide.is-active:hover .slide__visit { transform: rotate(-3deg) scale(1.05); }
.slide__visit svg { width: 16px; height: 16px; }

.stage-ui { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { font: 700 .85rem var(--body); color: var(--paper); background: transparent; border: 2px solid #4a423c; border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: all .25s; }
.tabs button:hover { border-color: var(--paper); }
.tabs button[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.stage-btns { display: flex; gap: 12px; }
.round { width: 58px; height: 58px; border-radius: 50%; border: 3px solid var(--paper); background: transparent; color: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.round:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); transform: scale(1.06); }
.round svg { width: 22px; height: 22px; }
.all-link { text-align: center; margin-top: clamp(44px, 6vw, 70px); }

/* ---------- Google reviews ---------- */
.reviews { background: var(--paper-2); border-block: var(--border); }
.rating-badge { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; background: var(--white); border: var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 14px 22px 14px 18px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.rating-badge:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.rating-badge__score { font-family: var(--display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.05em; line-height: 1; }
.rating-badge__right { display: grid; gap: 4px; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars svg, .review__stars svg { width: 20px; height: 20px; fill: currentColor; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.rating-badge__count { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.rating-badge__count b { color: var(--ink); }
.review-carousel[hidden] { display: none; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); gap: 22px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 4px 10px 16px 4px; margin: -4px -10px 0 -4px; }
.review-track::-webkit-scrollbar { display: none; }
.review-track .review { scroll-snap-align: start; }
.review-nav { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.review-arrow { width: 52px; height: 52px; border-radius: 50%; border: var(--border); background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: background .2s, transform .2s, box-shadow .2s; }
.review-arrow:hover:not(:disabled) { background: var(--orange); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.review-arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
.review-arrow svg { width: 20px; height: 20px; }
.review-dots { display: flex; gap: 8px; }
.review-dots[hidden] { display: none; }
.review-dots button { width: 12px; height: 12px; padding: 0; border-radius: 999px; border: 2px solid var(--ink); background: transparent; cursor: pointer; transition: width .3s var(--ease), background .3s; }
.review-dots button[aria-current="true"] { width: 32px; background: var(--orange); }
.review { margin: 0; background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review__stars { display: inline-flex; gap: 2px; color: var(--orange); }
.review__text { margin: 0; font-size: 1rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer; font: 700 .88rem var(--body); color: var(--ink); text-decoration: underline; margin-top: -6px; }
.review.is-open .review__text { -webkit-line-clamp: unset; display: block; }
.review__more[hidden] { display: none; }
.review__author { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 2px solid var(--paper-2); }
.review__author b { display: block; font-size: .98rem; }
.review__author b a { text-decoration: none; }
.review__author small { color: var(--ink-soft); font-size: .85rem; }
.review__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); overflow: hidden; background: var(--orange); display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-source { margin: 0 0 0 auto; font-size: .85rem; color: var(--ink-soft); }
.reviews-fallback { font-size: 1.15rem; color: var(--ink-soft); max-width: 620px; margin: 0; }
.reviews-fallback b { color: var(--ink); }
.reviews-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.aside-links { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-weight: 700; }
.aside-links a { color: var(--ink); }
@media (max-width: 1000px) { .review-track { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 640px) { .review-track { grid-auto-columns: 88%; } .review-source { width: 100%; margin: 4px 0 0; }
  .review-nav { gap: 10px; flex-wrap: wrap; } .review-arrow { width: 46px; height: 46px; }
  .review-dots { gap: 5px; flex: 1; justify-content: center; } .review-dots button { width: 8px; height: 8px; border-width: 1.5px; } .review-dots button[aria-current="true"] { width: 20px; } }
@media (max-width: 600px) { .reviews-cta .btn { flex: 1 1 auto; justify-content: center; } }

/* ---------- Services (rows) ---------- */
.rows { border-top: var(--border); }
a.row { text-decoration: none; color: inherit; cursor: pointer; }
.row {
  display: grid; grid-template-columns: 1fr 1.4fr 60px; gap: 24px; align-items: center;
  padding: 30px 20px; border-bottom: var(--border); position: relative; overflow: hidden; isolation: isolate;
}
.row::before { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.row:hover::before { transform: scaleY(1); }
.row__num { font-family: var(--display); font-weight: 800; font-size: 1rem; width: 56px; height: 56px; border: var(--border); border-radius: 50%; display: grid; place-items: center; background: var(--white); }
.row h3 { font-size: clamp(1.5rem, 3.2vw, 2.6rem); }
.row p { margin: 0; color: var(--ink-soft); transition: color .3s; }
.row:hover p { color: var(--ink); }
.row__arrow { width: 52px; height: 52px; border: var(--border); border-radius: 50%; display: grid; place-items: center; background: var(--white); transition: transform .4s var(--ease); }
.row__arrow svg { width: 20px; height: 20px; }
.row:hover .row__arrow { transform: rotate(-45deg); background: var(--ink); color: var(--orange); }

/* ---------- Process cards ---------- */
.process { background: var(--peach); border-block: var(--border); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:nth-child(even) { transform: translateY(30px); }
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.card:nth-child(even):hover { transform: translate(-3px, 27px); }
.card__step { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--orange); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; margin-bottom: 30px; line-height: 1; }
.card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Big quote ---------- */
.promise { text-align: center; }
.promise h2 { font-size: clamp(2rem, 5.4vw, 4.6rem); max-width: 16ch; margin: 0 auto; line-height: 1.3; }
.promise h2 span { background: var(--orange); border: var(--border); border-radius: 14px; padding: 0 .2em; box-shadow: 5px 5px 0 var(--ink); display: inline-block; transform: rotate(-2deg); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(44px, 6vw, 70px); text-align: left; }
.value { background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.value__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--orange); border: var(--border); display: grid; place-items: center; margin-bottom: 22px; }
.value__icon svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.3rem; margin-bottom: 10px; }
.promise .value p { margin: 0; max-width: none; font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
.promise h2 + p { color: var(--ink-soft); max-width: 560px; margin: 30px auto 0; font-size: 1.15rem; }

/* ---------- Story (Murphy + Leo) ---------- */
.story { background: var(--white); border-block: var(--border); }
.story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.story h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); margin-bottom: 14px; }
.story .story-sub { font-family: var(--display); font-weight: 600; font-size: clamp(.95rem, 1.6vw, 1.15rem); letter-spacing: -.02em; color: var(--ink-soft); margin: 0 0 28px; }
.story p { color: var(--ink-soft); font-size: 1.12rem; max-width: 520px; }
.story .story-aside { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -.02em; color: var(--ink); background: var(--peach); border: 2px solid var(--ink); border-radius: 999px; padding: 10px 18px 10px 14px; transform: rotate(-1.5deg); }
.story-aside svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.name-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.9rem); letter-spacing: -.04em; margin-bottom: 30px; }
.name-eq span { background: var(--paper); border: var(--border); border-radius: 12px; padding: 8px 16px; color: #a39a91; }
.name-eq b { color: var(--ink); }
.name-eq i { font-style: normal; color: var(--orange); }
.name-eq .result { background: var(--orange); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.dogs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dog { position: relative; transition: transform .4s var(--ease); }
.dog--murphy { transform: rotate(-3deg); }
.dog--leo { transform: rotate(3deg) translateY(40px); }
.dog:hover { transform: rotate(0) translateY(-6px); }
.dog--leo:hover { transform: rotate(0) translateY(34px); }
.dog__flip { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: inherit; cursor: pointer; perspective: 1400px; border-radius: 18px; }
.dog__flip:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }
.dog__inner { display: grid; transition: transform .7s var(--ease); transform-style: preserve-3d; }
.dog__flip[aria-pressed="true"] .dog__inner { transform: rotateY(180deg); }
.dog__face { grid-area: 1 / 1; display: flex; flex-direction: column; background: var(--white); border: var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 12px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.dog__back { transform: rotateY(180deg); background: var(--orange); padding: 22px 20px 12px; }
.dog__photo { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--peach); border: var(--border); display: block; }
.dog__photo img { width: 100%; height: 100%; object-fit: cover; }
.dog__name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.04em; text-align: center; padding: 12px 0 2px; }
.dog__hint { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--ink-soft); padding-bottom: 4px; margin-top: auto; }
.dog__hint svg { width: 14px; height: 14px; }
.dog__back .dog__hint { color: var(--ink); }
.dog__back-top { display: block; margin-bottom: 16px; }
.dog__back-name { display: block; font-family: var(--display); font-weight: 800; font-size: 2.1rem; letter-spacing: -.05em; line-height: 1; }
.dog__job { display: inline-block; margin-top: 10px; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.dog__facts { margin: 0 0 14px; display: grid; gap: 14px; }
.dog__facts div { border-top: 2px solid rgba(22, 18, 16, .25); padding-top: 8px; }
.dog__facts dt { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.dog__facts dd { margin: 4px 0 0; font-weight: 700; font-size: 1.15rem; line-height: 1.35; }
@media (prefers-reduced-motion: reduce) { .dog__inner { transition: none; } }
.dog__job { border-radius: 10px; line-height: 1.3; }
@media (max-width: 600px) {
  .dogs { gap: 14px; }
  .dog__back { padding: 16px 12px 10px; }
  .dog__back-name { font-size: 1.35rem; }
  .dog__job { font-size: .62rem; padding: 3px 8px; letter-spacing: .02em; }
  .dog__back-top { margin-bottom: 10px; }
  .dog__facts { gap: 6px; }
  .dog__facts div { padding-top: 5px; }
  .dog__facts dt { font-size: .6rem; }
  .dog__facts dd { font-size: .82rem; }
  .dog__hint { font-size: .68rem; text-align: center; }
  .dog__name { font-size: 1.1rem; }
}
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .dogs { max-width: 520px; padding-bottom: 40px; }
}

/* ---------- CTA ---------- */
.story + .cta { padding-top: clamp(60px, 8vw, 110px); }
.cta { padding: 0 0 clamp(80px, 10vw, 130px); }
.cta__card { background: var(--orange); border: var(--border); border-radius: 32px; box-shadow: var(--shadow-lg); padding: clamp(40px, 7vw, 90px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; position: relative; overflow: hidden; }
.cta__card h2 { font-size: clamp(2.6rem, 7vw, 6rem); line-height: .98; }
.cta__card p { font-size: 1.15rem; margin: 0 0 26px; }
.cta__email { display: inline-block; font-family: var(--display); font-weight: 800; font-size: clamp(1rem, 2vw, 1.35rem); letter-spacing: -.03em; text-decoration: none; background: var(--white); border: var(--border); border-radius: 14px; padding: 14px 20px; box-shadow: 4px 4px 0 var(--ink); word-break: break-all; transition: transform .2s, box-shadow .2s; }
.cta__email:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

.cta__btn { margin-top: 16px; }
.cta__card > div:last-child { display: flex; flex-direction: column; align-items: flex-start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 2px solid #3a332e; }
.footer-grid p { color: #b9aea3; max-width: 340px; margin: 18px 0 0; font-size: 1rem; }
.footer-grid h4 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--orange); }
.rebrand-note { margin-top: 24px; max-width: 360px; border: 2px solid #3a332e; border-radius: 16px; padding: 16px 18px; }
.rebrand-note__tag { display: inline-block; font-family: var(--display); font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: var(--orange); color: var(--ink); border-radius: 999px; padding: 4px 11px; }
.footer-grid .rebrand-note p { margin: 10px 0 0; color: var(--paper); font-size: .95rem; line-height: 1.5; }
.site-footer .logo svg rect { stroke: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; color: #b9aea3; font-size: .9rem; }

/* ---------- Projects page ---------- */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 6vw, 80px); }
.page-head h1 { font-size: clamp(3rem, 11vw, 10rem); line-height: .9; }
.page-head h1 span { color: var(--orange); -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; }
.page-head .intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-top: 34px; }
.page-head p { max-width: 540px; font-size: 1.2rem; color: var(--ink-soft); margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: 700 .9rem var(--body); background: var(--white); color: var(--ink); border: var(--border); border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: background .2s, transform .2s; }
.filters button:hover { transform: translateY(-2px); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--orange); }

.case-list { display: grid; gap: clamp(60px, 8vw, 110px); padding-bottom: clamp(80px, 10vw, 130px); }
.case { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.case:nth-child(even) { grid-template-columns: 1fr 1.25fr; }
.case:nth-child(even) .case__media { order: 2; }
.case[hidden] { display: none; }
.case__media { display: block; position: relative; background: var(--white); border: var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.case__media:hover { transform: translate(-4px, -4px) rotate(-.8deg); box-shadow: 14px 14px 0 var(--orange); }
.case__media img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; height: auto; }
.case__num { font-family: var(--display); font-weight: 800; font-size: clamp(3.5rem, 7vw, 6rem); color: var(--orange); -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; line-height: 1; display: block; margin-bottom: 18px; }
.case h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin-bottom: 18px; }
.case p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; }
.tags li { font-size: .82rem; font-weight: 700; padding: 5px 13px; border: 2px solid var(--ink); border-radius: 999px; background: var(--peach); }

/* ---------- Contact page ---------- */
.contact-head { padding-bottom: clamp(20px, 3vw, 30px); }
.contact-section { padding-top: clamp(30px, 4vw, 50px); }
.contact-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card { background: var(--white); border: var(--border); border-radius: 26px; box-shadow: var(--shadow-lg); padding: clamp(26px, 4vw, 50px); scroll-margin-top: 120px; }
.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.form-note { color: var(--ink-soft); font-size: .95rem; margin-bottom: 28px; }
.form-note b, .field label b { color: var(--orange); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.field label small { font-weight: 500; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; font: 500 1rem var(--body); color: var(--ink); background: var(--paper);
  border: var(--border); border-radius: 12px; padding: 14px 16px; transition: box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #a39a91; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: var(--white); box-shadow: 4px 4px 0 var(--orange); }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; background: #fdf0ee; }
.field-error { display: block; color: #b03a2e; font-size: .88rem; font-weight: 600; margin-top: 6px; min-height: 0; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { display: inline-block; font-weight: 700; font-size: .9rem; border: var(--border); border-radius: 999px; padding: 8px 16px; background: var(--paper); transition: background .2s, transform .2s; }
.chip-check:hover span { transform: translateY(-2px); }
.chip-check input:checked + span { background: var(--orange); }
.chip-check input:checked + span::before { content: "✓ "; }
.chip-check input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }
.captcha-field:not(.is-on) { display: none; }
.captcha { min-height: 78px; }
.captcha-note { font-size: .82rem; color: var(--ink-soft); margin: 18px 0 0; }
.captcha-note a { color: inherit; }
.contact-form:not(.has-captcha) .captcha-note { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { margin-top: 8px; }
.contact-form .btn[disabled] { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.form-alert { border: var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; font-weight: 600; background: #fdf0ee; }
.form-success { text-align: center; padding: clamp(20px, 4vw, 40px) 0; outline: none; }
.success-tick { width: 76px; height: 76px; border-radius: 50%; background: var(--orange); border: var(--border); box-shadow: var(--shadow); display: grid; place-items: center; margin: 0 auto 26px; }
.success-tick svg { width: 34px; height: 34px; }
.form-success p { color: var(--ink-soft); max-width: 420px; margin: 12px auto 26px; }

.contact-aside { display: grid; gap: 22px; position: sticky; top: 120px; }
.aside-card { background: var(--white); border: var(--border); border-radius: 22px; box-shadow: var(--shadow); padding: 28px; }
.aside-card--orange { background: var(--orange); }
.aside-card--orange .label { background: var(--white); }
.aside-card h3 { font-size: 1.35rem; margin-bottom: 18px; }
.aside-text { color: var(--ink-soft); margin: 0; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; }
.next-steps b { flex: none; width: 42px; height: 42px; border-radius: 50%; border: var(--border); background: var(--peach); display: grid; place-items: center; font-family: var(--display); font-size: .85rem; }
.next-steps strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -.02em; margin-bottom: 2px; }
.next-steps span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form .btn { width: 100%; justify-content: center; }
}

/* ---------- FAQs ---------- */
.faq-section { padding-top: 0; }
.faq-list { display: grid; gap: 14px; }
.faq { width: 100%; max-width: 900px; }
.faq { background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.faq[open] { box-shadow: 6px 6px 0 var(--orange); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.8vw, 1.2rem); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .faq__icon { background: var(--orange); }
.faq__icon { flex: none; width: 38px; height: 38px; border-radius: 50%; border: var(--border); background: var(--paper); position: relative; transition: transform .3s var(--ease), background .2s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq__icon { transform: rotate(45deg); background: var(--orange); }
.faq__answer { padding: 0 24px 22px; }
.faq__answer p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; max-width: 70ch; }
.process-faq { margin: 50px 0 0; font-weight: 700; font-size: 1.05rem; }
.process-faq a, .aside-faq a { color: var(--ink); }
.aside-faq { margin: 20px 0 0; padding-top: 16px; border-top: 2px solid var(--paper-2); font-weight: 700; font-size: .95rem; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .collage { justify-self: center; max-width: 520px; margin-top: 20px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(even), .card:nth-child(even):hover { transform: none; }
  .cta__card { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 6px);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px;
    background: var(--white); border: var(--border); border-radius: 24px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .3s var(--ease);
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { font-size: 1.15rem; padding: 14px 16px; }
  .nav .btn { justify-content: center; margin-top: 6px; }
  .row { grid-template-columns: 1fr 52px; padding: 26px 8px; gap: 12px 20px; }
  .row p { grid-column: 1 / -1; grid-row: 2; }
  .slide { flex-basis: 84vw; }
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .topbar { font-size: .8rem; }
  .cards { grid-template-columns: 1fr; }
  .row__arrow { width: 44px; height: 44px; }
  .slide__info { flex-direction: column; align-items: flex-start; }
  .slide__bar span { display: none; }
  .sticker { width: 100px; height: 100px; font-size: .78rem; }
  .stage-ui { justify-content: center; }
  .tabs { justify-content: center; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
