/* ==========================================================================
   Redlands Internet — site stylesheet
   Light, warm, citrus. One file, no framework.
   ========================================================================== */

/* -------------------------------------------------------------- tokens --- */
:root {
  /* Surfaces */
  --cream:        #FFFBF5;
  --cream-2:      #FFF4E6;
  --cream-3:      #FFE8CC;
  --white:        #FFFFFF;

  /* Ink */
  --ink:          #1A1410;
  --ink-2:        #4A3F36;
  --ink-3:        #7A6C60;
  --line:         #F0E0CC;
  --line-2:       #E5D2B8;

  /* Citrus */
  --orange:       #E8590C;
  --orange-2:     #F76707;
  --orange-3:     #FF922B;
  --amber:        #F59F00;
  --orange-soft:  #FFF0E0;

  /* Grove green — trust marks, checkmarks */
  --leaf:         #2F6B3F;
  --leaf-soft:    #E9F3EC;

  --grad-citrus:  linear-gradient(135deg, #E8590C 0%, #F76707 40%, #F59F00 100%);
  --grad-warm:    linear-gradient(180deg, #FFFBF5 0%, #FFF4E6 100%);

  /* Shadows are warm, never neutral grey */
  --sh-sm:  0 1px 2px rgba(90, 50, 15, .06), 0 2px 6px rgba(90, 50, 15, .05);
  --sh-md:  0 2px 6px rgba(90, 50, 15, .07), 0 12px 28px rgba(90, 50, 15, .08);
  --sh-lg:  0 4px 12px rgba(90, 50, 15, .08), 0 28px 60px rgba(90, 50, 15, .12);
  --sh-orange: 0 8px 24px rgba(232, 89, 12, .28);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --ff-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --ff-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* --------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: clamp(1rem, .97rem + .15vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--orange); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.5rem + 4.2vw, 4.35rem); }
h2 { font-size: clamp(1.95rem, 1.35rem + 2.6vw, 3.15rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
p  { text-wrap: pretty; }

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

::selection { background: var(--cream-3); color: var(--ink); }

/* ------------------------------------------------------------- layout ---- */
.wrap {
  width: min(var(--wrap), 100% - (var(--gut) * 2));
  margin-inline: auto;
}
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--grad-warm); }
.section--cream2 { background: var(--cream-2); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* Decorative citrus wash behind sections */
.glow {
  position: absolute; inset: 0; overflow: hidden;
  pointer-events: none; z-index: 0;
}
.glow::before, .glow::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .5;
}
.glow::before {
  width: 42vw; height: 42vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(255,146,43,.55), transparent 70%);
  top: -14%; right: -8%;
}
.glow::after {
  width: 34vw; height: 34vw; max-width: 440px; max-height: 440px;
  background: radial-gradient(circle, rgba(245,159,0,.38), transparent 70%);
  bottom: -18%; left: -10%;
}
.section > .wrap { position: relative; z-index: 1; }

/* --------------------------------------------------------------- type ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid var(--cream-3);
  padding: .4rem .85rem; border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}
.eyebrow svg { width: 15px; height: 15px; }

.lede {
  font-size: clamp(1.075rem, 1rem + .45vw, 1.3rem);
  color: var(--ink-2); line-height: 1.6;
  max-width: 62ch;
}
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head h2 + .lede { margin-top: 1.15rem; }

.grad-text {
  background: var(--grad-citrus);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------ buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 1.05rem 1.85rem; min-height: 52px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: var(--grad-citrus); color: var(--white);
  box-shadow: var(--sh-orange);
  background-size: 160% 160%;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 89, 12, .38);
  background-position: 100% 0;
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--white); color: var(--ink);
  border-color: var(--line-2); box-shadow: var(--sh-sm);
}
.btn--ghost:hover {
  border-color: var(--orange-3); color: var(--orange);
  transform: translateY(-2px); box-shadow: var(--sh-md);
}

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }

.btn--block { width: 100%; }
.btn--lg { padding: 1.2rem 2.25rem; font-size: 1.0625rem; min-height: 58px; }

.btn-row {
  display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; text-decoration: none; color: var(--orange);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 251, 245, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(90, 50, 15, .07);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 74px;
}

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--ink); font-weight: 700;
  font-family: var(--ff-display); font-size: 1.2rem; letter-spacing: -.02em;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand span small {
  display: block; font-family: var(--ff-body); font-size: .6875rem;
  font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 1px;
}

.nav { display: flex; align-items: center; gap: .35rem; }
/* :not(.btn) so the CTA inside the nav keeps its own button colours — a plain
   `.nav a` rule outranks `.btn--primary` and would repaint the label dark. */
.nav a:not(.btn) {
  padding: .55rem .85rem; border-radius: var(--r-sm);
  text-decoration: none; color: var(--ink-2); font-weight: 500;
  font-size: .9375rem; transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover { color: var(--orange); background: var(--orange-soft); }
.nav a[aria-current="page"]:not(.btn) { color: var(--orange); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--ink); text-decoration: none; font-size: .9375rem;
}
.header-phone svg { width: 16px; height: 16px; color: var(--orange); }
.header-phone:hover { color: var(--orange); }
.header-cta .btn { padding: .8rem 1.35rem; min-height: 44px; font-size: .9375rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; align-items: center;
  justify-content: center; background: var(--white);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

/* ---------------------------------------------------------------- hero --- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(4rem, 8vw, 7rem);
  background: var(--grad-warm);
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-mesh span {
  position: absolute; border-radius: 50%; filter: blur(64px);
}
.hero-mesh span:nth-child(1) {
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(255,146,43,.55), transparent 68%);
  top: -18%; right: -10%;
  animation: drift1 22s ease-in-out infinite alternate;
}
.hero-mesh span:nth-child(2) {
  width: 34vw; height: 34vw; max-width: 460px; max-height: 460px;
  background: radial-gradient(circle, rgba(245,159,0,.42), transparent 70%);
  bottom: -22%; left: -6%;
  animation: drift2 26s ease-in-out infinite alternate;
}
.hero-mesh span:nth-child(3) {
  width: 26vw; height: 26vw; max-width: 340px; max-height: 340px;
  background: radial-gradient(circle, rgba(47,107,63,.16), transparent 70%);
  top: 42%; left: 46%;
  animation: drift1 30s ease-in-out infinite alternate-reverse;
}
@keyframes drift1 { to { transform: translate3d(-40px, 30px, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(50px, -26px, 0) scale(1.08); } }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}

.hero h1 { margin-bottom: 1.4rem; }
.hero .lede { margin-bottom: .5rem; }

.price-flag {
  display: inline-flex; align-items: baseline; gap: .5rem;
  font-family: var(--ff-display); font-weight: 700;
}
.price-flag .amt { font-size: 1.15em; }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.trust-strip li {
  display: flex; align-items: center; gap: .55rem;
  font-size: .9375rem; font-weight: 500; color: var(--ink-2);
}
.trust-strip svg { width: 19px; height: 19px; color: var(--leaf); flex: none; }

/* Hero visual — stylised browser window */
.hero-visual { position: relative; }
.browser {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); overflow: hidden;
  border: 1px solid var(--line);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform .6s var(--ease);
}
.hero-visual:hover .browser { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.browser-bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .8rem 1rem; background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}
.browser-dot { width: 11px; height: 11px; border-radius: 50%; }
.browser-url {
  flex: 1; margin-left: .5rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: .3rem .8rem; font-size: .75rem; color: var(--ink-3);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser-body { padding: 0; }

.hero-badge {
  position: absolute; z-index: 2;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-md);
  padding: .85rem 1.1rem; display: flex; align-items: center; gap: .7rem;
}
.hero-badge svg { width: 26px; height: 26px; flex: none; }
.hero-badge b { display: block; color: var(--ink); font-size: .9375rem; line-height: 1.2; }
.hero-badge small { color: var(--ink-3); font-size: .75rem; }
.hero-badge--tl { top: -18px; left: -14px; animation: float 6s ease-in-out infinite; }
.hero-badge--br { bottom: -20px; right: -10px; animation: float 7s ease-in-out infinite .8s; }
@keyframes float { 50% { transform: translateY(-9px); } }

@media (max-width: 600px) {
  .hero-badge--tl { left: 0; top: -14px; }
  .hero-badge--br { right: 0; bottom: -14px; }
  .browser { transform: none; }
}

/* --------------------------------------------------------------- cards --- */
.grid {
  display: grid; gap: clamp(1.15rem, 2.2vw, 1.85rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.15rem);
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-citrus);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md); border-color: var(--cream-3);
}
.card:hover::after { transform: scaleX(1); }
.card h3 { margin-bottom: .65rem; }
.card p { color: var(--ink-2); font-size: .9688rem; }

.card-icon {
  width: 54px; height: 54px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 1.35rem;
  background: var(--orange-soft); border: 1px solid var(--cream-3);
  color: var(--orange);
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon--leaf { background: var(--leaf-soft); border-color: #CFE3D6; color: var(--leaf); }

.card--plain::after { display: none; }
.card--plain:hover { transform: none; }

/* Problem cards (the cost of a bad site) */
.card--problem { background: var(--white); }
.card--problem .card-icon {
  background: #FFF0F0; border-color: #FFE0E0; color: #C92A2A;
}

/* --------------------------------------------------------------- stats --- */
/* Four cards, so pin the count rather than letting auto-fit leave a dead column. */
.stats { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 560px)  { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.75rem 1.5rem; text-align: center;
  box-shadow: var(--sh-sm);
}
.stat b {
  display: block; font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3rem); line-height: 1;
  background: var(--grad-citrus);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .55rem;
}
.stat span { font-size: .9375rem; color: var(--ink-3); }
.stat cite {
  display: block; font-style: normal; font-size: .75rem;
  color: var(--ink-3); opacity: .8; margin-top: .5rem;
}

/* ------------------------------------------------------------- pricing --- */
.pricing {
  display: grid; gap: 1.5rem; align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.plan {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(1.75rem, 3vw, 2.4rem);
  display: flex; flex-direction: column;
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.plan--featured {
  border: 2px solid var(--orange);
  box-shadow: var(--sh-lg);
  position: relative;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--grad-citrus) border-box;
}
.plan--featured::before {
  content: "Best value";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-citrus); color: var(--white);
  font-size: .75rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; padding: .38rem 1rem;
  border-radius: var(--r-pill); box-shadow: var(--sh-orange);
  white-space: nowrap;
}
.plan-name {
  font-family: var(--ff-display); font-size: 1.3rem; font-weight: 600;
  color: var(--ink); margin-bottom: .35rem;
}
.plan-for { font-size: .875rem; color: var(--ink-3); margin-bottom: 1.5rem; }
.plan-price {
  display: flex; align-items: baseline; gap: .3rem;
  font-family: var(--ff-display); color: var(--ink);
  margin-bottom: .4rem;
}
.plan-price .cur { font-size: 1.35rem; font-weight: 600; }
.plan-price .amt { font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); font-weight: 700; line-height: 1; }
.plan-price .per { font-family: var(--ff-body); font-size: .9375rem; color: var(--ink-3); font-weight: 500; }
.plan--featured .plan-price .amt {
  background: var(--grad-citrus);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan-note { font-size: .875rem; color: var(--ink-3); margin-bottom: 1.6rem; }

.plan-list { display: grid; gap: .8rem; margin-bottom: 2rem; }
.plan-list li {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .9375rem; color: var(--ink-2);
}
.plan-list svg { width: 19px; height: 19px; flex: none; color: var(--leaf); margin-top: 2px; }
.plan .btn { margin-top: auto; }

.price-footnote {
  margin-top: 2rem; text-align: center; font-size: .9375rem; color: var(--ink-3);
}

/* ------------------------------------------------------------- process --- */
.steps { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 3.75rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--ff-display); font-size: 2.4rem; font-weight: 700;
  line-height: 1;
  background: var(--grad-citrus);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step::after {
  content: ""; position: absolute; top: 1.15rem; left: 4.25rem; right: -1rem;
  height: 1px; background: linear-gradient(90deg, var(--line-2), transparent);
}
.step:last-child::after { display: none; }
@media (max-width: 759px) { .step::after { display: none; } }
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .9375rem; }

/* ----------------------------------------------------------- portfolio --- */
.work-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.work-thumb {
  aspect-ratio: 16 / 10; background: var(--cream-2);
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.work-thumb svg { width: 100%; height: 100%; }
.work-thumb picture { display: block; width: 100%; height: 100%; }
/* Screenshots are pre-cropped to 16:10; cover guards against odd sizes. */
.work-thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block;
}
.work-body { padding: 1.5rem 1.6rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.work-tag {
  display: inline-block; font-size: .75rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--orange);
  margin-bottom: .6rem;
}
.work-body h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.work-body p { font-size: .9375rem; margin-bottom: 1.1rem; }
.work-meta {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.chip {
  font-size: .75rem; font-weight: 500; color: var(--ink-3);
  background: var(--cream-2); border: 1px solid var(--line);
  padding: .25rem .65rem; border-radius: var(--r-pill);
}

.sample-note {
  display: flex; gap: .85rem; align-items: flex-start;
  background: var(--leaf-soft); border: 1px solid #CFE3D6;
  border-radius: var(--r-md); padding: 1.1rem 1.35rem;
  font-size: .9375rem; color: #23502F; margin-bottom: 2.5rem;
}
.sample-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* -------------------------------------------------------- testimonials --- */
.quote {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.15rem);
  box-shadow: var(--sh-sm); display: flex; flex-direction: column;
}
.quote-mark {
  font-family: var(--ff-display); font-size: 3.25rem; line-height: .7;
  color: var(--cream-3); margin-bottom: .75rem;
}
.quote blockquote { font-size: 1.0625rem; color: var(--ink-2); margin-bottom: 1.5rem; flex: 1; }
.quote figcaption {
  display: flex; align-items: center; gap: .8rem;
  padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--grad-citrus); color: var(--white);
  display: grid; place-items: center; font-weight: 700; font-size: .9375rem;
}
.quote figcaption b { display: block; color: var(--ink); font-size: .9375rem; }
.quote figcaption span { font-size: .8125rem; color: var(--ink-3); }

/* ----------------------------------------------------------------- faq --- */
.faq { max-width: 50rem; margin-inline: auto; display: grid; gap: .85rem; }
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq details[open] { border-color: var(--cream-3); box-shadow: var(--sh-sm); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.25rem 3.25rem 1.25rem 1.5rem;
  font-weight: 600; color: var(--ink); position: relative;
  font-size: 1.0313rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.5rem; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--orange); }
.faq .faq-body { padding: 0 1.5rem 1.5rem; color: var(--ink-2); font-size: .9688rem; }

/* -------------------------------------------------------- service area --- */
.area-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}
.area-link {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1rem 1.25rem;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9375rem;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, color .25s;
}
.area-link small { display: block; font-weight: 400; color: var(--ink-3); font-size: .75rem; }
.area-link svg { width: 16px; height: 16px; color: var(--orange); flex: none; }
.area-link:hover {
  transform: translateY(-2px); border-color: var(--orange-3);
  box-shadow: var(--sh-md); color: var(--orange);
}

/* ------------------------------------------------------------- cta band -- */
.cta-band {
  background: var(--ink); color: #E8DED4;
  border-radius: var(--r-xl); padding: clamp(2.25rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 500px; height: 500px;
  border-radius: 50%; filter: blur(80px); opacity: .35;
  background: radial-gradient(circle, rgba(247,103,7,.9), transparent 70%);
  top: -45%; right: -8%;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #C4B6A9; }
.cta-band .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.28); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.5); }

/* ---------------------------------------------------------------- form --- */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(1.6rem, 3.5vw, 2.6rem);
  box-shadow: var(--sh-lg);
}
.form-card h3 { margin-bottom: .5rem; }
.form-card > p { font-size: .9375rem; margin-bottom: 1.75rem; }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--ink); margin-bottom: .45rem;
}
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; min-height: 50px;
  background: var(--cream); border: 1px solid var(--line-2);
  border-radius: var(--r-md); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%237A6C60' stroke-width='1.75'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  background-size: 12px; padding-right: 2.5rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--orange-3);
  box-shadow: 0 0 0 4px rgba(255, 146, 43, .18);
}
.field input::placeholder, .field textarea::placeholder { color: #A89887; }
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #E03131; background: #FFF5F5;
}
.field-error { display: block; margin-top: .4rem; font-size: .8125rem; color: #C92A2A; font-weight: 500; }

.field-row { display: grid; gap: 1.15rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* Honeypot — visually gone, still in the DOM for bots to fill. */
.hp {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.form-fine {
  margin-top: 1rem; font-size: .8125rem; color: var(--ink-3);
  text-align: center; line-height: 1.5;
}

.alert {
  display: flex; gap: .75rem; align-items: flex-start;
  border-radius: var(--r-md); padding: 1rem 1.15rem;
  font-size: .9375rem; margin-bottom: 1.5rem;
}
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.alert--error { background: #FFF5F5; border: 1px solid #FFC9C9; color: #A82121; }
.alert--ok { background: var(--leaf-soft); border: 1px solid #CFE3D6; color: #23502F; }

.form-success { text-align: center; padding: 2rem 0; }
.form-success svg { width: 60px; height: 60px; margin: 0 auto 1.25rem; color: var(--leaf); }

.lead-layout {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
@media (min-width: 940px) { .lead-layout { grid-template-columns: 1fr 1.05fr; } }

.contact-list { display: grid; gap: 1.15rem; margin-top: 2rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ci {
  width: 42px; height: 42px; border-radius: var(--r-md); flex: none;
  background: var(--orange-soft); border: 1px solid var(--cream-3);
  color: var(--orange); display: grid; place-items: center;
}
.contact-list .ci svg { width: 19px; height: 19px; }
.contact-list b { display: block; color: var(--ink); font-size: .9375rem; }
.contact-list a { color: var(--ink-2); text-decoration: none; }
.contact-list a:hover { color: var(--orange); }
.contact-list span { font-size: .9375rem; }

/* -------------------------------------------------------------- footer --- */
.site-footer {
  background: var(--ink); color: #A99C90;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: 0;
}
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid > div:first-child { grid-column: span 1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer .brand { color: var(--white); }
.site-footer .brand span small { color: #8C8078; }
.footer-about { margin-top: 1.15rem; font-size: .9375rem; max-width: 32ch; }
.footer-h {
  font-family: var(--ff-body); font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--white);
  margin-bottom: 1.15rem;
}
.footer-list { display: grid; gap: .65rem; }
.footer-list a { color: #A99C90; text-decoration: none; font-size: .9375rem; }
.footer-list a:hover { color: var(--orange-3); }
.footer-bottom {
  padding-top: 1.75rem; display: flex; flex-wrap: wrap;
  gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .8125rem;
}
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a { color: #A99C90; text-decoration: none; }
.footer-bottom a:hover { color: var(--orange-3); }

/* --------------------------------------------------------- breadcrumbs --- */
.crumbs {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
  font-size: .8125rem; color: var(--ink-3); margin-bottom: 1.5rem;
}
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------------------------------------------------------- page hero ---- */
.page-hero {
  background: var(--grad-warm); position: relative; overflow: hidden;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.5rem); margin-bottom: 1.15rem; }

/* ------------------------------------------------------------ prose ------ */
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2rem); margin: 2.75rem 0 1rem; }
.prose h3 { margin: 2rem 0 .75rem; }
.prose p { margin-bottom: 1.15rem; }
.prose ul { margin: 0 0 1.15rem; display: grid; gap: .6rem; }
.prose ul li { display: flex; gap: .65rem; }
.prose ul li::before { content: "•"; color: var(--orange); font-weight: 700; }
.prose > *:first-child { margin-top: 0; }

.check-list { display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .9688rem; }
.check-list svg { width: 19px; height: 19px; flex: none; color: var(--leaf); margin-top: 2px; }

/* --------------------------------------------------------------- misc ---- */
.center { text-align: center; }
.mt-3 { margin-top: 3rem; }
.mt-2 { margin-top: 2rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ------------------------------------------------------- scroll reveal --- */
/* Content is visible by default. Only once the inline head script has set `.js`
   do we hide it to animate it in — so a JS failure, an old browser, or a
   throttled/prerendered tab can never leave the page blank. */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ------------------------------------------------------ mobile nav ------- */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  /* Hide the whole container, not just its contents: an emptied .header-cta is
     still a flex item, and space-between would park it against the right edge
     and push the hamburger inward. */
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gut) 1.75rem;
    box-shadow: var(--sh-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s var(--ease), visibility .25s;
    max-height: calc(100dvh - 74px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: .95rem .5rem; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; }
  /* `a.nav-phone` matches the specificity of `.nav a:not(.btn)` above and wins on order. */
  .nav a.nav-phone {
    display: flex; align-items: center; gap: .5rem;
    margin-top: .75rem; font-weight: 600; color: var(--orange); border-bottom: 0;
  }
}
@media (min-width: 1024px) {
  .nav .btn, .nav .nav-phone { display: none; }
}
