/* ───────── Doogies — brand tokens ───────── */
:root {
  --sky: #b9dae9;
  --sky-hero: #b9dee9; /* matches the top of the hero photo as the browser renders it */
  --terracotta: #b97b56;
  --brown: #4f3108;
  --brown-dark: #533305;
  --white: #fff;

  --font-logo: "Rammetto One", "Cooper Black", serif;
  --font-display: var(--font-logo); /* titles use the logo typeface */
  --font-body: "Arial Rounded MT Bold", "Nunito", "Helvetica Rounded", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--brown);
  background: var(--sky);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .01em;
}

/* ───────── Header ───────── */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--sky-hero);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: clamp(14px, 2.4vw, 48px) clamp(18px, 3vw, 64px) clamp(26px, 4.2vw, 88px);
}
/* Nav items are buttons: big hit area, pill highlight on hover/press. Negative margin keeps the resting layout identical to the design. */
.main-nav { display: flex; gap: clamp(2px, .4vw, 8px); font-size: clamp(15px, 2.1vw, 44px); margin-left: -.5em; }
.main-nav a {
  display: inline-block;
  padding: .3em .5em;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.1;
  transition: background-color .18s ease, color .18s ease, transform .1s ease;
}
.main-nav a:hover { background: rgba(79, 49, 8, .12); }
.main-nav a:active { background: var(--brown); color: var(--sky); transform: scale(.96); }
.main-nav a:focus-visible { outline: 3px solid var(--brown); outline-offset: 2px; border-radius: 999px; }

.logo {
  font-family: var(--font-logo);
  font-size: clamp(26px, 3.5vw, 74px);
  line-height: 1;
  color: var(--brown);
  letter-spacing: -.01em;
}

.header-icons { justify-self: end; display: flex; align-items: center; gap: clamp(14px, 3.6vw, 80px); }
.icon-btn {
  display: grid; place-items: center;
  width: clamp(26px, 3vw, 64px); height: clamp(26px, 3vw, 64px);
  padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--brown); fill: currentColor;
  transition: transform .15s ease;
}
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn svg { width: 100%; height: 100%; fill: currentColor; }

.search-bar { grid-column: 1 / -1; justify-self: end; margin-top: 12px; }
.search-bar input {
  font: inherit; font-size: 16px; color: var(--brown);
  width: min(320px, 80vw); padding: 10px 16px;
  border: 2px solid var(--brown); border-radius: 999px; background: rgba(255,255,255,.85);
}

/* ───────── Hero ───────── */
.hero {
  position: relative;
  aspect-ratio: 2168 / 1010; /* photo minus its empty top band; the header sits above it and never overlaps */
  min-height: 380px;
  width: 100%;
  overflow: hidden;
  background: var(--sky-hero);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%); mask-image: linear-gradient(to bottom, transparent, #000 10%); }
.hero-line {
  position: absolute;
  top: 56%;
  font-size: clamp(20px, 3.3vw, 72px);
  line-height: 1.1;
  color: var(--brown);
}
.hero-left { left: 6.9%; }
.hero-right { right: 7.6%; }

/* ───────── Collars ───────── */
.collars {
  background: var(--terracotta);
  color: var(--white);
  text-align: center;
  padding: clamp(72px, 8vw, 170px) clamp(18px, 2.3vw, 50px) clamp(96px, 11vw, 240px);
}
.collars .display { font-size: clamp(44px, 6.7vw, 148px); text-transform: uppercase; }
.collars-sub { font-size: clamp(16px, 2.1vw, 46px); margin: clamp(10px, 1.4vw, 30px) auto clamp(28px, 3.6vw, 80px); max-width: 60ch; }

.collar-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3.1vw, 68px);
  text-align: left;
}
.collar-grid a { display: block; }

/* Picture frame: on hover the photo blurs and a "Shop" button appears in the centre */
.collar-media {
  position: relative;
  overflow: hidden;              /* keeps the blur inside the frame */
  aspect-ratio: 5 / 4;
}
.collar-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: filter .35s ease, transform .5s ease;
}
.collar-media::after {           /* soft dark wash so the button stands out */
  content: ""; position: absolute; inset: 0;
  background: rgba(40, 22, 4, .18);
  opacity: 0; transition: opacity .35s ease;
}
.shop-btn {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  transform: translate(-50%, -40%) scale(.9);
  opacity: 0;
  background: var(--white); color: var(--brown);
  font-size: clamp(15px, 1.5vw, 32px); text-transform: uppercase; letter-spacing: .06em;
  padding: .6em 1.5em; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(40, 22, 4, .28);
  transition: opacity .3s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1), background-color .2s ease, color .2s ease;
  pointer-events: none;
}
.collar-grid a:hover .collar-media img,
.collar-grid a:focus-visible .collar-media img { filter: blur(6px); transform: scale(1.08); }
.collar-grid a:hover .collar-media::after,
.collar-grid a:focus-visible .collar-media::after { opacity: 1; }
.collar-grid a:hover .shop-btn,
.collar-grid a:focus-visible .shop-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.collar-grid a:active .shop-btn { background: var(--brown); color: var(--white); }

/* Touch screens have no hover: keep the Shop button visible, without the blur */
@media (hover: none) {
  .shop-btn { opacity: 1; top: auto; bottom: 10px; transform: translate(-50%, 0); font-size: 13px; padding: .5em 1.2em; }
}

.collar-name {
  display: block; margin-top: clamp(10px, 1.2vw, 26px);
  font-size: clamp(16px, 2.2vw, 46px); text-transform: uppercase; letter-spacing: .01em;
}

/* ───────── Our story ───────── */
.story {
  position: relative;
  aspect-ratio: 2168 / 1095;
  min-height: 420px;
  background: #2f3326;
  color: var(--white);
  overflow: hidden;
}
/* Taller than the section so it can drift on scroll without showing edges */
.story-bg {
  position: absolute; inset: -14% 0;
  background: url("images/story-weimaraner.jpg") center / cover no-repeat;
  will-change: translate;
}
.story-text { position: absolute; top: 8%; right: 4%; text-align: right; }
.story .display { font-size: clamp(38px, 6vw, 134px); text-transform: uppercase; text-shadow: 0 2px 18px rgba(0,0,0,.2); }
.story-text p { font-size: clamp(16px, 2.1vw, 46px); margin-top: .2em; }
.pill-btn {
  position: absolute; right: 3.8%; bottom: 13%;
  background: var(--white); color: #111;
  font-size: clamp(15px, 2vw, 44px);
  padding: .32em .65em; border-radius: .45em;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.pill-btn:hover { background: var(--terracotta); color: var(--white); transform: translateY(-2px); }

/* ───────── Handmade · Durable · Fun ───────── */
.values {
  position: relative;
  aspect-ratio: 2168 / 1095;
  min-height: 300px;
  background: var(--sky) url("images/handmade-dachshund.jpg") center / cover no-repeat;
  overflow: hidden;
}
.values-words {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--white);
  font-size: 11vw;
  line-height: .8;
  margin: 0;
}
.values-words > span { position: absolute; white-space: nowrap; }
.values-words .w1 { left: 1.6%; top: 7%; }
.values-words .w2 { left: 11.5%; top: 33%; }
.values-words .w3 { left: 37.5%; top: 63%; font-size: 1.55em; }
.values-front {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  pointer-events: none;
}

/* ───────── Footer ───────── */
/* Laptop and up: Menu | Additional Info | Subscribe on one row, then a thin
   line and the "Follow us" bar along the bottom */
.site-footer {
  background: var(--terracotta);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.7fr;
  column-gap: clamp(24px, 5vw, 120px);
  row-gap: clamp(30px, 3.2vw, 64px);
  padding: clamp(44px, 4.5vw, 96px) clamp(20px, 5vw, 110px) clamp(28px, 2.6vw, 52px);
  font-family: "Nunito", var(--font-body);
  font-weight: 700;
}
.follow {
  grid-column: 1 / -1; order: 1;
  display: flex; align-items: center; white-space: nowrap;
  gap: clamp(16px, 2vw, 40px);
  padding-top: clamp(22px, 2.4vw, 48px);
  border-top: 2px solid rgba(255, 255, 255, .3);
}
.follow .display { font-size: clamp(30px, 2.9vw, 64px); }
.insta { width: clamp(36px, 2.9vw, 62px); color: var(--white); fill: currentColor; transition: color .2s ease, transform .2s ease; }
.insta:hover { color: var(--brown-dark); transform: rotate(-6deg) scale(1.05); }
.insta svg { width: 100%; height: auto; display: block; }

.foot-col { display: flex; flex-direction: column; gap: .3em; font-size: clamp(16px, 1.3vw, 28px); line-height: 1.2; }
.foot-col h3 { font-size: clamp(22px, 1.9vw, 42px); font-weight: 700; margin-bottom: .4em; }
.foot-col a { align-self: flex-start; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: .15em; }
.subscribe h3 { margin-bottom: .2em; }
.subscribe > p { margin-bottom: .9em; max-width: 46ch; }

/* Email box and Sign Up button side by side, rounded like the other buttons */
.signup { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input {
  flex: 1 1 200px; min-width: 0;
  font: inherit; font-weight: 600; font-size: clamp(15px, 1.1vw, 22px);
  padding: .6em .9em; border: 0; border-radius: 999px;
  background: var(--white); color: #222;
}
.signup button {
  flex: 0 0 auto;
  font: inherit; font-size: clamp(14px, 1.05vw, 21px); letter-spacing: .04em; text-transform: uppercase;
  background: var(--brown-dark); color: var(--white); border: 0; border-radius: 999px;
  padding: .75em 1.8em; cursor: pointer;
  transition: background .2s ease;
}
.signup button:hover { background: #2e1c02; }
.signup-msg { flex-basis: 100%; font-size: clamp(14px, 1.1vw, 22px); }

:focus-visible { outline: 3px solid var(--brown-dark); outline-offset: 3px; border-radius: 4px; }

/* ───────── Tablet ───────── */
@media (max-width: 960px) {
  .collar-grid { grid-template-columns: repeat(2, 1fr); }
  /* Narrower screens: Menu + Info side by side, Subscribe full width below */
  .site-footer { grid-template-columns: 1fr 1fr; }
  .subscribe { grid-column: 1 / -1; }
}

/* ───────── Mobile ───────── */
@media (max-width: 640px) {
  .site-header { grid-template-columns: 1fr auto; row-gap: 14px; }
  .logo { grid-column: 1; grid-row: 1; }
  .header-icons { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }

  .hero { aspect-ratio: auto; height: 74svh; min-height: 480px; }
  .hero-img { top: auto; height: 80%; object-position: 55% 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%); mask-image: linear-gradient(to bottom, transparent, #000 14%); }
  .hero-line { font-size: 27px; }
  .hero-left { top: 6%; left: 18px; }
  .hero-right { top: calc(6% + 1.2em); right: auto; left: 18px; }

  .story { aspect-ratio: auto; min-height: 480px; }
  .story-bg { background-position: 30% center; }
  .story-text { top: 24px; right: 18px; }
  .pill-btn { right: 18px; bottom: 24px; }

  /* Phones: words stacked above, photo anchored bottom-right so nothing hides a word */
  .values { aspect-ratio: 4 / 5; background-size: auto 72%; background-position: 100% 100%; }
  .values-front { inset: auto 0 0 auto; width: auto; height: 72%; max-width: none; object-fit: initial; }
  .values-words { font-size: 13.5vw; }
  .values-words .w1 { left: 3%; top: 4%; }
  .values-words .w2 { left: 3%; top: 16%; }
  .values-words .w3 { left: 3%; top: 28%; }

  .signup button { flex: 1 1 100%; }
}

/* ───────── Scroll motion ───────── */
/* Only hidden when JS is running, so the page still shows everything without it */
.js .reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .9s ease, transform 1s cubic-bezier(.16, .84, .3, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal-zoom  { transform: translateY(60px) scale(.88); }
.js .reveal-left  { transform: translateX(-12vw); }
.js .reveal-right { transform: translateX(12vw); }
.js .reveal-pop   { transform: scale(.6) rotate(-4deg); transition-timing-function: ease, cubic-bezier(.34, 1.56, .64, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.values-words .reveal { display: inline-block; }

/* Hero: lines slide in from the sides and the dog settles in on load */
.hero-img { animation: hero-settle 1.6s cubic-bezier(.16, .84, .3, 1) both; will-change: translate, scale; }
.hero-left  { animation: slide-in-left  1s .35s cubic-bezier(.16, .84, .3, 1) both; }
.hero-right { animation: slide-in-right 1s .55s cubic-bezier(.16, .84, .3, 1) both; }
@keyframes hero-settle    { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes slide-in-left  { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes slide-in-right { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }

[data-parallax-x] { will-change: translate; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ═════════ About page ═════════ */
.main-nav a[aria-current="page"] { background: rgba(79, 49, 8, .12); }

.about-row {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 110px);
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
}
.about-row--flip { grid-template-columns: .85fr 1.15fr; }
.about-row--flip .about-photo { order: -1; }   /* photo on the left */

.about-copy p,
.about-more p {
  font-family: "Nunito", var(--font-body);
  font-weight: 700;
  font-size: clamp(18px, 1.85vw, 40px);
  line-height: 1.45;
}

.about-photo { margin: 0; width: 100%; max-width: 470px; justify-self: center; }
.about-photo img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  box-shadow: 0 18px 40px rgba(60, 30, 10, .22);
  transition: transform .4s ease;
}
.about-photo:hover img { transform: rotate(-1.5deg) scale(1.02); }

/* 1 · About us: photo banner, title centred */
.about-hero {
  position: relative;
  height: min(86vh, 62vw);
  min-height: 340px;
  overflow: hidden;
  display: flex; justify-content: center; align-items: center;
}
/* Taller than the section so it can drift on scroll without showing edges */
.about-hero-bg {
  position: absolute; inset: -14% 0;
  background: url("images/about-collars-hero.jpg") center 45% / cover no-repeat;
  will-change: translate;
}
/* Soft dark wash keeps the white title readable over the collars */
.about-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(30, 20, 5, .28);
}
.about-hero-title {
  position: relative; z-index: 1;
  font-size: clamp(52px, 9vw, 200px);
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 4px 28px rgba(0, 0, 0, .35);
}

/* 2 · Everything started in Spain (sky) + founder photo */
.about-intro {
  background: var(--sky-hero);
  color: var(--brown);
  padding: clamp(64px, 7vw, 150px) clamp(18px, 5vw, 110px) clamp(72px, 8vw, 170px);
}
.about-title { font-size: clamp(34px, 4.6vw, 100px); text-transform: uppercase; margin-bottom: .45em; }
.about-intro .about-copy p { max-width: 62ch; }
.about-intro .about-copy p + p { margin-top: .9em; }

/* 2 · Maasai products (terracotta) */
.maasai {
  background: var(--terracotta);
  color: var(--white);
  text-align: center;
  padding: clamp(72px, 8vw, 170px) clamp(18px, 5vw, 110px) clamp(80px, 9vw, 190px);
}
.maasai > .display { font-size: clamp(44px, 6.7vw, 148px); text-transform: uppercase; margin-bottom: clamp(36px, 4.5vw, 96px); }
/* Two matching cards: photo on top, short title, text below */
.maasai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 72px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}
.maasai-card {
  background: rgba(255, 255, 255, .1);
  border: 2px solid rgba(255, 255, 255, .25);
  border-radius: 22px;
  padding: clamp(16px, 1.6vw, 30px) clamp(16px, 1.6vw, 30px) clamp(24px, 2.4vw, 44px);
  text-align: center;
}
.maasai-card img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 14px; display: block;
  box-shadow: 0 14px 34px rgba(60, 30, 10, .22);
}
.maasai-card h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px, 2.2vw, 46px); text-transform: uppercase;
  margin: .8em 0 .45em;
}
.maasai-card p {
  font-family: "Nunito", var(--font-body); font-weight: 700;
  font-size: clamp(16px, 1.3vw, 26px); line-height: 1.5;
  max-width: 46ch; margin: 0 auto;
}
@media (max-width: 760px) {
  .maasai-grid { grid-template-columns: 1fr; max-width: 520px; }
}

.pill-btn--static {
  position: static;
  display: inline-block;
  margin-top: clamp(52px, 6vw, 130px);
  background: var(--white); color: var(--brown);
  font-size: clamp(16px, 1.7vw, 36px);
  padding: .55em 1.3em; border-radius: 999px;
}
.pill-btn--static:hover { background: var(--brown-dark); color: var(--white); }

/* Maasai and the footer are both terracotta: a fine line keeps them apart */
.page-about .site-footer { border-top: 2px solid rgba(255, 255, 255, .3); }

@media (max-width: 760px) {
  .about-row, .about-row--flip { grid-template-columns: 1fr; }
  .about-row--flip .about-photo { order: 0; }    /* phones: text first, then photo */
  .about-photo { max-width: 420px; }
}
/* Slide-in text starts off to the side: keep it from widening the page */
.about-intro, .maasai { overflow-x: clip; }
/* Founder photo: shown whole, in its own portrait shape (no crop) */
.about-photo--full img { aspect-ratio: auto; height: auto; object-fit: contain; }
.about-photo--full { max-width: 430px; }

/* ── Contact page ───────────────────────────────────────── */
.contact {
  background: var(--sky-hero);
  color: var(--brown);
  text-align: center;
  padding: clamp(40px, 5vw, 110px) clamp(18px, 5vw, 110px) clamp(80px, 9vw, 190px);
  overflow-x: clip;
}
.contact-title { font-size: clamp(48px, 7.5vw, 170px); text-transform: uppercase; }
.contact-sub {
  font-family: "Nunito", var(--font-body); font-weight: 700;
  font-size: clamp(17px, 1.7vw, 36px); line-height: 1.45;
  max-width: 40ch; margin: .5em auto 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 64px);
  max-width: 1040px;
  margin: clamp(40px, 5vw, 100px) auto 0;
}
.contact-card {
  display: flex; flex-direction: column; align-items: center;
  background: var(--white);
  color: var(--brown);
  text-decoration: none;
  border-radius: 26px;
  padding: clamp(28px, 3.4vw, 64px) clamp(18px, 2vw, 40px);
  box-shadow: 0 18px 40px rgba(79, 49, 8, .14);
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover, .contact-card:focus-visible { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(79, 49, 8, .22); }
.contact-icon {
  width: clamp(64px, 6vw, 110px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--terracotta); color: var(--white);
}
.contact-icon svg { width: 50%; height: 50%; }
.contact-card h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px, 2.1vw, 44px); text-transform: uppercase;
  margin: .75em 0 .3em;
}
.contact-detail {
  font-family: "Nunito", var(--font-body); font-weight: 800;
  font-size: clamp(17px, 1.6vw, 32px);
  overflow-wrap: anywhere;
}
.contact-cta {
  margin-top: 1.3em;
  background: var(--brown); color: var(--white);
  font-size: clamp(15px, 1.2vw, 24px);
  padding: .55em 1.3em; border-radius: 999px;
  transition: background .25s ease;
}
.contact-card:hover .contact-cta { background: var(--terracotta); }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; max-width: 460px; }
}

/* ── Shop page: quick add ───────────────────────────────── */
.shop {
  background: var(--terracotta);
  color: var(--white);
  text-align: center;
  padding: clamp(40px, 5vw, 110px) clamp(18px, 2.3vw, 50px) clamp(96px, 10vw, 220px);
  overflow-x: clip;
}
.shop-title { font-size: clamp(48px, 7.5vw, 170px); text-transform: uppercase; }
.shop-grid {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 1700px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 48px);
}
.quick-add {
  height: 100%;
  display: flex; flex-direction: column;
  background: var(--white); color: var(--brown);
  border-radius: 22px;
  padding: clamp(10px, 1vw, 18px) clamp(10px, 1vw, 18px) clamp(18px, 1.6vw, 30px);
  box-shadow: 0 18px 40px rgba(60, 30, 10, .18);
}
.shop-media { overflow: hidden; border-radius: 14px; aspect-ratio: 5 / 4; }
.shop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.quick-add:hover .shop-media img { transform: scale(1.05); }
.shop-name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px, 1.9vw, 42px); text-transform: uppercase;
  margin: .6em 0 .35em;
}
.size-pick { border: 0; padding: 0; margin: 0; min-width: 0; }
.size-pick legend {
  padding: 0; margin: 0 auto .55em;
  font-family: "Nunito", var(--font-body); font-weight: 800;
  font-size: clamp(13px, .95vw, 18px); text-transform: uppercase; letter-spacing: .08em; opacity: .75;
}
.size-opts { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.size-opts label { position: relative; cursor: pointer; }
.size-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size-opts span {
  display: grid; place-items: center;
  min-width: 2.6em; height: 2.6em; padding: 0 .4em;
  border: 2px solid rgba(79, 49, 8, .3); border-radius: 999px;
  font-family: "Nunito", var(--font-body); font-weight: 800;
  font-size: clamp(13px, .95vw, 18px);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.size-opts label:hover span { border-color: var(--brown); }
.size-opts input:checked + span { background: var(--brown); border-color: var(--brown); color: var(--white); }
.size-opts input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.need-size .size-opts span { border-color: #c0392b; }

.add-btn {
  margin-top: auto;
  align-self: stretch;
  font: inherit; font-size: clamp(15px, 1.15vw, 22px);
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--white); background: var(--brown);
  border: 0; border-radius: 999px; padding: .8em 1em;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.size-pick { margin-bottom: clamp(14px, 1.3vw, 24px); }
.add-btn:hover { background: var(--terracotta); }
.add-btn:active { transform: scale(.97); }
.add-btn.added { background: #3f7a4a; }
.add-msg {
  min-height: 1.4em; margin: .55em 0 0;
  font-family: "Nunito", var(--font-body); font-weight: 700;
  font-size: clamp(13px, .9vw, 17px);
}
.need-size .add-msg { color: #c0392b; }

@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; } }
@media (max-width: 540px)  { .shop-grid { grid-template-columns: 1fr; max-width: 400px; } }

/* ── Cart: count on the icon + slide-out panel (every page) ── */
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -8px; right: -10px;
  min-width: clamp(22px, 1.7vw, 36px); height: clamp(22px, 1.7vw, 36px); padding: 0 .35em;
  display: grid; place-items: center;
  border-radius: 999px; background: var(--terracotta); color: var(--white);
  font: 800 clamp(13px, 1vw, 20px)/1 "Nunito", var(--font-body);
  box-shadow: 0 0 0 2px var(--sky-hero);
  transition: background .2s ease;
}
/* Always shown, 0 included; an empty cart is brown, a cart with items is terracotta */
.cart-count:not(.show) { background: var(--brown); }
.cart-count.show { display: grid; }
.cart-count.bump { animation: bump .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.cart-drawer { position: fixed; inset: 0; z-index: 100; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(40, 22, 4, .45); opacity: 0; transition: opacity .3s ease; }
.cart-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  display: flex; flex-direction: column;
  background: var(--sky-hero); color: var(--brown);
  padding: 22px 22px 26px;
  box-shadow: -18px 0 40px rgba(40, 22, 4, .2);
  transform: translateX(100%); transition: transform .3s ease;
  outline: none;
}
.cart-drawer.open .cart-backdrop { opacity: 1; }
.cart-drawer.open .cart-panel { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cart-head .display { font-size: 28px; text-transform: uppercase; }
.cart-close { font-size: 34px; line-height: 1; background: none; border: 0; color: var(--brown); cursor: pointer; padding: 0 4px; }
.cart-empty { font-family: "Nunito", var(--font-body); font-weight: 700; font-size: 17px; }
.cart-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.cart-item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center;
  background: var(--white); border-radius: 14px; padding: 10px; margin-bottom: 10px;
}
.cart-item img { width: 76px; height: 62px; object-fit: cover; border-radius: 10px; }
.cart-info { display: flex; flex-direction: column; gap: 2px; font-family: "Nunito", var(--font-body); font-weight: 700; font-size: 14px; }
.cart-info strong { font-family: var(--font-display); font-weight: 400; font-size: 17px; text-transform: uppercase; }
.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.cart-qty button {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid rgba(79, 49, 8, .3); background: none; color: var(--brown);
  font: 800 15px/1 "Nunito", var(--font-body); cursor: pointer;
}
.cart-qty button:hover { border-color: var(--brown); }
.cart-remove { background: none; border: 0; color: var(--brown); text-decoration: underline; font: 700 13px "Nunito", var(--font-body); cursor: pointer; }
.cart-foot { border-top: 2px solid rgba(79, 49, 8, .15); padding-top: 14px; text-align: center; }
.cart-total { font-family: "Nunito", var(--font-body); font-weight: 800; font-size: 16px; margin: 0 0 12px; }
.cart-shop {
  display: block; background: var(--brown); color: var(--white);
  border-radius: 999px; padding: .8em 1em; text-transform: uppercase; letter-spacing: .05em; font-size: 15px;
}
.cart-shop:hover { background: var(--terracotta); }

/* "See more": secondary button under Add to cart, leads to each collar's own page */
.more-btn {
  display: block;
  margin-top: 10px;
  font-size: clamp(15px, 1.15vw, 22px);
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--brown);
  border: 2px solid var(--brown); border-radius: 999px;
  padding: calc(.8em - 2px) 1em;
  transition: background .2s ease, color .2s ease;
}
.more-btn:hover, .more-btn:focus-visible { background: var(--brown); color: var(--white); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Shipping & Returns page ────────────────────────────── */
.policy-intro, .policy-shipping {
  background: var(--sky-hero);
  color: var(--brown);
  text-align: center;
  padding-left: clamp(18px, 5vw, 110px); padding-right: clamp(18px, 5vw, 110px);
}
.policy-intro { padding-top: clamp(40px, 5vw, 110px); padding-bottom: clamp(24px, 3vw, 60px); }
.policy-shipping { padding-top: clamp(40px, 4vw, 90px); padding-bottom: clamp(80px, 9vw, 190px); }
.policy-returns {
  background: var(--terracotta);
  color: var(--white);
  text-align: center;
  padding: clamp(72px, 8vw, 170px) clamp(18px, 5vw, 110px) clamp(80px, 9vw, 190px);
}
.policy-intro, .policy-shipping, .policy-returns { overflow-x: clip; }
.policy-shipping, .policy-returns { scroll-margin-top: 0; }

.policy-title { font-size: clamp(42px, 6.5vw, 150px); text-transform: uppercase; }
.policy-h2 { font-size: clamp(36px, 5vw, 110px); text-transform: uppercase; margin-bottom: clamp(28px, 3.5vw, 72px); }
.policy-lead {
  font-family: "Nunito", var(--font-body); font-weight: 700;
  font-size: clamp(17px, 1.6vw, 34px); line-height: 1.45;
  max-width: 48ch; margin: .6em auto 0;
}
.policy-returns .policy-h2 { margin-bottom: .3em; }
.policy-returns .policy-lead { margin: 0 auto clamp(32px, 4vw, 80px); }

/* Quick links to each half of the page */
.policy-jump { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.6vw, 50px); }
.policy-jump a {
  font-size: clamp(15px, 1.2vw, 24px); text-transform: uppercase; letter-spacing: .05em;
  border: 2px solid var(--brown); border-radius: 999px; padding: .55em 1.4em;
  transition: background .2s ease, color .2s ease;
}
.policy-jump a:hover, .policy-jump a:focus-visible { background: var(--brown); color: var(--white); }

/* Shipping: four white cards */
.policy-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 48px);
  max-width: 1240px; margin: 0 auto;
  text-align: left;
}
.policy-card {
  background: var(--white); border-radius: 24px;
  padding: clamp(24px, 2.6vw, 52px);
  box-shadow: 0 18px 40px rgba(79, 49, 8, .12);
}
.policy-card h3, .policy-steps h3, .policy-box h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(21px, 1.8vw, 40px); text-transform: uppercase; line-height: 1.1;
  margin-bottom: .55em;
}
.policy-card p, .policy-steps p, .policy-box li, .policy-cta p {
  font-family: "Nunito", var(--font-body); font-weight: 700;
  font-size: clamp(16px, 1.25vw, 26px); line-height: 1.5;
}
.policy-card p + p { margin-top: .7em; }
.policy-card strong, .policy-steps strong, .policy-box strong { font-weight: 900; }
.policy-note { opacity: .75; font-size: clamp(14px, 1.05vw, 21px) !important; }

.policy-times { margin: .8em 0; }
.policy-times div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: .55em 0; border-bottom: 2px dashed rgba(79, 49, 8, .18);
  font-family: "Nunito", var(--font-body); font-size: clamp(16px, 1.25vw, 26px);
}
.policy-times dt { font-weight: 800; }
.policy-times dd { margin: 0; font-weight: 700; text-align: right; }

/* Returns: three numbered steps */
.policy-steps {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 48px);
  max-width: 1240px; margin: 0 auto;
}
.policy-steps li {
  background: rgba(255, 255, 255, .12);
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 24px;
  padding: clamp(24px, 2.4vw, 48px) clamp(18px, 2vw, 40px);
}
.step-num {
  display: grid; place-items: center; margin: 0 auto .7em;
  width: clamp(48px, 4vw, 80px); aspect-ratio: 1; border-radius: 50%;
  background: var(--white); color: var(--terracotta);
  font-family: var(--font-display); font-size: clamp(22px, 2vw, 40px);
}

.policy-box {
  max-width: 1240px; margin: clamp(22px, 2.6vw, 52px) auto 0;
  background: var(--white); color: var(--brown);
  border-radius: 24px; padding: clamp(24px, 2.6vw, 52px);
  text-align: left;
}
.policy-box ul { margin: 0; padding-left: 1.2em; }
.policy-box li + li { margin-top: .5em; }
.policy-box li::marker { color: var(--terracotta); }

.policy-cta { margin-top: clamp(44px, 5vw, 100px); }
.policy-cta .pill-btn--static { margin-top: .6em; overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .policy-steps { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 700px) {
  .policy-grid { grid-template-columns: 1fr; max-width: 560px; }
}

/* ── Collar (product) pages ─────────────────────────────── */
.product {
  background: var(--sky-hero);
  color: var(--brown);
  padding: clamp(16px, 2vw, 40px) clamp(18px, 5vw, 110px) clamp(64px, 7vw, 150px);
}
.crumbs {
  max-width: 1400px; margin: 0 auto clamp(16px, 2vw, 36px);
  font-family: "Nunito", var(--font-body); font-weight: 700; font-size: clamp(14px, 1vw, 19px);
}
.crumbs a { text-decoration: underline; text-underline-offset: .15em; }
.crumbs span { margin: 0 .4em; opacity: .5; }
.product-row {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 90px); align-items: start;
}

/* Gallery */
.gallery-main {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: 24px; background: var(--white);
  box-shadow: 0 18px 40px rgba(79, 49, 8, .14);
}
.gallery-img { width: 100%; height: 100%; object-fit: cover; }
.gallery-arrow {
  position: absolute; top: 50%; translate: 0 -50%;
  width: clamp(40px, 3.4vw, 60px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  border: 0; background: var(--white); color: var(--brown); cursor: pointer;
  box-shadow: 0 6px 16px rgba(40, 22, 4, .2);
  transition: transform .2s ease;
}
.gallery-arrow:hover { transform: scale(1.08); }
.gallery-arrow svg { width: 45%; height: 45%; }
.gallery-arrow.prev { left: 14px; }
.gallery-arrow.next { right: 14px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 20px); margin-top: clamp(10px, 1.2vw, 20px); }
.thumb {
  aspect-ratio: 1; padding: 0; overflow: hidden; cursor: pointer;
  border: 3px solid transparent; border-radius: 16px; background: var(--white);
  opacity: .7; transition: opacity .2s ease, border-color .2s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.is-active { opacity: 1; border-color: var(--brown); }

/* Details (reuses the Shop quick-add logic, but without the white card) */
.product-info.quick-add { display: block; height: auto; background: none; box-shadow: none; border-radius: 0; padding: 0; text-align: left; }
.product-name { font-size: clamp(44px, 5.5vw, 120px); text-transform: uppercase; line-height: 1; }
.product-sub, .product-price { font-family: "Nunito", var(--font-body); }
.product-sub { font-weight: 700; font-size: clamp(17px, 1.4vw, 28px); margin-top: .4em; }
.product-price { font-weight: 900; font-size: clamp(20px, 1.7vw, 34px); margin: .5em 0 clamp(18px, 2vw, 36px); }

.product-info .size-pick { margin-bottom: clamp(18px, 1.8vw, 34px); }
.product-info .size-pick legend, .field-label {
  display: block; margin: 0 0 .6em;
  font-family: "Nunito", var(--font-body); font-weight: 900;
  font-size: clamp(14px, 1vw, 19px); text-transform: uppercase; letter-spacing: .08em;
}
.field-label em { font-style: normal; font-weight: 700; text-transform: none; letter-spacing: 0; opacity: .7; }
.product-info .size-opts { justify-content: flex-start; gap: 10px; }
.product-info .size-opts span { min-width: 3.2em; height: 3.2em; font-size: clamp(14px, 1.05vw, 20px); background: var(--white); border-color: transparent; }
.product-info .size-opts label:hover span { border-color: var(--brown); }
.product-info .size-opts input:checked + span { background: var(--brown); border-color: var(--brown); }

.qty-row { margin-bottom: clamp(18px, 1.8vw, 34px); }
.qty { display: inline-flex; align-items: center; background: var(--white); border-radius: 999px; padding: 4px; }
.qty button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; cursor: pointer;
  font: 800 22px/1 "Nunito", var(--font-body); color: var(--brown);
}
.qty button:hover { background: var(--sky-hero); }
.qty input {
  width: 3em; text-align: center; border: 0; background: none; color: var(--brown);
  font: 800 18px "Nunito", var(--font-body); -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.note-field { display: block; margin-bottom: clamp(20px, 2vw, 38px); }
.note-field input {
  width: 100%; border: 0; border-radius: 999px; background: var(--white); color: var(--brown);
  font: 700 clamp(15px, 1.1vw, 20px) "Nunito", var(--font-body);
  padding: .9em 1.2em;
}
.product-info .add-btn { width: 100%; padding: 1em; font-size: clamp(16px, 1.25vw, 24px); }
.product-info .add-btn:hover { background: var(--terracotta); }
.product-info .add-msg { text-align: center; }

.product-desc {
  margin-top: clamp(20px, 2vw, 38px); padding-top: clamp(20px, 2vw, 38px);
  border-top: 2px solid rgba(79, 49, 8, .15);
  font-family: "Nunito", var(--font-body); font-weight: 700;
  font-size: clamp(16px, 1.2vw, 24px); line-height: 1.55;
}
.product-facts { margin: .9em 0; padding-left: 1.2em; }
.product-facts li::marker { color: var(--terracotta); }
.product-ship { font-size: .9em; }
.product-ship a { text-decoration: underline; text-underline-offset: .15em; }

/* More collars */
.more-collars {
  background: var(--terracotta); color: var(--white); text-align: center;
  padding: clamp(64px, 7vw, 150px) clamp(18px, 5vw, 110px) clamp(72px, 8vw, 170px);
  overflow-x: clip;
}
.more-collars .display { font-size: clamp(40px, 5.5vw, 120px); text-transform: uppercase; margin-bottom: clamp(28px, 3.5vw, 72px); }
.more-grid {
  list-style: none; padding: 0; margin: 0 auto; max-width: 1240px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 56px);
}
.more-grid a { display: block; }
.more-media { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 20px; box-shadow: 0 14px 34px rgba(60, 30, 10, .22); }
.more-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.more-grid a:hover .more-media img, .more-grid a:focus-visible .more-media img { transform: scale(1.07); }
.more-name { display: block; margin-top: .6em; font-family: var(--font-display); font-size: clamp(20px, 2vw, 42px); text-transform: uppercase; }
.more-collars .pill-btn--static { margin-top: clamp(36px, 4vw, 80px); }

.cart-note { font-size: 13px; font-weight: 700; opacity: .75; }

@media (max-width: 860px) {
  .product-row { grid-template-columns: 1fr; max-width: 600px; }
}
@media (max-width: 640px) {
  .more-grid { grid-template-columns: 1fr; max-width: 400px; }
}
/* Stand-in dog photos are very wide: keep the dog in frame when shown square */
.gallery img[src$="handmade-dachshund.jpg"] { object-position: 78% 60%; }
.gallery img[src$="story-weimaraner.jpg"] { object-position: 30% 40%; }
.gallery img[src$="hero-vizsla.jpg"] { object-position: 50% 70%; }

/* ── Real sizes: letter on top, neck length underneath ──── */
.size-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.size-opts label { display: block; }
.size-opts span {
  min-width: 0; height: auto; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15em;
  padding: .5em .2em; border-radius: 14px;
  line-height: 1.05;
}
.size-opts b { font-weight: 900; font-size: 1.15em; }
.size-opts small { font-weight: 700; font-size: max(11px, .74em); white-space: nowrap; opacity: .85; }
.size-width { text-transform: none; letter-spacing: 0; font-weight: 700; }
.card-price {
  font-family: "Nunito", var(--font-body); font-weight: 900;
  font-size: clamp(17px, 1.3vw, 26px); margin: -.1em 0 .6em;
}

/* Collar pages: roomier size buttons */
.product-info .size-opts { gap: 10px; max-width: 520px; }
.product-info .size-opts span { min-width: 0; height: auto; padding: .75em .3em; font-size: clamp(15px, 1.15vw, 22px); }
.product-info .product-price { margin: .5em 0 clamp(18px, 2vw, 36px); }

.cart-price { font-size: 13px; opacity: .8; }
.cart-total strong { font-weight: 900; }

/* ── Sizes in inches: one range per button, 2 × 2 on Shop cards ── */
.size-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.size-opts span {
  padding: .7em .3em; border-radius: 12px;
  font-weight: 800; white-space: nowrap;
}
.size-pick legend .size-width { margin-left: .3em; }
.size-pick legend .size-width:empty { display: none; }
.product-info .size-opts { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 600px; }
.product-info .size-opts span { padding: .85em .3em; font-size: clamp(14px, 1.05vw, 19px); }
@media (max-width: 520px) {
  .product-info .size-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Email request (no online checkout) ─────────────────── */
.shop-how {
  font-family: "Nunito", var(--font-body); font-weight: 700;
  font-size: clamp(15px, 1.2vw, 24px); line-height: 1.45;
  max-width: 54ch; margin: calc(-1 * clamp(14px, 2vw, 44px)) auto clamp(28px, 3.4vw, 70px);
  background: rgba(255, 255, 255, .14); border-radius: 18px; padding: .8em 1.2em;
}
.ask-btn {
  display: block; margin-top: 10px; text-align: center;
  font-size: clamp(15px, 1.15vw, 22px); text-transform: uppercase; letter-spacing: .05em;
  color: var(--brown); border: 2px solid var(--brown); border-radius: 999px;
  padding: calc(1em - 2px) 1em;
  transition: background .2s ease, color .2s ease;
}
.ask-btn:hover, .ask-btn:focus-visible { background: var(--brown); color: var(--white); }
.cart-email {
  display: block; margin-bottom: 8px;
  background: var(--terracotta); color: var(--white);
  border-radius: 999px; padding: .85em 1em;
  text-transform: uppercase; letter-spacing: .05em; font-size: 15px;
}
.cart-email:hover { background: var(--brown); }
.cart-email[hidden], .cart-how[hidden] { display: none; }
.cart-how { font-family: "Nunito", var(--font-body); font-weight: 700; font-size: 13px; line-height: 1.4; margin: 0 0 12px; opacity: .8; }
.cart-shop { background: none; color: var(--brown); border: 2px solid var(--brown); }
.cart-shop:hover { background: var(--brown); color: var(--white); }

/* ── Forms that send to the inbox ───────────────────────── */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }   /* hidden bot trap */
[role="status"].is-error { color: #a12a1c; }
[role="status"].is-error a { text-decoration: underline; }

/* List panel request form */
.request-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.request-form[hidden] { display: none; }
.request-form .cart-how { margin: 0 0 4px; }
.request-form input {
  width: 100%; border: 0; border-radius: 999px; background: var(--white); color: var(--brown);
  font: 700 15px "Nunito", var(--font-body); padding: .75em 1.1em;
}
.request-form textarea {
  width: 100%; border: 0; border-radius: 18px; background: var(--white); color: var(--brown);
  font: 700 15px "Nunito", var(--font-body); padding: .75em 1.1em; resize: vertical; min-height: 4.6em;
}
.request-form textarea::placeholder { color: inherit; opacity: .55; }
.request-form .cart-email { border: 0; cursor: pointer; font: inherit; font-size: 15px; margin: 4px 0 0; }
.request-form .cart-email:disabled { opacity: .7; cursor: wait; }
.cart-alt { font-family: "Nunito", var(--font-body); font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: .15em; opacity: .8; }
.req-msg { font-family: "Nunito", var(--font-body); font-weight: 800; font-size: 15px; line-height: 1.4; margin: 0 0 12px; }

/* Contact page form */
.contact-form {
  max-width: 1040px; margin: clamp(36px, 4.5vw, 90px) auto 0;
  background: var(--white); border-radius: 26px;
  padding: clamp(24px, 3vw, 56px);
  box-shadow: 0 18px 40px rgba(79, 49, 8, .14);
  text-align: left;
  display: flex; flex-direction: column; gap: 12px;
}
.contact-form h2 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(22px, 2.1vw, 44px); margin-bottom: .3em; text-align: center;
}
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 2px solid rgba(79, 49, 8, .18); background: var(--sky-hero); color: var(--brown);
  font: 700 clamp(15px, 1.1vw, 20px) "Nunito", var(--font-body);
  padding: .8em 1.1em; border-radius: 20px;
}
.contact-form input { border-radius: 999px; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brown); }
.contact-form button {
  align-self: center; margin-top: 6px;
  font: inherit; font-size: clamp(15px, 1.15vw, 22px); text-transform: uppercase; letter-spacing: .05em;
  background: var(--brown); color: var(--white); border: 0; border-radius: 999px;
  padding: .8em 2.4em; cursor: pointer; transition: background .2s ease;
}
.contact-form button:hover { background: var(--terracotta); }
.contact-form button:disabled { opacity: .7; cursor: wait; }
.contact-msg { text-align: center; font-family: "Nunito", var(--font-body); font-weight: 800; font-size: clamp(15px, 1.1vw, 20px); }
@media (max-width: 640px) { .contact-fields { grid-template-columns: 1fr; } }
