/* ===========================================================
   Tassucat - Warm Minimalism
   Style DNA tokens are LOCKED. Every radius/shadow/border/transition
   in this file traces back to one of the tokens declared in :root.
   =========================================================== */

:root {
  /* surfaces */
  --cream-100: #FAF7F2;
  --cream-50:  #FFF8F0;
  --cream-200: #F2EBE0;
  --sand:      #E8DCC8;

  /* ink */
  --clay-900: #2E1F18;
  --clay-700: #4A3328;
  --clay-500: #5A4135;   /* AAA-pass (8.6:1 on cream); was #7A5C4D */
  --clay-300: #7A5C4D;   /* decorative/large-text only (5.7:1) */

  /* accents */
  --terracotta:        #C97559;   /* decorative, large-text only */
  --terracotta-medium: #A85D43;   /* large-text or non-text accents */
  --terracotta-deep:   #6E3C28;   /* AAA-pass body text + CTA bg (7.9:1 on cream, 9.0:1 white-on) */
  --terracotta-darker: #5A3322;   /* hover/active state */
  --sage:              #7A8A6F;
  --sage-soft:         #E5EAE0;
  --sage-text:         #2F3527;   /* AAA-pass chip text (10.5:1 on sage-soft) */

  --ink-line: rgba(92, 58, 46, .10);
  --ink-line-strong: rgba(92, 58, 46, .18);

  /* DNA - radii (4 values only) */
  --r-card:  14px;
  --r-btn:   10px;
  --r-pill:  999px;
  --r-line:  0px;

  /* DNA - shadows (warm-tinted) */
  --shadow-sm: 0 1px 2px rgba(92, 58, 46, .06);
  --shadow-md: 0 6px 18px rgba(92, 58, 46, .08);
  --shadow-lg: 0 18px 48px rgba(92, 58, 46, .12);
  --shadow-modal: 0 32px 80px rgba(92, 58, 46, .20);

  /* DNA - motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-sm: 220ms;
  --t-md: 350ms;
  --t-lg: 450ms;

  /* type */
  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --sans:  "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* layout */
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 48px);
  --section-pad: clamp(64px, 10vw, 128px);
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html {
  background: var(--cream-100);
  color: var(--clay-700);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream-100);
  position: relative;
  overflow-x: hidden;
}

/* paper-grain texture across the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .36  0 0 0 0 .23  0 0 0 0 .18  0 0 0 .9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }

a {
  color: var(--clay-900);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-sm) var(--ease);
}
a:hover { color: var(--terracotta-deep); }

button { font: inherit; cursor: pointer; }

::selection { background: var(--sand); color: var(--clay-900); }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: var(--r-btn);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--clay-900);
  color: var(--cream-50);
  padding: 12px 18px;
  border-radius: var(--r-btn);
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.svg-defs { width: 0; height: 0; position: absolute; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ============================ TYPOGRAPHY ============================ */

h1, h2, h3, h4, .display, .display-2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--clay-900);
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}

.display {
  font-size: clamp(48px, 9vw, 104px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.96;
}
.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
}
.display-2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-500);
}
.eyebrow em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  color: var(--terracotta-deep);
}

.lead, .section-lede {
  font-size: clamp(17px, 1.25vw, 19px);
  color: var(--clay-700);
  max-width: 56ch;
}

.muted { color: var(--clay-500); font-size: 14px; }

.dash { color: var(--terracotta-deep); padding-right: 6px; }

/* Abbreviations & domain terms - subtle dotted underline hints there's a tooltip */
abbr[title], dfn[title] {
  text-decoration: underline dotted var(--clay-300);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  cursor: help;
  font-style: inherit;
}
abbr[title] { font-variant: inherit; }
dfn[title] { font-style: inherit; }

/* ============================ BUTTONS / LINKS ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-sm) var(--ease), color var(--t-sm) var(--ease), transform var(--t-sm) var(--ease), box-shadow var(--t-sm) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--terracotta-deep);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--terracotta-darker);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--clay-900);
  border-color: var(--ink-line-strong);
}
.btn-outline:hover {
  background: var(--clay-900);
  color: var(--cream-50);
  border-color: var(--clay-900);
}

.btn-ghost {
  background: transparent;
  color: var(--clay-900);
  padding-inline: 8px;
}
.btn-ghost:hover { color: var(--terracotta-deep); }
.btn-ghost .btn-arrow { width: 16px; height: 16px; transition: transform var(--t-sm) var(--ease); }
.btn-ghost:hover .btn-arrow { transform: translateX(4px); }

.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 12px 0;
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--clay-900);
  letter-spacing: 0.02em;
  position: relative;
  min-height: 44px;
  transition: color var(--t-sm) var(--ease);
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  border-bottom: 1px solid var(--ink-line-strong);
  transition: border-color var(--t-sm) var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform var(--t-sm) var(--ease); }
.link-arrow:hover { color: var(--terracotta-deep); }
.link-arrow:hover::after { border-bottom-color: var(--terracotta-deep); }
.link-arrow:hover svg { transform: translateX(4px); }

.chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chip-sage {
  background: var(--sage-soft);
  color: var(--sage-text);
}

/* ============================ HEADER ============================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, .72);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--ink-line);
  transition: padding var(--t-md) var(--ease), background var(--t-md) var(--ease);
}
.site-header.is-condensed {
  background: rgba(250, 247, 242, .85);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  transition: height var(--t-md) var(--ease);
}
.site-header.is-condensed .header-row { height: 64px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--clay-900);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill);
  background: var(--terracotta);
  color: var(--cream-50);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-name { line-height: 1; }

.brand-header { gap: 0; }
.brand-footer { gap: 0; margin-bottom: 20px; }
.brand-logo {
  display: block;
  height: 50px;
  width: auto;
  transition: transform var(--t-md) var(--ease), height var(--t-md) var(--ease);
  user-select: none;
}
/* Header logo: SVG luminance-to-alpha filter punches white background out so the logo punches through the translucent header to whatever is scrolling behind */
.brand-header .brand-logo {
  filter: url(#logo-matte);
}
.site-header.is-condensed .brand-logo { height: 38px; }
.brand-header:hover .brand-logo { transform: scale(1.04) rotate(-1.5deg); }
.brand-header:active .brand-logo { transform: scale(0.98); }

/* Footer logo: invert colors so dark "ink" parts become light, then screen-blend so the now-black background drops into the dark footer */
.brand-logo-dark {
  height: 56px;
  filter: invert(1);
  mix-blend-mode: screen;
}
.brand-footer:hover .brand-logo-dark { transform: scale(1.04) rotate(-1.5deg); }
.brand-footer:active .brand-logo-dark { transform: scale(0.98); }

.primary-nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.primary-nav a, .primary-nav button {
  background: transparent;
  border: 0;
  padding: 12px 8px;
  margin: 0 -8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--clay-700);
  text-decoration: none;
  position: relative;
  transition: color var(--t-sm) var(--ease);
}
.primary-nav [aria-current="location"] {
  color: var(--clay-900);
}
.primary-nav [aria-current="location"]::after {
  transform: scaleX(1);
}
.primary-nav a::after, .primary-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-sm) var(--ease);
}
.primary-nav a:hover, .primary-nav button:hover { color: var(--clay-900); }
.primary-nav a:hover::after, .primary-nav button:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-btn);
  border: 1px solid var(--ink-line-strong);
  background: transparent;
  color: var(--clay-900);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--gut) 24px;
  border-top: 1px solid var(--ink-line);
  background: var(--cream-100);
}
.mobile-nav a, .mobile-nav button {
  background: transparent;
  border: 0;
  text-align: left;
  padding: 14px 0;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 18px;
  color: var(--clay-700);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--ink-line);
}
.mobile-nav [aria-current="location"] { color: var(--clay-900); }

/* ============================ HERO ============================ */

.hero {
  padding-block: clamp(48px, 8vw, 96px) var(--section-pad);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero-copy { z-index: 2; }
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { margin-bottom: 36px; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--clay-500);
}
.hero-meta svg { width: 18px; height: 18px; color: var(--terracotta); }

.hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}
.bento {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--cream-50);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  transition: transform var(--t-md) var(--ease), box-shadow var(--t-md) var(--ease);
}
.bento img { width: 100%; height: 100%; object-fit: cover; }
.bento-1 { transform: rotate(-1.5deg); }
.bento-2 { transform: rotate(1deg) translateY(20px); }
.bento-3 { transform: rotate(-0.5deg) translateY(-12px); }
.bento-4 { transform: rotate(1.2deg); }
.bento:hover {
  transform: rotate(0) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* ============================ SERVICES ============================ */

.services {
  padding-block: var(--section-pad);
  background: linear-gradient(180deg, var(--cream-100), var(--cream-50));
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 20px; }

.bento-services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.service {
  grid-column: span 4;
  background: var(--cream-50);
  padding: 0;
  border-radius: var(--r-card);
  border: 1px solid var(--ink-line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  transition: transform var(--t-md) var(--ease), box-shadow var(--t-md) var(--ease);
}
.service-lg {
  grid-column: span 8;
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--cream-200) 220%);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  align-items: stretch;
}
.service-lg .service-thumb {
  aspect-ratio: 1/1;
  min-height: 0;
  order: 2;
  height: 100%;
}
.service-lg .service-thumb img { object-fit: cover; }
.service-lg .service-body { padding: 36px; display: flex; flex-direction: column; gap: 12px; order: 1; justify-content: center; }
.service-cat {
  background: var(--cream-50);
  border-color: rgba(122, 138, 111, .35);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-thumb {
  margin: 0;
  aspect-ratio: 4/3;
  background: var(--cream-200);
  overflow: hidden;
  position: relative;
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-md) var(--ease);
}
.service:hover .service-thumb img { transform: scale(1.04); }
.service-thumb-square { aspect-ratio: 1/1; }
.service-thumb-wide { aspect-ratio: 4/3; }
.service > .chip,
.service > h3,
.service > p,
.service > .link-arrow {
  margin-inline: 28px;
}
.service > .chip { margin-top: 28px; }
.service > .link-arrow { margin-bottom: 28px; margin-top: auto; align-self: flex-start; }
.service > h3,
.service-lg .service-body h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  margin-block: 6px 4px;
}
.service > p,
.service-lg .service-body p {
  font-size: 15.5px;
  color: var(--clay-700);
  margin-block: 0;
}
.service-lg .service-body .link-arrow { margin-top: auto; align-self: flex-start; }

.services-foot {
  margin-top: 36px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--clay-500);
  max-width: 60ch;
}

/* ============================ PRICING ============================ */

.pricing {
  padding-block: var(--section-pad);
  background: var(--cream-100);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
}
.pricing-head { max-width: 720px; }
.pricing-head .eyebrow { margin-bottom: 16px; }
.pricing-head h2 { margin-bottom: 20px; }

.price-list {
  background: var(--cream-50);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 40px);
  box-shadow: var(--shadow-md);
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--ink-line);
}
.price-row:last-child { border-bottom: 0; }
.price-row-feature .price-name h3 { color: var(--terracotta-deep); }

.price-name h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 6px;
}
.price-name p {
  margin: 0;
  font-size: 14.5px;
  color: var(--clay-500);
  max-width: 56ch;
}
.leader {
  display: block;
  height: 1px;
  background-image: linear-gradient(to right, var(--ink-line-strong) 50%, transparent 0);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  margin-bottom: 8px;
  min-width: 30px;
}
.price-tag {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--clay-500);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.price-tag strong {
  display: inline-block;
  margin-left: 6px;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--terracotta-deep);
  font-weight: 600;
  font-style: italic;
}

.cancellation {
  background: transparent;
  padding: 24px 28px;
  border-left: 2px solid var(--terracotta);
  border-radius: var(--r-line);
  max-width: 720px;
}
.cancellation h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 8px;
}
.cancellation p {
  margin: 0;
  font-size: 14.5px;
  color: var(--clay-700);
}

/* ============================ ABOUT ============================ */

.about-teaser {
  padding-block: var(--section-pad);
  background: var(--cream-200);
  position: relative;
  overflow: hidden;
}
.about-teaser .paper-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n2'><feTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n2)'/></svg>");
}
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-copy .eyebrow { margin-bottom: 16px; }
.about-copy h2 { margin-bottom: 28px; max-width: 14ch; }
.pull {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  color: var(--clay-900);
  max-width: 32ch;
  margin: 0 0 24px;
}
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--clay-700);
  margin: 0 0 28px;
  display: block;
}
.signature-text {
  position: relative;
  display: inline-block;
}
.about-cta {
  display: inline-flex;
  margin-top: 4px;
}
.about-portrait figure {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  background: var(--cream-50);
  transform: rotate(1deg);
  transition: transform var(--t-md) var(--ease), box-shadow var(--t-md) var(--ease);
  will-change: transform;
}
.about-portrait img {
  width: 100%; height: 100%; object-fit: cover;
  animation: bentoFloat 9s var(--ease) infinite;
  transform-origin: center center;
}
.about-portrait figure:hover {
  transform: rotate(0) scale(1.025);
  box-shadow: var(--shadow-lg);
}
.about-portrait figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(46, 31, 24, .25) 100%);
  opacity: 0;
  transition: opacity var(--t-md) var(--ease);
  pointer-events: none;
}
.about-portrait figure { position: relative; }
.about-portrait figure:hover::after { opacity: 1; }

/* ============================ CONTACT ============================ */

.contact-teaser {
  padding-block: var(--section-pad);
  background: var(--cream-100);
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 4fr 5fr 4fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.contact-portrait {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--cream-200);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--t-md) var(--ease), box-shadow var(--t-md) var(--ease);
  will-change: transform;
}
.contact-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: bentoFloat 8s var(--ease) infinite;
  animation-delay: 1.5s;
  transform-origin: center center;
}
.contact-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(46, 31, 24, .28) 100%);
  opacity: 0;
  transition: opacity var(--t-md) var(--ease);
  pointer-events: none;
}
.contact-portrait:hover {
  transform: scale(1.025);
  box-shadow: var(--shadow-lg);
}
.contact-portrait:hover::after { opacity: 1; }
.contact-left { padding-top: 8px; }
.contact-left .eyebrow { margin-bottom: 16px; }
.contact-left h2 { margin-bottom: 24px; }
.contact-left p { max-width: 50ch; margin-bottom: 40px; }
.contact-left .btn { margin-bottom: 12px; }

.contact-card {
  background: var(--sage-soft);
  border-radius: var(--r-card);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(122, 138, 111, .25);
}
.contact-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 20px;
  color: #364530;
}
.contact-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.contact-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(122, 138, 111, .25);
}
.contact-list li:last-of-type { border-bottom: 0; }
.cl-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-text);
}
.cl-value {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--clay-900);
  font-weight: 500;
}
a.cl-value { text-decoration: none; }
a.cl-value:hover { color: var(--terracotta-deep); }


/* ============================ FOOTER ============================ */

.site-footer {
  background: var(--clay-900);
  color: var(--cream-200);
  padding-block: clamp(56px, 8vw, 96px) 40px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 4fr 4fr 3fr;
  gap: clamp(24px, 4vw, 56px);
}
.footer-col .brand {
  color: var(--cream-50);
  margin-bottom: 20px;
}
.footer-col p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 248, 240, .72); }
.footer-col a { color: var(--cream-50); text-decoration: none; border-bottom: 1px solid rgba(255, 248, 240, .25); }
.footer-col a:hover { color: var(--terracotta); border-color: var(--terracotta); }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-50);
  margin: 0 0 18px;
}
.footer-col .muted { color: rgba(255, 248, 240, .55); }
.copyright { font-size: 12px !important; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 248, 240, .45) !important; margin-top: 24px !important; }

.socials {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 248, 240, .25);
  color: var(--cream-50);
  transition: background var(--t-sm) var(--ease), border-color var(--t-sm) var(--ease), color var(--t-sm) var(--ease);
}
.socials a:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--cream-50); }
.socials a svg { width: 18px; height: 18px; }

/* ============================ MODALS ============================ */

.modal {
  border: 0;
  padding: 0;
  margin: auto;
  background: transparent;
  color: inherit;
  max-width: min(960px, calc(100vw - 24px));
  width: 100%;
}
.modal-narrow { max-width: min(680px, calc(100vw - 24px)); }
.modal::backdrop { background: rgba(46, 31, 24, 0); transition: background var(--t-sm) var(--ease); }
.modal[open]::backdrop { background: rgba(46, 31, 24, .55); backdrop-filter: blur(2px); }

.modal-inner {
  background: var(--cream-50);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-modal);
  max-height: min(92vh, 920px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: scale(.96);
  transition: opacity var(--t-md) var(--ease), transform var(--t-md) var(--ease);
}
.modal[open] .modal-inner {
  opacity: 1;
  transform: scale(1);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--ink-line);
  padding-bottom: clamp(20px, 3vw, 28px);
  background: var(--cream-50);
  position: sticky;
  top: 0;
  z-index: 1;
}
.modal-head h2 { margin-top: 6px; }
.modal-sub {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay-500);
  font-size: 16px;
}
.modal-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--cream-100);
  border: 1px solid var(--ink-line);
  color: var(--clay-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-sm) var(--ease), color var(--t-sm) var(--ease), transform var(--t-sm) var(--ease);
}
.modal-close:hover { background: var(--clay-900); color: var(--cream-50); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }

.modal-body {
  padding: clamp(24px, 3vw, 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-section {
  padding-block: clamp(20px, 2.4vw, 32px);
  border-bottom: 1px solid var(--ink-line);
  scroll-margin-top: 96px;
}
.modal-section:first-child { padding-top: 8px; }
.modal-section:last-child { border-bottom: 0; }
.modal-section h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  margin: 0 0 16px;
}
.modal-section p {
  margin: 0 0 40px;
  font-size: 16px;
  color: var(--clay-700);
}
.modal-section p:last-child { margin-bottom: 0; }
.modal-section p.big {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--clay-900);
  line-height: 1.3;
  margin-block: 18px;
}
.modal-section p.big a { color: var(--terracotta-deep); border-bottom: 2px solid var(--terracotta); }
.modal-section p.lift {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  color: var(--clay-900);
  border-left: 2px solid var(--terracotta);
  padding: 8px 0 8px 20px;
  margin-block: 24px;
}
.modal-section p.warn {
  background: var(--cream-200);
  border-left: 2px solid var(--terracotta);
  padding: 16px 20px;
  border-radius: var(--r-line);
  font-size: 14.5px;
  color: var(--clay-700);
  margin-top: 18px;
}

.ms-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.ms-grid-rev { grid-template-columns: 1fr 1.2fr; }
.ms-grid-rev .ms-text { order: 2; }
.ms-grid-rev .ms-photo { order: 1; }
.ms-text { min-width: 0; }
.ms-photo {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--cream-100);
  box-shadow: var(--shadow-md);
}
.ms-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) {
  .ms-grid, .ms-grid-rev { grid-template-columns: 1fr; }
  .ms-grid-rev .ms-text { order: 0; }
  .ms-grid-rev .ms-photo { order: 0; }
  .ms-photo { aspect-ratio: 4/3; }
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.tag-row li {
  background: var(--sage-soft);
  color: var(--sage-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}

.check-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--ink-line);
  font-size: 16px;
  color: var(--clay-700);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: var(--r-pill);
  background: var(--sage-soft);
  border: 2px solid var(--sage);
}

.modal-prices {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.modal-prices > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ink-line);
}
.modal-prices > div:last-child { border-bottom: 0; }
.modal-prices dt {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--terracotta-deep);
}
.modal-prices dd {
  margin: 0;
  font-size: 15px;
  color: var(--clay-700);
}

.modal-narrative .heritage-mark {
  margin: 0 0 24px;
  background: var(--cream-100);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-card);
  padding: 18px 24px;
  display: flex;
  justify-content: center;
}
.modal-narrative .heritage-mark img {
  height: 56px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}
.modal-narrative .portrait {
  margin: 0 0 32px;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--cream-100);
  box-shadow: var(--shadow-md);
}
.modal-narrative .portrait img { width: 100%; height: 100%; object-fit: cover; }
.modal-narrative .portrait-pets {
  aspect-ratio: 7/8;
  margin: 28px 0 12px;
  max-width: 420px;
}
.modal-narrative .caption {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--clay-500);
  font-style: normal;
  margin-top: 0;
  max-width: 420px;
}
.modal-narrative p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  color: var(--clay-900);
  font-weight: 400;
  margin: 0 0 max(48px, 2.4em);
  max-width: 56ch;
}
.modal-narrative p.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--terracotta-deep);
  margin-top: 24px;
}

.contact-card-modal {
  display: flex;
  flex-direction: column;
}
.contact-card-modal > div { padding-block: 16px 8px; }
.contact-card-modal h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 10px;
}
.contact-card-modal p { margin: 0 0 40px; }
.contact-card-modal p:last-child { margin-bottom: 0; }
.contact-card-modal hr {
  border: 0;
  border-top: 1px solid var(--ink-line);
  margin: 8px 0;
}
.contact-card-modal .socials a {
  border-color: var(--ink-line-strong);
  color: var(--clay-900);
}
.contact-card-modal .socials a:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--cream-50); }

/* lock body scroll while modal is open */
body.modal-open { overflow: hidden; }

/* ============================ REVEALS ============================ */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-lg) var(--ease), transform var(--t-lg) var(--ease);
  transition-delay: var(--rd, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance: split-line stagger */
.hero-line {
  --i: 0;
}
.hero-line > span {
  display: inline-block;
}
.hero-eyebrow {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp .6s var(--ease) forwards;
  animation-delay: 80ms;
}
.eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--terracotta);
  margin-right: 10px;
  vertical-align: middle;
  animation: pulse 2.4s var(--ease) infinite;
}
.hero-title .hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.18em;
  line-height: 1;
}
.hero-title .hero-line + .hero-line {
  margin-top: -0.18em;
}
.hero-title .hero-line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp .8s var(--ease) forwards;
  animation-delay: calc(180ms + var(--i) * 90ms);
  padding-bottom: 0.04em;
  line-height: 0.96;
}
.hero-copy > .hero-line:not(.hero-title .hero-line) {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp .7s var(--ease) forwards;
  animation-delay: calc(280ms + var(--i) * 90ms);
}
.hero-bento.hero-line {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .9s var(--ease) forwards;
  animation-delay: calc(280ms + var(--i) * 90ms);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lineUp {
  to { transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: .6; }
}
@keyframes ringIcon {
  0%, 60%, 100% { transform: rotate(0); }
  10% { transform: rotate(-12deg); }
  20% { transform: rotate(12deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  50% { transform: rotate(-4deg); }
}
@keyframes pawWiggle {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-8deg) scale(1.06); }
  40% { transform: rotate(8deg) scale(1.06); }
  60% { transform: rotate(-4deg) scale(1.04); }
  80% { transform: rotate(4deg) scale(1.02); }
}
@keyframes leaderDraw {
  from { background-position: -100% 0; }
  to   { background-position: 0 0; }
}
@keyframes shineSweep {
  from { transform: translateX(-120%) skewX(-20deg); }
  to   { transform: translateX(220%) skewX(-20deg); }
}
@keyframes signDraw {
  from { stroke-dashoffset: 200; }
  to   { stroke-dashoffset: 0; }
}

/* Hero bento: figure has static tilt + smooth hover. Idle motion lives on the img inside (decoupled, no jumping). */
.bento {
  --btf: rotate(0deg);
  transform: var(--btf);
  transition: transform var(--t-md) var(--ease), box-shadow var(--t-md) var(--ease);
  will-change: transform;
}
.bento-1 { --btf: rotate(-1.5deg); }
.bento-2 { --btf: rotate(1deg) translateY(20px); }
.bento-3 { --btf: rotate(-0.5deg) translateY(-12px); }
.bento-4 { --btf: rotate(1.2deg); }
.bento img {
  animation: bentoFloat 7s var(--ease) infinite;
  animation-delay: var(--bd, 0s);
  transform-origin: center center;
  will-change: transform;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bento-link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  color: inherit;
}
.bento-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46, 31, 24, 0) 50%, rgba(46, 31, 24, .55) 100%);
  opacity: 0;
  transition: opacity var(--t-md) var(--ease);
  pointer-events: none;
  z-index: 1;
}
.bento-cta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream-50);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t-md) var(--ease), transform var(--t-md) var(--ease);
  pointer-events: none;
}
.bento-cta svg { width: 14px; height: 14px; transition: transform var(--t-sm) var(--ease); }
.bento-link:hover::before,
.bento-link:focus-visible::before { opacity: 1; }
.bento-link:hover .bento-cta,
.bento-link:focus-visible .bento-cta { opacity: 1; transform: translateY(0); }
.bento-link:hover .bento-cta svg { transform: translateX(4px); }
.bento-link-wrap { cursor: pointer; }
@keyframes bentoFloat {
  0%, 100% { transform: scale(1) translateY(0); }
  50%      { transform: scale(1.02) translateY(-3px); }
}
.bento:hover {
  transform: rotate(0) scale(1.04);
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 100;
  pointer-events: none;
  background: transparent;
}
.scroll-progress > span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--terracotta);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  transition: transform 100ms linear;
}

/* Magnetic CTA */
.magnetic {
  position: relative;
  will-change: transform;
  transition: background var(--t-sm) var(--ease), color var(--t-sm) var(--ease), box-shadow var(--t-sm) var(--ease), transform 240ms var(--ease);
  overflow: hidden;
}
.magnetic .btn-text { position: relative; z-index: 1; }
.magnetic .btn-arrow { width: 16px; height: 16px; transition: transform var(--t-sm) var(--ease); }
.magnetic:hover .btn-arrow { transform: translateX(4px); }
.magnetic::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 248, 240, .35) 50%, transparent 100%);
  transform: translateX(-150%) skewX(-20deg);
  pointer-events: none;
}
.magnetic:hover::after {
  animation: shineSweep 900ms var(--ease) forwards;
}

/* Hero meta icons */
.hero-meta li { transition: color var(--t-sm) var(--ease); }
.hero-meta li:hover { color: var(--clay-900); }
.hero-meta li:hover .ic-ring { animation: ringIcon 900ms var(--ease); }
.hero-meta li:hover .ic-tick { transform: scale(1.12) rotate(-4deg); transition: transform var(--t-sm) var(--ease); }

/* Brand-mark paw playful hover */
.brand:hover .brand-mark { animation: pawWiggle 600ms var(--ease); }
.brand-mark { transition: transform var(--t-sm) var(--ease); }

/* Service card refinements */
.service { position: relative; }
.service .chip { transition: transform var(--t-sm) var(--ease), background var(--t-sm) var(--ease); transform-origin: left center; }
.service:hover .chip { transform: rotate(-1.5deg) translateY(-2px); }
.service .link-arrow svg { transition: transform var(--t-sm) var(--ease); }
.service:hover .link-arrow svg { transform: translateX(6px); }
.service:hover h3 { color: var(--terracotta-deep); transition: color var(--t-sm) var(--ease); }
.service h3 { transition: color var(--t-sm) var(--ease); }

/* Stagger reveal helpers (set --rd by JS) */
[data-stagger] > .reveal { transition-delay: var(--rd, 0ms); }

/* Pricing row interactivity */
.price-row {
  transition: background var(--t-sm) var(--ease);
  border-radius: var(--r-line);
  position: relative;
}
.price-row:hover { background: rgba(201, 117, 89, .04); }
.price-row .leader {
  background-image: linear-gradient(to right, var(--ink-line-strong) 50%, transparent 0);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  background-position: 100% 0;
  transition: background-position var(--t-md) var(--ease);
}
.price-row:hover .leader {
  background-position: 0 0;
}
.price-tag strong {
  display: inline-block;
  transition: transform var(--t-sm) var(--ease), color var(--t-sm) var(--ease);
  transform-origin: right center;
}
.price-row:hover .price-tag strong { transform: scale(1.06); color: var(--terracotta-darker); }

/* Eyebrow underline-on-hover for headings with em (italic) */
.eyebrow em {
  position: relative;
}
.eyebrow em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-md) var(--ease);
}
.section-head:hover .eyebrow em::after,
.pricing-head:hover .eyebrow em::after,
.about-copy:hover .eyebrow em::after { transform: scaleX(1); }

/* Signature handwritten reveal - underline draws under the text only */
.about-copy.is-in .signature-text::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8'><path d='M2 6 Q 50 1, 100 5 T 198 4' fill='none' stroke='%23C97559' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='200' stroke-dashoffset='200'><animate attributeName='stroke-dashoffset' from='200' to='0' dur='1s' fill='freeze'/></path></svg>") no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* Contact card list-row interactivity */
.contact-list li { transition: transform var(--t-sm) var(--ease); }
.contact-list li:hover { transform: translateX(4px); }
.contact-list a.cl-value { position: relative; }
.contact-list a.cl-value::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-sm) var(--ease);
}
.contact-list a.cl-value:hover::after { transform: scaleX(1); }

/* Phone-button wiggles its icon on hover */
.btn-primary:not(.magnetic):hover svg { animation: ringIcon 900ms var(--ease); }

/* Modal entrance stagger - children of modal-body */
.modal[open] .modal-body > * {
  animation: fadeUp .6s var(--ease) backwards;
}
.modal[open] .modal-body > *:nth-child(1) { animation-delay: 80ms; }
.modal[open] .modal-body > *:nth-child(2) { animation-delay: 140ms; }
.modal[open] .modal-body > *:nth-child(3) { animation-delay: 200ms; }
.modal[open] .modal-body > *:nth-child(4) { animation-delay: 260ms; }
.modal[open] .modal-body > *:nth-child(5) { animation-delay: 320ms; }
.modal[open] .modal-body > *:nth-child(n+6) { animation-delay: 380ms; }

/* Socials hover spin */
.socials a { transition: background var(--t-sm) var(--ease), border-color var(--t-sm) var(--ease), color var(--t-sm) var(--ease), transform var(--t-md) var(--ease); }
.socials a:hover { transform: rotate(-8deg) scale(1.08); }
.socials a:active { transform: scale(.96); }

/* Header brand wordmark micro-tilt on hover */
.brand-name {
  display: inline-block;
  transition: transform var(--t-sm) var(--ease);
}
.brand:hover .brand-name { transform: skewX(-4deg); }

/* Chip pop on services bento appear */
.service.is-in .chip {
  animation: chipPop .6s var(--ease) backwards;
  animation-delay: 240ms;
}
@keyframes chipPop {
  from { transform: scale(.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ============================ ACCESSIBILITY SETTINGS PANEL ============================ */
/* Floating button bottom-right that opens a small popover with three toggles.
   Satisfies WCAG 2.2 AAA 1.4.8 #1 (user-selectable colors) and 2.2.2 (pause). */
.a11y-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  background: var(--clay-900);
  color: var(--cream-50);
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-sm) var(--ease), background var(--t-sm) var(--ease);
}
.a11y-fab:hover { background: var(--terracotta-deep); transform: scale(1.05); }
.a11y-fab svg { width: 22px; height: 22px; }

.a11y-panel {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 60;
  width: min(320px, calc(100vw - 40px));
  background: var(--cream-50);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  font-family: var(--sans);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h3 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-500);
  margin: 0 0 16px;
}
.a11y-panel label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  min-height: 44px;
  font-size: 15px;
  color: var(--clay-700);
  cursor: pointer;
  border-bottom: 1px solid var(--ink-line);
}
.a11y-panel label:last-of-type { border-bottom: 0; }
.a11y-panel input[type="checkbox"] {
  appearance: none;
  width: 36px;
  height: 22px;
  border-radius: var(--r-pill);
  background: var(--cream-200);
  border: 1px solid var(--ink-line-strong);
  position: relative;
  cursor: pointer;
  transition: background var(--t-sm) var(--ease);
  flex-shrink: 0;
}
.a11y-panel input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: var(--r-pill);
  background: var(--cream-50);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-sm) var(--ease);
}
.a11y-panel input[type="checkbox"]:checked {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
}
.a11y-panel input[type="checkbox"]:checked::after {
  transform: translateX(14px);
  background: #FFFFFF;
}

/* High-contrast mode (toggle on body) */
body.a11y-high-contrast {
  --cream-100: #FFFFFF;
  --cream-50:  #FFFFFF;
  --cream-200: #F0F0F0;
  --sand:      #E0E0E0;
  --sage-soft: #E8EBE5;
  --clay-900:  #000000;
  --clay-700:  #000000;
  --clay-500:  #1A1A1A;
  --clay-300:  #2A2A2A;
  --terracotta:        #4F1A05;
  --terracotta-medium: #4F1A05;
  --terracotta-deep:   #4F1A05;
  --terracotta-darker: #2A0E03;
  --sage:      #1F2D17;
  --sage-text: #000000;
  --ink-line:        rgba(0, 0, 0, .25);
  --ink-line-strong: rgba(0, 0, 0, .50);
}
body.a11y-high-contrast .site-header { background: #FFFFFF !important; backdrop-filter: none !important; }
body.a11y-high-contrast .site-footer { background: #000000; color: #FFFFFF; }
body.a11y-high-contrast .brand-logo { filter: none; mix-blend-mode: normal; }
body.a11y-high-contrast .brand-logo-dark { filter: invert(1); mix-blend-mode: normal; }
body.a11y-high-contrast .modal::backdrop { background: rgba(0,0,0,.85); }
body.a11y-high-contrast .modal-inner { border: 2px solid #000; }
body.a11y-high-contrast .btn-primary { background: #4F1A05; color: #FFFFFF; border: 2px solid #000; }
body.a11y-high-contrast .btn-primary:hover { background: #2A0E03; }
body.a11y-high-contrast .btn-outline { border: 2px solid #000; color: #000; }
body.a11y-high-contrast .chip-sage { background: #FFFFFF; color: #000; border: 1px solid #000; }
body.a11y-high-contrast :focus-visible { outline: 3px solid #4F1A05; outline-offset: 3px; }

/* Pause-animations toggle */
body.a11y-pause-motion *,
body.a11y-pause-motion *::before,
body.a11y-pause-motion *::after {
  animation-duration: 0ms !important;
  animation-delay: 0ms !important;
  transition-duration: 0ms !important;
  scroll-behavior: auto !important;
}
body.a11y-pause-motion .reveal { opacity: 1; transform: none; }
body.a11y-pause-motion .bento { animation: none; transform: var(--btf) !important; }
body.a11y-pause-motion .scroll-progress { display: none; }

/* Larger text */
body.a11y-larger-text { font-size: 19px; }

/* ============================ MOTION ============================ */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .bento { animation: none; transform: var(--btf) !important; }
  .hero-title .hero-line > span { transform: translateY(0); }
  .hero-eyebrow, .hero-copy > .hero-line:not(.hero-title .hero-line), .hero-bento.hero-line { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
}

/* ============================ RESPONSIVE ============================ */

@media (max-width: 1080px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-portrait { grid-column: span 2; aspect-ratio: 16/9; max-height: 340px; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-bento { max-width: 520px; margin-inline: auto; }
  .bento-services .service { grid-column: span 6; }
  .bento-services .service-lg { grid-column: span 12; grid-template-columns: 1fr; }
  .bento-services .service-lg .service-thumb { order: 1; aspect-ratio: 16/9; min-height: 0; }
  .bento-services .service-lg .service-body { order: 2; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --gut: 20px; }
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .display { font-size: clamp(40px, 14vw, 64px); }
  .display-2 { font-size: clamp(28px, 8vw, 38px); }
  .bento-services { gap: 16px; }
  .bento-services .service, .bento-services .service-lg { grid-column: span 12; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-portrait { grid-column: span 1; aspect-ratio: 4/5; max-height: none; }
  .price-row { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
  .leader { display: none; }
  .price-tag { align-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-prices > div { grid-template-columns: 1fr; gap: 6px; }
  .modal-head { padding: 24px 20px 20px; }
  .modal-body { padding: 24px 20px; }
}

@media (min-width: 1400px) {
  .hero { padding-top: 80px; }
}
