/* ==========================================================================
   Boulevard Branding — Site Styles (v2)
   Editorial, ink-led, fully responsive (mobile / tablet / desktop)
   ========================================================================== */

:root {
  /* Brand tokens */
  --ink: #1A2E3B;
  --ink-deep: #142532;
  --terracotta: #C97B5A;
  --terracotta-deep: #B66A4A;
  --bone: #FAFAF7;          /* primary canvas, swapped from cream */
  --bone-soft: #F2EFE9;     /* subtle warm contrast */
  --brass: #B8A88A;
  --slate: #5A6B73;
  --rule: rgba(26, 46, 59, 0.1);
  --rule-light: rgba(245, 250, 247, 0.12);

  /* Type */
  --display: 'Cormorant Garamond', 'Editorial New', Georgia, serif;
  --body: 'Inter', 'Söhne', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* Layout */
  --max: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--terracotta); }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}

.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;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.1; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.2; }
h4 { font-family: var(--body); font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; font-size: 0.8rem; color: var(--slate); }

p { color: var(--slate); margin-bottom: 1rem; max-width: 60ch; }
p.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--ink); max-width: 50ch; }

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
  display: inline-block;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background-color: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid var(--rule);
}

.site-header.on-dark {
  background-color: rgba(20, 37, 50, 0.85);
  border-bottom-color: var(--rule-light);
}

.site-header.on-dark .brand,
.site-header.on-dark .nav a { color: var(--bone); }
.site-header.on-dark .nav a.cta { background: var(--terracotta); color: var(--bone); }
.site-header.on-dark .nav a.cta:hover { background: var(--bone); color: var(--ink); }
.site-header.on-dark .nav-toggle { color: var(--bone); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  transition: color 0.2s ease;
}

.brand:hover { color: var(--ink); }
.brand .dot {
  color: var(--terracotta);
  font-size: 1.1em;
  margin-left: 0.02em;
  position: relative;
  top: 0.05em;
}

.nav { display: flex; gap: 2.5rem; align-items: center; }

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.nav a.cta {
  background-color: var(--ink);
  color: var(--bone);
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav a.cta:hover { background-color: var(--terracotta); color: var(--bone); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  min-height: 44px;
  min-width: 44px;
}

/* ==========================================================================
   Hero (ink background, kinetic typography + animated brand disc)
   ========================================================================== */

.hero-dark {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(201, 123, 90, 0.12), transparent 55%);
  pointer-events: none;
}

.hero-dark .eyebrow { color: var(--terracotta); }

.hero-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .hero-feature { grid-template-columns: 1.3fr 1fr; gap: 5rem; }
}

/* ----- Large single-column hero ----- */

.hero-large { padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }

.hero-headline-xl {
  font-family: var(--display);
  font-weight: 400;
  color: var(--bone);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 1.25rem 0 1.5rem;
  max-width: 22ch;
  position: relative;
  z-index: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-headline-xl em { font-style: italic; color: var(--terracotta); }

.hero-headline-xl .rotator {
  --rotator-w: 14ch;
  font-style: italic;
  color: var(--terracotta);
}

.hero-sub {
  color: rgba(250, 250, 247, 0.78);
  max-width: 60ch;
  font-size: clamp(0.92rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.hero-meta-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule-light);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-meta-row { grid-template-columns: repeat(4, 1fr); }
}

.hero-meta-row .meta-item { display: flex; flex-direction: column; gap: 0.4rem; }

.hero-meta-row .m-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
}

.hero-meta-row .m-value {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  color: var(--bone);
  font-weight: 400;
  line-height: 1.1;
}

.hero-text h1 {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  color: var(--bone);
  line-height: 1.05;
  margin: 0.5rem 0 1.5rem;
  letter-spacing: -0.015em;
  max-width: 18ch;
}

.hero-text h1 em { font-style: italic; color: var(--terracotta); }

.hero-text p {
  color: rgba(250, 250, 247, 0.78);
  max-width: 46ch;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.55;
}

.hero-cta {
  margin-top: 2.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ----- Rotating word for small business focus ----- */

.rotator {
  display: inline-block;
  position: relative;
  vertical-align: top;
  height: 1.3em;
  padding-bottom: 0.15em;
  overflow: hidden;
  width: var(--rotator-w, 12ch);
  text-align: left;
  color: var(--terracotta);
  font-style: italic;
}

.rotator span {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: block;
  opacity: 0;
  transform: translateY(120%);
  animation: rotate-word 36s infinite cubic-bezier(0.65, 0, 0.35, 1);
  white-space: nowrap;
  line-height: 1;
}

.rotator span:nth-child(1)  { animation-delay: 0s; }
.rotator span:nth-child(2)  { animation-delay: 3s; }
.rotator span:nth-child(3)  { animation-delay: 6s; }
.rotator span:nth-child(4)  { animation-delay: 9s; }
.rotator span:nth-child(5)  { animation-delay: 12s; }
.rotator span:nth-child(6)  { animation-delay: 15s; }
.rotator span:nth-child(7)  { animation-delay: 18s; }
.rotator span:nth-child(8)  { animation-delay: 21s; }
.rotator span:nth-child(9)  { animation-delay: 24s; }
.rotator span:nth-child(10) { animation-delay: 27s; }
.rotator span:nth-child(11) { animation-delay: 30s; }
.rotator span:nth-child(12) { animation-delay: 33s; }

/* For 12 items at 3s each over a 36s cycle:
   Each word's visible window is roughly 0%-8%, hidden the remaining 92%. */
@keyframes rotate-word {
  0%    { opacity: 0; transform: translateY(110%); }
  1.5%  { opacity: 1; transform: translateY(0); }
  7%    { opacity: 1; transform: translateY(0); }
  8.5%  { opacity: 0; transform: translateY(-110%); }
  100%  { opacity: 0; transform: translateY(-110%); }
}

@media (prefers-reduced-motion: reduce) {
  .rotator span { animation: none; opacity: 1; transform: none; position: static; }
  .rotator span:not(:first-child) { display: none; }
  .rotator { width: auto; height: auto; }
}

/* ----- Hero type specimen (replaces brand disc) ----- */

.hero-specimen {
  position: relative;
  background: linear-gradient(180deg, rgba(250,250,247,0.05), rgba(250,250,247,0.02));
  border: 1px solid rgba(250, 250, 247, 0.12);
  border-radius: 6px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 460px;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  overflow: hidden;
}

.specimen-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}

.specimen-label { color: var(--terracotta); }
.specimen-num { color: rgba(250, 250, 247, 0.4); font-family: var(--display); letter-spacing: 0.05em; font-size: 0.85rem; text-transform: none; }

.specimen-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.specimen-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding-inline: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: specimen-cycle 25s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

.specimen-card[data-cycle="0"] { animation-delay: 0s; }
.specimen-card[data-cycle="1"] { animation-delay: 5s; }
.specimen-card[data-cycle="2"] { animation-delay: 10s; }
.specimen-card[data-cycle="3"] { animation-delay: 15s; }
.specimen-card[data-cycle="4"] { animation-delay: 20s; }

@keyframes specimen-cycle {
  0%   { opacity: 0; transform: translateY(20px); }
  3%   { opacity: 1; transform: translateY(0); }
  18%  { opacity: 1; transform: translateY(0); }
  21%  { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 0; transform: translateY(-20px); }
}

.specimen-name {
  font-family: var(--display);
  color: var(--bone);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.specimen-name .dot { color: var(--terracotta); }

.specimen-meta {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.5);
  font-weight: 500;
}

/* Per-card type treatments */
.style-serif-italic .specimen-name { font-style: italic; font-weight: 400; }
.style-serif-italic .specimen-name em { color: var(--terracotta); font-style: italic; }

.style-display-cap .specimen-name {
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  text-transform: uppercase;
}

.style-mark .specimen-name { font-weight: 500; font-size: clamp(2.75rem, 5.5vw, 4rem); }

.style-display-light .specimen-name { font-weight: 400; font-style: italic; }

.style-monogram .specimen-name {
  font-size: clamp(5rem, 10vw, 8rem);
  letter-spacing: -0.06em;
  font-weight: 500;
}

.specimen-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid rgba(250, 250, 247, 0.08);
  padding-top: 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.4);
  font-weight: 500;
}

.specimen-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid rgba(250, 250, 247, 0.15);
  flex: 0 0 auto;
}

.specimen-foot-text { margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
  .specimen-card { animation: none; opacity: 1; transform: none; position: relative; }
  .specimen-card:not([data-cycle="0"]) { display: none; }
}

/* ----- Sub-marquee of business categories ----- */

.hero-categories {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule-light);
  overflow: hidden;
  z-index: 1;
}

.hero-categories-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll-left 50s linear infinite;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: rgba(250, 250, 247, 0.5);
  font-style: italic;
  letter-spacing: -0.01em;
}

.hero-categories-track span { white-space: nowrap; }
.hero-categories-track .sep { color: var(--terracotta); font-style: normal; }
.hero-categories:hover .hero-categories-track { animation-play-state: paused; }

/* Standard hero (for inner pages) */
.hero {
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(2.5rem, 6vw, 5rem);
  position: relative;
}

.hero h1 { margin-bottom: 1.5rem; max-width: 18ch; }
.hero h1 em { font-style: italic; color: var(--terracotta); }
.hero .lead { margin-top: 1.5rem; max-width: 38ch; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  text-align: center;
}

.btn-primary { background-color: var(--terracotta); color: var(--bone); }
.btn-primary:hover { background-color: var(--bone); color: var(--ink); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bone); }

.btn-ghost { background: transparent; color: var(--bone); border-color: var(--bone); }
.btn-ghost:hover { background: var(--bone); color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.text-link:hover { color: var(--terracotta); border-color: var(--terracotta); }

.text-link.light { color: var(--bone); border-color: var(--bone); }
.text-link.light:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* ==========================================================================
   Sections
   ========================================================================== */

section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

.section-header { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 56ch; }
.section-header h2 { margin-bottom: 1rem; }

.divider { width: 100%; height: 1px; background-color: var(--rule); margin: 0; }

.bg-soft { background-color: var(--bone-soft); }
.bg-ink { background-color: var(--ink); color: var(--bone); }
.bg-ink h2, .bg-ink h3 { color: var(--bone); }
.bg-ink p { color: rgba(250, 250, 247, 0.75); }
.bg-ink .eyebrow { color: var(--terracotta); }

/* ==========================================================================
   Logo Marquee
   ========================================================================== */

.marquee-wrap {
  position: relative;
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--bone);
  border-block: 1px solid var(--rule);
}

.marquee-wrap.dark { background: var(--ink); border-color: var(--rule-light); }

.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--bone), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(to left, var(--bone), transparent); }
.marquee-wrap.dark::before { background: linear-gradient(to right, var(--ink), transparent); }
.marquee-wrap.dark::after { background: linear-gradient(to left, var(--ink), transparent); }

.marquee {
  display: flex;
  width: max-content;
  animation: scroll-left 80s linear infinite;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.marquee-wrap:hover .marquee { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
}

.marquee-item {
  flex: 0 0 auto;
  width: clamp(160px, 18vw, 220px);
  height: clamp(160px, 18vw, 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  position: relative;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), z-index 0s linear 0.45s;
  z-index: 1;
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  filter: brightness(0.95);
}

.marquee-wrap.dark .marquee-item img { filter: brightness(0.92); }

/* Hover-to-preview: scale up the hovered logo above its neighbors */
.marquee-item:hover {
  transform: scale(1.6);
  z-index: 5;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), z-index 0s linear 0s;
}

.marquee-item:hover img {
  filter: brightness(1) drop-shadow(0 24px 60px rgba(0,0,0,0.45));
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Featured Work / Portfolio Grid
   ========================================================================== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.work-card {
  background: var(--bone-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.work-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(26, 46, 59, 0.15); }

.work-card-image {
  aspect-ratio: 4 / 3;
  background: var(--bone-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.work-card-image img { max-height: 140px; width: auto; object-fit: contain; }
.work-card-image.dark { background: var(--ink); border-bottom-color: var(--rule-light); }
.work-card-image.light { background: #fff; }

.work-card-body { padding: 1.5rem 1.75rem 1.75rem; }
.work-card .eyebrow { margin-bottom: 0.5rem; }
.work-card h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.work-card p { font-size: 0.95rem; margin-bottom: 0; }

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 2.25rem 1.75rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover { border-color: var(--terracotta); transform: translateY(-2px); }

.service-card.featured { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.service-card.featured h3, .service-card.featured .price { color: var(--bone); }
.service-card.featured p, .service-card.featured li { color: rgba(250, 250, 247, 0.75); }
.service-card.featured .eyebrow { color: var(--terracotta); }
.service-card.featured .btn { background: var(--terracotta); color: var(--bone); border-color: var(--terracotta); }
.service-card.featured .btn:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.service-card .price {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0.5rem 0 1rem;
  line-height: 1;
}

.service-card h3 { margin-bottom: 0.25rem; }
.service-card .timeline {
  font-size: 0.78rem;
  color: var(--slate);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.service-card ul { list-style: none; margin: 1.5rem 0; padding: 0; flex-grow: 1; }

.service-card li {
  font-size: 0.9rem;
  color: var(--slate);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  padding-left: 1.25rem;
}

.service-card li::before { content: "—"; position: absolute; left: 0; color: var(--terracotta); }
.service-card.featured li { border-color: rgba(250, 250, 247, 0.1); }
.service-card .btn { margin-top: 1.5rem; align-self: flex-start; }

/* ==========================================================================
   Two Column
   ========================================================================== */

.two-col { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }

@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }

.two-col-image {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
  max-height: 360px;
  width: 100%;
}

@media (min-width: 1024px) {
  .two-col-image {
    aspect-ratio: 4 / 5;
    max-height: none;
  }
}

.two-col-image .mark {
  font-family: var(--display);
  font-size: clamp(5rem, 14vw, 14rem);
  color: var(--bone);
  line-height: 1;
  letter-spacing: -0.04em;
}

.two-col-image .mark .dot { color: var(--terracotta); }

/* Square variant — used on home studio section to reduce negative space */
@media (min-width: 1024px) {
  .two-col-image-square {
    aspect-ratio: 1 / 1;
    max-height: none;
  }
  .two-col-image-square .mark {
    font-size: clamp(6rem, 11vw, 11rem);
  }
}

/* Tightened section padding for studio intro */
.studio-intro {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* Add breathing room between studio headline and the lead paragraph */
.studio-heading {
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .studio-heading { margin-bottom: 2.25rem; }
}

/* ==========================================================================
   Process
   ========================================================================== */

.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: step;
}

@media (min-width: 640px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-list { grid-template-columns: repeat(4, 1fr); } }

.process-step { counter-increment: step; }
.process-step .num {
  font-family: var(--display);
  font-size: 3rem;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 { font-size: 1.3rem; margin-bottom: 0.65rem; }
.process-step p { font-size: 0.95rem; margin-bottom: 0; }

/* ==========================================================================
   About / Bio
   ========================================================================== */

.bio-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

@media (min-width: 1024px) { .bio-grid { grid-template-columns: 1fr 1.6fr; gap: 5rem; } }

.bio-meta {
  padding: 2rem;
  background: var(--bone-soft);
  border-radius: var(--radius);
}

@media (min-width: 1024px) { .bio-meta { position: sticky; top: 100px; } }

.bio-meta dl { font-size: 0.95rem; }
.bio-meta dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--terracotta); margin-top: 1.25rem; margin-bottom: 0.25rem; font-weight: 500; }
.bio-meta dt:first-child { margin-top: 0; }
.bio-meta dd { color: var(--ink); }

.bio-body p { font-size: 1.1rem; max-width: 56ch; margin-bottom: 1.5rem; color: var(--slate); }
.bio-body p strong { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Add-ons
   ========================================================================== */

.addons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 2rem;
}

@media (min-width: 640px) { .addons-grid { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; } }

.addon {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  gap: 1rem;
}

.addon .name { color: var(--ink); font-weight: 400; }
.addon .price { font-family: var(--display); font-size: 1.2rem; color: var(--terracotta); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
}

.faq-item summary {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 0;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--body);
  font-size: 1.5rem;
  color: var(--terracotta);
  font-weight: 300;
  transition: transform 0.25s ease;
  flex: 0 0 auto;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--slate);
  max-width: 70ch;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 5rem; } }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-form label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate);
  margin-bottom: 0.4rem;
  display: block;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(26, 46, 59, 0.2);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
  min-height: 44px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--terracotta); }

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-info dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--terracotta); margin-top: 1.5rem; margin-bottom: 0.4rem; font-weight: 500; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { font-size: 1.1rem; color: var(--ink); }
.contact-info dd a { border-bottom: 1px solid rgba(26, 46, 59, 0.2); padding-bottom: 2px; }

/* ==========================================================================
   CTA Band
   ========================================================================== */

.cta-band {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  text-align: center;
}

.cta-band h2 { color: var(--bone); margin-bottom: 1.25rem; max-width: 24ch; margin-inline: auto; }
.cta-band p { color: rgba(250, 250, 247, 0.75); margin-inline: auto; margin-bottom: 2rem; }
.cta-band .btn-primary { background: var(--terracotta); color: var(--bone); }
.cta-band .btn-primary:hover { background: var(--bone); color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--bone);
  border-top: 1px solid var(--rule);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand { font-family: var(--display); font-size: 1.4rem; }
.footer-brand .dot { color: var(--terracotta); }

.footer-meta { font-size: 0.85rem; color: var(--slate); }

.footer-social { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-social a { font-size: 0.85rem; color: var(--slate); }
.footer-social a:hover { color: var(--terracotta); }

/* ==========================================================================
   Responsive — Mobile, Tablet, Desktop
   ========================================================================== */

/* Mobile (< 640px) */
@media (max-width: 639px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bone); padding: 1.5rem var(--gutter) 2rem; gap: 1.25rem; border-bottom: 1px solid var(--rule); align-items: flex-start; }
  .site-header.on-dark .nav { background: var(--ink); border-bottom-color: var(--rule-light); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav a.cta { width: 100%; text-align: center; }
  .hero-meta-strip { gap: 1.25rem 2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-mark { font-size: clamp(5rem, 24vw, 9rem); margin: 0.5rem 0 1rem; }

  /* Mobile hero refinements */
  .hero-dark .eyebrow { font-size: 0.62rem; letter-spacing: 0.16em; line-height: 1.4; }
  .hero-headline-xl { font-size: 3.4rem; line-height: 1.02; max-width: 18ch; margin-bottom: 1.25rem; }
  .hero-sub { font-size: 0.95rem; line-height: 1.55; max-width: 100%; }
  .hero-meta-row { gap: 1rem 1.5rem; padding-top: 1.5rem; margin-top: 2rem; }
  .hero-meta-row .m-label { font-size: 0.6rem; letter-spacing: 0.15em; }
  .hero-meta-row .m-value { font-size: 0.95rem; line-height: 1.2; }
  .hero-cta { margin-top: 1.75rem; }
}

/* Tablet (640px - 1023px) */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-mark { font-size: clamp(8rem, 22vw, 14rem); }
  .nav { gap: 1.75rem; }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  body { font-size: 17px; }
}

/* Large desktop (1440px+) */
@media (min-width: 1440px) {
  :root { --max: 1380px; }
}

/* ==========================================================================
   Web Design Grid (work page) — browser-mockup cards
   ========================================================================== */

.web-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 900px) { .web-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .web-grid { grid-template-columns: repeat(3, 1fr); } }

.web-card {
  display: flex;
  flex-direction: column;
  background: var(--bone);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--rule);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.web-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -25px rgba(26, 46, 59, 0.2); }
.web-card:hover .web-card-meta h3 { color: var(--terracotta); }

.web-card-frame {
  background: var(--bone-soft);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}

.web-card-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #E8E4DD;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--rule);
}

.web-card-bar .dot-r,
.web-card-bar .dot-y,
.web-card-bar .dot-g {
  width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto;
}
.web-card-bar .dot-r { background: #ED6A5E; }
.web-card-bar .dot-y { background: #F5BD4F; }
.web-card-bar .dot-g { background: #61C554; }

.web-card-bar .web-card-url {
  margin-left: 0.75rem;
  font-family: var(--body);
  font-size: 0.78rem;
  color: var(--slate);
  letter-spacing: 0.02em;
  background: var(--bone);
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  flex: 1;
  text-align: center;
}

.web-card-preview {
  aspect-ratio: 16 / 10;
  background: var(--bone);
  position: relative;
  overflow: hidden;
}

.web-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 6s ease-out;
}

.web-card:hover .web-card-preview img {
  transform: translateY(-15%);
}

.web-card-meta {
  padding: 1.5rem 1.75rem 1.75rem;
}

.web-card-meta .eyebrow { margin-bottom: 0.5rem; }
.web-card-meta h3 { font-size: 1.5rem; margin-bottom: 0.5rem; transition: color 0.25s ease; }
.web-card-meta p { font-size: 0.95rem; line-height: 1.55; margin-bottom: 1.25rem; }

/* ==========================================================================
   Photography Grid (work page) — masonry via CSS columns
   ========================================================================== */

.photo-grid {
  column-count: 1;
  column-gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) { .photo-grid { column-count: 2; } }
@media (min-width: 1024px) { .photo-grid { column-count: 3; column-gap: 1.5rem; } }
@media (min-width: 1440px) { .photo-grid { column-count: 4; } }

.photo-grid .photo {
  margin: 0 0 1.25rem;
  break-inside: avoid;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bone-soft);
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) { .photo-grid .photo { margin-bottom: 1.5rem; } }

.photo-grid .photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-grid .photo:hover { transform: translateY(-3px); }
.photo-grid .photo:hover img { transform: scale(1.03); }

/* ==========================================================================
   Services Showcase (home page "What I do") — list-based tiles, no prices
   ========================================================================== */

.services-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 2rem;
}

@media (min-width: 640px) { .services-showcase { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-showcase { grid-template-columns: repeat(5, 1fr); } }

.service-tile {
  background: var(--bone);
  padding: clamp(1.75rem, 2.5vw, 2.25rem) clamp(1.5rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  text-decoration: none;
  transition: background-color 0.25s ease;
  min-height: 320px;
}

.service-tile:hover { background: var(--bone-soft); color: var(--ink); }
.service-tile:hover h3 { color: var(--terracotta); }
.service-tile:hover .t-arrow { transform: translateX(6px); color: var(--terracotta); }

.service-tile .t-num {
  font-family: var(--display);
  font-size: 0.85rem;
  color: var(--terracotta);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.service-tile h3 {
  font-size: clamp(1.3rem, 1.6vw, 1.55rem);
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tile .t-tag {
  font-family: var(--body);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  border: 1px solid var(--terracotta);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  vertical-align: middle;
  line-height: 1;
}

.service-tile .t-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}

.service-tile .t-list li {
  font-size: 0.88rem;
  color: var(--slate);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule);
  line-height: 1.3;
}

.service-tile .t-list li:last-child { border-bottom: none; }

.service-tile .t-arrow {
  align-self: flex-start;
  color: var(--ink);
  font-size: 1.15rem;
  transition: transform 0.25s ease, color 0.25s ease;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Pricing Pair (home page) — two clear options: à la carte or packages
   ========================================================================== */

.pricing-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) { .pricing-pair { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.pricing-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta);
  box-shadow: 0 24px 50px -25px rgba(26, 46, 59, 0.18);
}

.pricing-card .p-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pricing-card .p-num {
  font-family: var(--display);
  font-size: 2.25rem;
  color: var(--terracotta);
  font-weight: 500;
  line-height: 1;
}

.pricing-card .p-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}

.pricing-card h3 {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  margin: 0;
  color: var(--ink);
  line-height: 1.05;
  transition: color 0.25s ease;
}

.pricing-card:hover h3 { color: var(--terracotta); }

.pricing-card p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
  flex-grow: 1;
}

.pricing-card .p-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}

.pricing-card .p-from {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink);
}

.pricing-card .p-arrow {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, color 0.25s ease;
}

.pricing-card:hover .p-arrow { color: var(--terracotta); }

/* Dark variant for option B */
.pricing-card.pricing-card-dark {
  background: var(--ink);
  border-color: var(--ink);
}
.pricing-card.pricing-card-dark h3,
.pricing-card.pricing-card-dark .p-from,
.pricing-card.pricing-card-dark .p-arrow { color: var(--bone); }
.pricing-card.pricing-card-dark p { color: rgba(250, 250, 247, 0.75); }
.pricing-card.pricing-card-dark .p-eyebrow { color: rgba(250, 250, 247, 0.5); }
.pricing-card.pricing-card-dark .p-num { color: var(--terracotta); }
.pricing-card.pricing-card-dark .p-foot { border-top-color: rgba(250, 250, 247, 0.15); }
.pricing-card.pricing-card-dark:hover { background: var(--ink-deep); }
.pricing-card.pricing-card-dark:hover h3,
.pricing-card.pricing-card-dark:hover .p-arrow { color: var(--terracotta); }

/* ==========================================================================
   Service Breadth Grid (legacy)
   ========================================================================== */

.breadth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 2rem;
}

@media (min-width: 640px) { .breadth-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .breadth-grid { grid-template-columns: repeat(3, 1fr); } }

.breadth-card {
  background: var(--bone);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  text-decoration: none;
  transition: background-color 0.25s ease;
  min-height: 240px;
}

.breadth-card:hover { background: var(--bone-soft); color: var(--ink); }
.breadth-card:hover .b-arrow { transform: translateX(6px); color: var(--terracotta); }
.breadth-card:hover h3 { color: var(--terracotta); }

.breadth-card .b-num {
  font-family: var(--display);
  font-size: 0.85rem;
  color: var(--terracotta);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.breadth-card h3 {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  margin: 0;
  color: var(--ink);
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadth-card .b-tag {
  font-family: var(--body);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  border: 1px solid var(--terracotta);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  vertical-align: middle;
  line-height: 1;
}

.breadth-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

.breadth-card .b-foot {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.breadth-card .b-from {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}

.breadth-card .b-price {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--ink);
  font-weight: 400;
}

.breadth-card .b-arrow {
  margin-left: auto;
  color: var(--ink);
  font-size: 1.1rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* CTA card variant */
.breadth-card.breadth-cta {
  background: var(--ink);
  color: var(--bone);
}
.breadth-card.breadth-cta h3,
.breadth-card.breadth-cta .b-price,
.breadth-card.breadth-cta .b-arrow { color: var(--bone); }
.breadth-card.breadth-cta p { color: rgba(250, 250, 247, 0.7); }
.breadth-card.breadth-cta .b-num,
.breadth-card.breadth-cta .b-from { color: var(--terracotta); }
.breadth-card.breadth-cta .b-foot { border-top-color: rgba(250, 250, 247, 0.15); }
.breadth-card.breadth-cta:hover { background: var(--ink-deep); }
.breadth-card.breadth-cta:hover h3 { color: var(--terracotta); }

/* ==========================================================================
   À La Carte Quote Builder
   ========================================================================== */

.quote-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .quote-layout { grid-template-columns: 1fr 340px; gap: 3rem; }
}

.quote-builder { display: flex; flex-direction: column; gap: 2.5rem; }

.quote-fieldset {
  border: none;
  border-top: 1px solid var(--rule);
  padding: 0;
  margin: 0;
}

.quote-fieldset legend {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--ink);
  font-weight: 400;
  padding: 1.5rem 0 0.5rem;
  letter-spacing: -0.01em;
  display: block;
  width: 100%;
}

.quote-fieldset legend .legend-tag {
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  border: 1px solid var(--terracotta);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  vertical-align: middle;
  margin-left: 0.75rem;
  line-height: 1;
  display: inline-block;
}

.fieldset-intro {
  font-size: 0.95rem;
  color: var(--slate);
  margin: 0 0 1rem;
  max-width: 70ch;
}

/* Packages get a slightly more featured treatment */
.quote-items-packages { gap: 0; }

.quote-item-pkg { background: linear-gradient(180deg, rgba(201, 123, 90, 0.04), transparent); }
.quote-item-pkg:hover { background: rgba(201, 123, 90, 0.08); }

.pkg-savings {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  border: 1px solid var(--terracotta);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  margin-left: 0.4rem;
  vertical-align: middle;
  line-height: 1;
}

.pkg-tag {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  background: var(--bone-soft);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  margin-left: 0.4rem;
  vertical-align: middle;
  line-height: 1;
}

.quote-fieldset .fieldset-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-top: 1.25rem;
  margin-bottom: -0.25rem;
  display: block;
}

.quote-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 1rem;
}

.quote-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-height: 44px;
}

.quote-item:hover { background-color: rgba(201, 123, 90, 0.04); }

.quote-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(26, 46, 59, 0.3);
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  position: relative;
  transition: all 0.15s ease;
  margin: 0;
  flex: 0 0 auto;
}

.quote-item input[type="checkbox"]:checked {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.quote-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid var(--bone);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.quote-item input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.quote-item .item-body { display: flex; flex-direction: column; gap: 0.15rem; }
.quote-item .item-name { color: var(--ink); font-weight: 500; font-size: 1rem; line-height: 1.3; }
.quote-item .item-desc { color: var(--slate); font-size: 0.85rem; line-height: 1.4; }
.quote-item .item-price {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
}

.quote-item input[type="checkbox"]:checked + .item-body .item-name { color: var(--terracotta); }

.quote-contact-block {
  background: var(--bone-soft);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 6px;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .quote-contact-block { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
  .quote-contact-block .full { grid-column: 1 / -1; }
}

.quote-contact-block .field { display: flex; flex-direction: column; }

.quote-contact-block label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--slate);
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 500;
}

.quote-contact-block input,
.quote-contact-block select,
.quote-contact-block textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid rgba(26, 46, 59, 0.15);
  border-radius: 4px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
}

.quote-contact-block select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2E3B' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.75rem;
}

.quote-contact-block input:focus,
.quote-contact-block select:focus,
.quote-contact-block textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--bone);
}

.quote-contact-block textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}

.quote-contact-block .block-eyebrow {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: -0.25rem;
}

.quote-summary {
  background: var(--ink);
  color: var(--bone);
  padding: 1.75rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .quote-summary { position: sticky; top: 100px; }
}

.quote-summary .summary-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
}

.quote-summary .summary-total {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  line-height: 1;
  color: var(--bone);
  letter-spacing: -0.02em;
}

.quote-summary .summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(250, 250, 247, 0.1);
  padding-top: 1rem;
  max-height: 200px;
  overflow-y: auto;
}

.quote-summary .summary-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(250, 250, 247, 0.75);
  gap: 1rem;
}

.quote-summary .summary-list li .name { flex: 1; }
.quote-summary .summary-list li .price { color: var(--bone); white-space: nowrap; }

.quote-summary .summary-empty {
  color: rgba(250, 250, 247, 0.5);
  font-size: 0.9rem;
  font-style: italic;
}

.quote-summary .summary-note {
  font-size: 0.78rem;
  color: rgba(250, 250, 247, 0.55);
  border-top: 1px solid rgba(250, 250, 247, 0.1);
  padding-top: 1rem;
  line-height: 1.45;
}

/* Bundles row */
.bundles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) { .bundles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .bundles-grid { grid-template-columns: repeat(4, 1fr); } }

.bundle-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.bundle-card:hover { border-color: var(--terracotta); transform: translateY(-2px); }

.bundle-card .badge {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.bundle-card h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }

.bundle-card .bundle-price {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--ink);
  margin: 0.5rem 0 0.25rem;
  line-height: 1;
}

.bundle-card .bundle-was {
  font-size: 0.8rem;
  color: var(--slate);
  text-decoration: line-through;
  margin-bottom: 1rem;
}

.bundle-card .bundle-includes {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.5rem;
  flex-grow: 1;
}

.bundle-card .bundle-includes li {
  font-size: 0.85rem;
  color: var(--slate);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  padding-left: 1rem;
}

.bundle-card .bundle-includes li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 500;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
