/* =========================================================================
   Raymond G Richard Jr. — Electrician, Andover MA
   Warm honest single-owner trade. Letterpress / hand-signed business card.
   Palette: cream paper, walnut ink, ember accent. No industrial blue.
   ========================================================================= */

:root {
  /* Warm, grounded palette in OKLCH */
  --paper:        oklch(0.97 0.012 80);     /* warm cream */
  --paper-deep:   oklch(0.94 0.018 75);     /* aged cream, used for strip */
  --paper-edge:   oklch(0.90 0.022 72);     /* rule lines */
  --ink:          oklch(0.22 0.018 60);     /* walnut */
  --ink-soft:     oklch(0.38 0.022 60);     /* secondary text */
  --ink-faint:    oklch(0.58 0.020 65);     /* tertiary / meta */
  --ember:        oklch(0.46 0.135 32);     /* deep ember, oxblood-leaning */
  --ember-deep:   oklch(0.38 0.130 30);
  --brass:        oklch(0.70 0.105 75);     /* warm metallic accent */
  --rule:         oklch(0.78 0.015 70);

  --serif: "Newsreader", "Iowan Old Style", "Charter", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --shadow-card: 0 1px 0 oklch(0.88 0.018 70), 0 12px 32px -18px oklch(0.30 0.04 60 / 0.18);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

::selection { background: var(--ember); color: var(--paper); }

/* paper texture - subtle dot grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(oklch(0.55 0.04 65 / 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.7;
  mix-blend-mode: multiply;
}

main { position: relative; z-index: 1; }

/* =========================================================================
   Topbar
   ========================================================================= */
.topbar {
  position: relative;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-edge);
}

.topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--ink);
}

.topbar__initials {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
}

.topbar__amp {
  color: var(--ember);
  font-weight: 700;
  padding: 0 0.05em;
}

.topbar__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
}

.topbar__role {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.topbar__nav {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  font-size: 0.93rem;
}

.topbar__nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 240ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar__nav a:hover {
  color: var(--ember);
  border-bottom-color: var(--ember);
}

.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
}

.topbar__phone-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 4px oklch(0.46 0.135 32 / 0.18);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px oklch(0.46 0.135 32 / 0.18); }
  50%      { box-shadow: 0 0 0 7px oklch(0.46 0.135 32 / 0.04); }
}

@media (max-width: 820px) {
  .topbar__inner {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }
  .topbar__nav { display: none; }
}

/* =========================================================================
   Hero - asymmetric editorial; large type left, side rail right
   ========================================================================= */
.hero {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter) clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 1.75rem;
}

.hero__rule {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--ember);
}

.hero__head {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 2.5rem;
  max-width: 22ch;
}

.hero__head > span { display: block; }

.hero__line-1 {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.55em;
  letter-spacing: -0.005em;
  margin-bottom: 0.6rem;
}

.hero__line-3 em {
  font-style: italic;
  color: var(--ember);
  font-weight: 600;
}

.hero__line-4 {
  font-size: 0.62em;
  line-height: 1.25;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 0.6rem;
  letter-spacing: -0.012em;
  max-width: 24ch;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: flex-start;
  margin: 0 0 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
}

.hero__clock {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: baseline;
  column-gap: 0.15rem;
  font-family: var(--serif);
  position: relative;
}

.hero__clock-num,
.hero__clock-den {
  font-weight: 600;
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero__clock-slash {
  font-weight: 400;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  line-height: 1;
  color: var(--ember);
  transform: translateY(-0.05em);
  font-style: italic;
}

.hero__clock-caption {
  grid-column: 1 / -1;
  margin: 0.6rem 0 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-faint);
  max-width: 26ch;
  line-height: 1.45;
}

.hero__rating {
  border-left: 1px solid var(--paper-edge);
  padding-left: clamp(1.25rem, 3vw, 2rem);
}

.hero__rating-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

.hero__rating-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.hero__rating-stars {
  display: inline-flex;
  gap: 2px;
}

.star {
  width: 14px;
  height: 14px;
  background: var(--brass);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.hero__rating-meta {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin: 0.4rem 0 0;
  font-style: italic;
  font-family: var(--serif);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0 0 2.5rem;
}

.hero__signoff {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: baseline;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--paper-edge);
}

.hero__signoff-label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

.hero__signature {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ember-deep);
  letter-spacing: -0.005em;
  transform: rotate(-1.2deg);
  display: inline-block;
  padding: 0.1rem 0.2rem 0.25rem;
  border-bottom: 1px solid var(--ember);
}

.hero__signoff-meta {
  grid-column: 1 / -1;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* sidebar - the "what happens when you call" list */
.hero__sidebar {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--paper-deep);
  border: 1px solid var(--paper-edge);
  border-radius: 4px;
  box-shadow: var(--shadow-card);
}

.hero__sidebar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 4px;
  background: var(--ember);
  border-radius: 4px 4px 0 0;
}

.hero__sidebar-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.hero__sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.95rem;
}

.hero__sidebar-list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.25rem;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.hero__step-num {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ember);
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }
  .hero__sidebar { margin-top: 1rem; }
  .hero__head { font-size: clamp(2.2rem, 9vw, 3rem); }
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
              background-color 260ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--solid {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 var(--ember), 0 6px 14px -8px oklch(0.22 0.018 60 / 0.5);
}
.btn--solid:hover {
  background: var(--ember-deep);
  transform: translateY(-1px);
}

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

.btn--block { width: 100%; }

/* =========================================================================
   At-a-glance strip
   ========================================================================= */
.strip {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  z-index: 1;
}

.strip__list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.4rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  justify-content: space-between;
}

.strip__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.strip__item dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.78 0.015 70 / 0.7);
  font-weight: 500;
}

.strip__item dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.005em;
}

.strip__item--accent dd {
  color: oklch(0.78 0.13 38);    /* warm ember on dark */
  font-style: italic;
}

/* =========================================================================
   The Work - numbered editorial list
   ========================================================================= */
.work {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.5rem) var(--gutter);
}

.work__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin: 0 0 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--paper-edge);
}

.work__eyebrow,
.towns__eyebrow,
.about__eyebrow,
.contact__eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ember);
  margin: 0 0 0.5rem;
  letter-spacing: -0.005em;
}

.work__h2,
.towns__h2,
.about__h2,
.contact__h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
  max-width: 18ch;
}

.work__lede,
.towns__lede {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 50ch;
}

.work__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.work__item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding: 2rem 2rem 2rem 0;
  border-top: 1px solid var(--paper-edge);
}

.work__item:nth-child(odd) {
  padding-right: 2.5rem;
  border-right: 1px solid var(--paper-edge);
}

.work__item:nth-child(even) {
  padding-left: 2.5rem;
}

.work__item:nth-last-child(-n+2) {
  border-bottom: 1px solid var(--paper-edge);
}

.work__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--ember);
  letter-spacing: 0.05em;
  padding-top: 0.4rem;
}

.work__body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 0.65rem;
}

.work__body p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .work__head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .work__list { grid-template-columns: 1fr; }
  .work__item,
  .work__item:nth-child(odd),
  .work__item:nth-child(even) {
    padding: 1.75rem 0;
    border-right: none;
    border-left: none;
  }
  .work__item:nth-last-child(-n+2) { border-bottom: none; }
  .work__item:last-child { border-bottom: 1px solid var(--paper-edge); }
}

/* =========================================================================
   Towns - typeset list with leader dots
   ========================================================================= */
.towns {
  background: var(--paper-deep);
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
}

.towns > .towns__head,
.towns > .towns__list {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.towns__head {
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
}

.towns__list {
  list-style: none;
  padding-bottom: clamp(4rem, 8vw, 6rem);
  margin: 0;
  font-family: var(--serif);
}

.towns__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--paper-edge);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  letter-spacing: -0.012em;
}

.towns__row:last-child {
  border-bottom: 1px solid var(--paper-edge);
}

.towns__name {
  font-weight: 500;
  color: var(--ink);
}

.towns__dots {
  height: 1px;
  background-image: radial-gradient(circle, var(--ink-faint) 1px, transparent 1.2px);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  background-position: left center;
  transform: translateY(-0.3em);
  opacity: 0.55;
}

.towns__meta {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink-faint);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.towns__row--home .towns__name { color: var(--ember-deep); font-style: italic; }
.towns__row--home .towns__meta {
  color: var(--ember);
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

@media (max-width: 720px) {
  .towns__head { grid-template-columns: 1fr; gap: 1rem; }
}

/* =========================================================================
   About - two-column with sidebar rail
   ========================================================================= */
.about {
  padding: clamp(4rem, 8vw, 6.5rem) var(--gutter);
}

.about__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.about__columns {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}

.about__copy p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
  max-width: 60ch;
}

.about__copy strong {
  color: var(--ink);
  font-weight: 600;
}

.about__copy p:first-of-type::first-letter {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 3.6rem;
  line-height: 0.85;
  float: left;
  margin: 0.25rem 0.75rem 0 0;
  color: var(--ember);
}

.about__sign {
  margin-top: 2rem !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem !important;
  color: var(--ember-deep) !important;
}

.about__rail {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 0.25rem 0;
}

.about__rail-row {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--paper-edge);
}

.about__rail-row:last-child { border-bottom: none; }

.about__rail-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 0.3rem;
  font-weight: 500;
}

.about__rail-value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 0.3rem;
}

.about__rail-note {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-faint);
  margin: 0;
  font-style: italic;
  font-family: var(--serif);
}

@media (max-width: 820px) {
  .about__columns { grid-template-columns: 1fr; }
}

/* =========================================================================
   Contact / The Call
   ========================================================================= */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 8vw, 6.5rem) var(--gutter);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background-image: radial-gradient(oklch(0.97 0.012 80 / 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}

.contact__eyebrow { color: oklch(0.78 0.13 38); }

.contact__h2 { color: var(--paper); }

.contact__lede {
  font-size: 1.05rem;
  color: oklch(0.85 0.018 70);
  max-width: 50ch;
  margin: 1rem 0 0;
  line-height: 1.6;
}

.contact__split {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact__phone-block {
  padding: 2rem 0;
  border-top: 2px solid oklch(0.78 0.13 38);
  border-bottom: 1px solid oklch(0.50 0.04 60);
}

.contact__phone-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.78 0.015 70 / 0.75);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.contact__phone-num {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.025em;
  text-decoration: none;
  margin: 0 0 1.25rem;
  transition: color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact__phone-num:hover { color: oklch(0.78 0.13 38); }

.contact__phone-hours,
.contact__phone-rate {
  margin: 0.25rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: oklch(0.85 0.018 70);
}

.contact__phone-rate {
  color: oklch(0.78 0.13 38);
  font-weight: 500;
}

.contact__form {
  background: oklch(0.27 0.020 60);
  border: 1px solid oklch(0.35 0.025 60);
  border-radius: 3px;
  padding: 1.75rem;
  display: grid;
  gap: 1.1rem;
}

.contact__form-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--paper);
  margin: 0 0 0.25rem;
  letter-spacing: -0.005em;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field__label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.78 0.015 70 / 0.8);
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  background: oklch(0.22 0.018 60);
  border: 1px solid oklch(0.40 0.025 60);
  border-radius: 2px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  resize: vertical;
  transition: border-color 240ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: oklch(0.60 0.020 65);
  font-style: italic;
  font-family: var(--serif);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: oklch(0.78 0.13 38);
  box-shadow: 0 0 0 3px oklch(0.78 0.13 38 / 0.18);
}

.contact .btn--solid {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 oklch(0.78 0.13 38), 0 6px 14px -8px oklch(0.05 0 0 / 0.5);
}

.contact .btn--solid:hover {
  background: oklch(0.92 0.04 70);
  color: var(--ember-deep);
}

.contact__form-ack {
  margin: 0.25rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  color: oklch(0.78 0.13 38);
}

@media (max-width: 820px) {
  .contact__split { grid-template-columns: 1fr; }
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 5.5rem;
  border-top: 1px solid var(--paper-edge);
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
}

.footer__col p {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.footer__col a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--paper-edge);
  transition: border-color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer__col a:hover { border-color: var(--ember); color: var(--ember); }

.footer__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem !important;
  color: var(--ink) !important;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem !important;
}

.footer__owner {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ember-deep) !important;
}

.footer__label {
  font-size: 0.7rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint) !important;
  margin-bottom: 0.6rem !important;
  font-weight: 500;
}

.footer__credit {
  max-width: var(--container);
  margin: 3rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--paper-edge);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.footer__credit p { margin: 0; }

.footer__credit a {
  color: var(--ember);
  text-decoration: none;
  border-bottom: 1px solid oklch(0.46 0.135 32 / 0.3);
}

.footer__credit a:hover { border-bottom-color: var(--ember); }

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__col--brand { grid-column: 1 / -1; }
}

/* =========================================================================
   Sticky mobile CTA
   ========================================================================= */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: var(--ember-deep);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--serif);
  letter-spacing: -0.005em;
  border-top: 2px solid oklch(0.78 0.13 38);
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -8px 24px -10px oklch(0.22 0.018 60 / 0.4);
}

.mobile-cta__label {
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
}

.mobile-cta__num {
  font-weight: 600;
  font-size: 1.15rem;
}

@media (max-width: 820px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 4rem; }
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
