/* Shampoodle: olive pet portrait poster */
@font-face { font-family: 'Playfair Display'; src: url('/assets/fonts/playfair-var.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url('/assets/fonts/mulish-var.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --bg: #FFFFF3;
  --surface: #E9EBD8;
  --text: #30331D;
  --muted: #5B5E43;
  --primary: #686C3A;
  --primary-hover: #53572D;
  --accent: #C7CDA1;
  --border: #B0B596;
  --head: 'Playfair Display', Georgia, serif;
  --body: 'Mulish', system-ui, sans-serif;
  --gutter: 20px;
  --gap: 64px;
  --max: 1120px;
}
@media (min-width: 900px) { :root { --gutter: 40px; --gap: 112px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/28px var(--body); -webkit-font-smoothing: antialiased; }
@media (min-width: 900px) { body { font-size: 18px; line-height: 29px; } }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 700; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.section--olive :focus-visible, .footer :focus-visible { outline-color: var(--bg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(620px + var(--gutter) * 2); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--text); color: var(--bg); padding: 10px 14px; z-index: 50; }
.skip:focus { top: 12px; }

.h2 { font-size: 32px; line-height: 38px; margin-bottom: 24px; }
@media (min-width: 900px) { .h2 { font-size: 46px; line-height: 53px; margin-bottom: 32px; } }
.h3 { font-size: 30px; line-height: 1.2; margin-bottom: 24px; }
@media (min-width: 900px) { .h3 { font-size: 36px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border-radius: 10px; background: var(--primary); color: var(--bg); border: 2px solid var(--primary); font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn--outline { background: transparent; color: var(--primary); }
.btn--outline:hover { background: var(--surface); color: var(--primary-hover); }
.btn--small { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.text-link { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--primary-hover); text-decoration-thickness: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--accent); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
@media (min-width: 900px) { .nav__inner { min-height: 76px; } }
.brand { font: 700 24px/1 var(--head); color: var(--primary); text-decoration: none; letter-spacing: -.01em; }
.nav__toggle { min-height: 48px; padding: 0 18px; background: transparent; color: var(--text); border: 2px solid var(--primary); border-radius: 10px; font: 700 15px/1 var(--body); cursor: pointer; }
.nav__toggle-close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: inline; }
.nav__menu { display: none; }
.nav__menu.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--border); animation: menu-in .18s ease; }
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nav__menu.is-open { animation: none; } }
.nav__menu a:not(.btn) { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--accent); }
.nav__menu a:not(.btn):hover { color: var(--primary); }
.nav__menu .btn { margin-top: 16px; }
@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__menu, .nav__menu.is-open { display: flex; flex-direction: row; align-items: center; gap: 32px; position: static; padding: 0; border: 0; animation: none; }
  .nav__menu a:not(.btn) { border: 0; min-height: 44px; font-size: 16px; }
  .nav__menu .btn { margin-top: 0; }
}

/* Hero: single portrait poster with lower title band */
.hero { padding: 32px 0 64px; }
.hero__inner { display: flex; flex-direction: column; gap: 24px; }
.hero__band { display: contents; }
.hero__text { order: 1; }
.hero__side { order: 2; }
.hero__photo { order: 3; border-radius: 10px; overflow: hidden; }
.hero__photo img { width: 100%; aspect-ratio: 795 / 972; }
.hero__meta { order: 4; display: grid; gap: 6px; }
.hero__title { font-size: 46px; line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 14px; }
.hero__sub { font-size: 18px; color: var(--muted); max-width: 34ch; }
.hero__actions { display: grid; gap: 12px; }
.hero__caption, .hero__proof { font-size: 14px; line-height: 22px; color: var(--muted); }
.hero__proof a { text-underline-offset: 3px; }
.hero__scroll { margin-top: 10px; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 560px) { .hero__actions { grid-template-columns: auto auto; justify-content: start; } }
@media (min-width: 900px) {
  .hero { padding: 56px 0 104px; }
  .hero__inner { align-items: center; gap: 0; }
  .hero__photo { order: 0; width: 440px; }
  .hero__band { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; width: 100%; max-width: 900px; margin-top: -12px; position: relative; z-index: 1; background: var(--bg); padding: 28px 0 0; border-top: 1px solid var(--border); }
  .hero__title { font-size: 74px; margin-bottom: 16px; }
  .hero__sub { font-size: 19px; max-width: none; }
  .hero__actions { grid-template-columns: 1fr; width: 240px; }
  .hero__meta { order: 0; width: 100%; max-width: 900px; margin-top: 28px; grid-template-columns: auto auto 1fr; gap: 24px; align-items: center; }
  .hero__scroll { margin: 0; justify-self: end; }
}

/* Sections */
.section { padding: var(--gap) 0; }
.section--surface { background: var(--surface); }
.section--olive { background: var(--primary); color: var(--bg); padding: 48px 0; }
@media (min-width: 900px) { .section--olive { padding: 80px 0; } }

.intro { font-size: 19px; line-height: 1.55; max-width: 44ch; margin-bottom: 40px; }
.intro--muted { color: var(--muted); font-size: 17px; }
@media (min-width: 900px) { .intro { font-size: 22px; margin-bottom: 56px; } .intro--muted { font-size: 18px; } }
.rows { border-top: 1px solid var(--border); }
.row { display: grid; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.row__title { font-size: 24px; line-height: 1.2; }
.row p { color: var(--muted); max-width: 56ch; }
@media (min-width: 900px) { .row { grid-template-columns: 1fr 1.4fr; gap: 48px; padding: 40px 0; } .row__title { font-size: 30px; } }

#team p { max-width: 60ch; margin-bottom: 18px; }
#team p:first-of-type { font-size: 19px; line-height: 1.6; }

.quote blockquote { margin: 0 0 20px; }
.quote blockquote p { font: 700 40px/1.08 var(--head); letter-spacing: -.02em; max-width: 18ch; }
@media (min-width: 900px) { .quote blockquote p { font-size: 72px; } }
.quote figcaption { font-size: 15px; color: var(--accent); }
.quote figcaption a { color: var(--bg); text-underline-offset: 3px; }

.work { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.work img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
@media (min-width: 900px) { .work { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* Contact */
.contact { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.details { margin: 0 0 40px; display: grid; gap: 18px; }
.details dt { font-size: 14px; line-height: 22px; color: var(--muted); font-weight: 600; }
.details dd { margin: 0; }
.details dd > a:not(.text-link) { font-weight: 700; color: var(--text); text-underline-offset: 4px; overflow-wrap: anywhere; }
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 700; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; font-size: 24px; line-height: 1; color: var(--primary); flex: none; }
.faq__item[open] .faq__q::after { content: '\2212'; }
.faq__a { padding: 0 0 18px; color: var(--muted); }

.form { background: var(--bg); padding: 28px 20px; border-radius: 10px; border: 1px solid var(--border); }
@media (min-width: 900px) { .form { padding: 40px; } }
.form__title { font-size: 28px; line-height: 1.2; margin-bottom: 24px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--muted); border-radius: 8px; background: #fff; color: var(--text); font: 400 17px/1.4 var(--body); }
.field textarea { resize: vertical; min-height: 120px; }
.field [aria-invalid="true"] { border: 2px solid #9B2C1E; }
.field__error { color: #9B2C1E; font-size: 14px; font-weight: 700; margin-top: 4px; }
.field__error:empty { display: none; }
.form__status { margin-top: 16px; font-weight: 600; }
.form__status:empty { display: none; }
.form__status[data-state="ok"] { padding: 14px 16px; background: var(--surface); border-left: 3px solid var(--primary); }
.form__status[data-state="error"] { color: #9B2C1E; }

.footer { background: var(--primary); color: var(--bg); padding: 40px 0; font-size: 15px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer__logo { width: 104px; height: 104px; border: 1px solid rgba(255,255,243,.4); }
.footer p + p { margin-top: 4px; }
.footer a { color: var(--bg); text-underline-offset: 3px; }
.footer__credit { font-size: 13px; opacity: .9; margin-top: 10px !important; }

.js-motion [data-fade-in] { opacity: 0; }
