/* ==========================================================================
   Oak Flooring - "Site-Built Confidence" direction
   Structural precision: off-white ground, graphite ink, steel dividers,
   one confident amber accent. Single type family (Archivo) throughout.
   ========================================================================== */

:root {
  /* Ground */
  --off-white: #f7f7f5;
  --off-white-deep: #ededea;
  --white: #ffffff;

  /* Steel (dividers, borders, non-text only) */
  --steel-100: #e3e5e8;
  --steel-300: #c3c7cc;
  --steel-500: #6b7280;

  /* Ink */
  --graphite: #16181c;
  --graphite-700: #3a3d42;

  /* Accent */
  --amber: #f5a623;
  --amber-600: #de950f;
  --amber-700: #8a5a0a;

  /* Type */
  --font-sans: "Archivo", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Scale */
  --measure: 66ch;
  --radius: 2px;
  --container-max: 1360px;

  /* Motion */
  --ease-out-exp: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-signature: 1.05s;

  color-scheme: light;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

* {
  margin: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

/* ==========================================================================
   Base
   ========================================================================== */

body {
  background: var(--off-white);
  color: var(--graphite);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--graphite);
}

h1 {
  font-size: clamp(2.5rem, 4.4vw + 1rem, 4.25rem);
}

h2 {
  font-size: clamp(1.9rem, 2.6vw + 1rem, 2.75rem);
}

h3 {
  font-size: clamp(1.1rem, 0.6vw + 1rem, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  max-width: var(--measure);
}

p + p {
  margin-top: 1em;
}

strong {
  font-weight: 700;
}

/* ==========================================================================
   Browser surfaces
   ========================================================================== */

::selection {
  background: var(--amber);
  color: var(--graphite);
}

:focus-visible {
  outline: 2px solid var(--amber-700);
  outline-offset: 3px;
  border-radius: 1px;
}

html {
  scrollbar-color: var(--steel-500) var(--off-white-deep);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--off-white-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--steel-500);
  border-radius: 8px;
  border: 3px solid var(--off-white-deep);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Layout utilities
   ========================================================================== */

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

@media (min-width: 720px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--graphite);
  color: var(--off-white);
  padding: 0.85rem 1.25rem;
  z-index: 200;
  font-weight: 700;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease-out-exp);
}

.skip-link:focus {
  top: 1rem;
}

.tracked-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

section {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  position: relative;
}

@media (min-width: 640px) {
  section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

@media (min-width: 1100px) {
  section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.section-alt {
  background: var(--off-white-deep);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 640px) {
  .section-head {
    margin-bottom: 3rem;
  }
}

.section-head p {
  color: var(--graphite-700);
  font-size: 1.05rem;
  margin-top: 0.7rem;
}

.rule {
  height: 1px;
  background: var(--steel-100);
  border: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: transform 0.3s var(--ease-out-exp), box-shadow 0.3s var(--ease-out-exp),
    background-color 0.2s ease;
}

.btn-primary {
  background: var(--amber);
  color: var(--graphite);
  box-shadow: 0 1px 2px rgba(22, 24, 28, 0.12);
}

.btn-primary:hover {
  background: var(--amber-600);
  box-shadow: 0 12px 24px -10px rgba(138, 90, 10, 0.45);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: var(--graphite);
  border: 1.5px solid var(--graphite);
}

.btn-ghost:hover {
  background: var(--graphite);
  color: var(--off-white);
  transform: translateY(-2px);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

.btn-on-dark {
  border-color: var(--off-white);
  color: var(--off-white);
}

.btn-on-dark:hover {
  background: var(--off-white);
  color: var(--graphite);
}

.btn-arrow {
  transition: transform 0.3s var(--ease-out-exp);
  flex: none;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out-exp), transform 0.7s var(--ease-out-exp);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--steel-100);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.wordmark svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.9rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  position: relative;
  padding-block: 0.3rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--amber-700);
  transition: right 0.25s var(--ease-out-exp);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  right: 0;
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--graphite);
  transition: transform 0.3s var(--ease-out-exp), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 4.25rem 0 0 0;
  background: var(--off-white);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out-exp), transform 0.3s var(--ease-out-exp);
  z-index: 99;
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--steel-100);
}

.mobile-nav .btn {
  margin-top: 1.75rem;
  align-self: flex-start;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
}

/* ==========================================================================
   Sticky mobile CTA bar
   ========================================================================== */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--off-white);
  border-top: 1px solid var(--steel-100);
  box-shadow: 0 -8px 24px -16px rgba(22, 24, 28, 0.25);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-out-exp);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 960px) {
  .sticky-cta {
    display: none;
  }
}

/* ==========================================================================
   Photo placeholders - framed, attractive, honestly labeled
   ========================================================================== */

.frame {
  position: relative;
  overflow: hidden;
  background: var(--off-white-deep);
  border: 1px solid var(--steel-300);
  padding: 14px;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--steel-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--steel-100) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
}

.frame-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 2;
}

.frame-corner::before,
.frame-corner::after {
  content: "";
  position: absolute;
  background: var(--graphite);
}

.frame-corner::before {
  width: 100%;
  height: 2px;
}

.frame-corner::after {
  width: 2px;
  height: 100%;
}

.frame-corner--tl {
  top: 0;
  left: 0;
}

.frame-corner--tr {
  top: 0;
  right: 0;
}

.frame-corner--tr::before {
  right: 0;
}

.frame-corner--bl {
  bottom: 0;
  left: 0;
}

.frame-corner--bl::after {
  bottom: 0;
}

.frame-corner--br {
  bottom: 0;
  right: 0;
}

.frame-corner--br::before {
  bottom: 0;
}

.frame-corner--br::after {
  right: 0;
}

.frame-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: var(--graphite-700);
  width: min(80%, 20rem);
}

.frame-label svg {
  width: 34px;
  height: 34px;
  margin: 0 auto 0.75rem;
  color: var(--steel-500);
}

.frame-label .tracked-label {
  display: block;
  color: var(--graphite);
}

.frame-label .frame-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--graphite-700);
}

.frame--dark {
  background: var(--graphite);
}

.frame--dark::before {
  background-image: linear-gradient(rgba(247, 247, 245, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 247, 245, 0.08) 1px, transparent 1px);
}

.frame--dark .frame-corner::before,
.frame--dark .frame-corner::after {
  background: var(--off-white);
}

.frame--dark .frame-label,
.frame--dark .frame-label .tracked-label {
  color: var(--off-white);
}

.frame--dark .frame-label .frame-note {
  color: rgba(247, 247, 245, 0.7);
}

.frame--dark .frame-label svg {
  color: rgba(247, 247, 245, 0.55);
}

.frame-photo {
  position: absolute;
  inset: 14px;
  z-index: 1;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: cover;
  background: var(--off-white-deep);
}

.frame-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 0.5rem 0.7rem;
  background: linear-gradient(0deg, rgba(22, 24, 28, 0.72), rgba(22, 24, 28, 0));
  pointer-events: none;
}

.frame-caption span {
  color: var(--off-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   Hero - asymmetric split
   ========================================================================== */

.hero .container {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 34rem;
}

.hero-title {
  max-width: 14ch;
}

.hero-dek {
  max-width: 42ch;
  font-size: 1.1rem;
  color: var(--graphite-700);
  margin-top: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-frame {
  aspect-ratio: 4 / 3;
  width: 100%;
}

@media (min-width: 640px) {
  .hero .container {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

@media (min-width: 1020px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .hero-copy {
    padding-top: 1.5rem;
  }
  .hero-frame {
    aspect-ratio: auto;
    height: min(62dvh, 560px);
  }
}

/* ==========================================================================
   Hero - headline word animation with amber underline sweep
   ========================================================================== */

.hero-title .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  animation: hero-word-in 0.7s var(--ease-out-exp) backwards;
  animation-delay: var(--d, 0s);
}

@keyframes hero-word-in {
  from {
    opacity: 0;
    transform: translateY(0.35em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-title .w.u {
  background-image: linear-gradient(var(--amber), var(--amber));
  background-repeat: no-repeat;
  background-size: 0% 0.12em;
  background-position: 0 94%;
  padding-bottom: 0.06em;
  animation:
    hero-word-in 0.7s var(--ease-out-exp) backwards,
    hero-underline 0.55s var(--ease-out-exp) forwards;
  animation-delay: var(--d, 0s), 0.9s;
}

@keyframes hero-underline {
  to {
    background-size: 100% 0.12em;
  }
}

/* ==========================================================================
   Services - spec-sheet grid (no cards)
   ========================================================================== */

.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--graphite);
  border-left: 1px solid var(--steel-100);
}

.spec-cell {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--steel-100);
  border-bottom: 1px solid var(--steel-100);
}

.spec-icon {
  width: 2.1rem;
  height: 2.1rem;
  color: var(--amber-700);
  margin-bottom: 1rem;
}

.spec-cell h3 {
  margin-bottom: 0.4rem;
}

.spec-cell p {
  color: var(--graphite-700);
  font-size: 0.96rem;
  max-width: 34ch;
}

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

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

/* ==========================================================================
   Why choose us - stacked statement + attribute row (no split-header)
   ========================================================================== */

.statement {
  max-width: 42rem;
}

.statement h2 {
  max-width: 16ch;
}

.statement p {
  margin-top: 1rem;
  font-size: 1.15rem;
  color: var(--graphite-700);
}

.attribute-row {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--graphite);
  padding-top: 0.75rem;
}

.attribute-row li {
  padding: 1.4rem 0.75rem;
  border-bottom: 1px solid var(--steel-100);
}

.attribute-row h3 {
  font-size: 1rem;
}

.attribute-row p {
  color: var(--graphite-700);
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

@media (min-width: 780px) {
  .attribute-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .attribute-row li {
    padding: 0.4rem 1.5rem 0.4rem 0;
    border-bottom: none;
    border-right: 1px solid var(--steel-100);
  }
  .attribute-row li:last-child {
    border-right: none;
    padding-right: 0.5rem;
  }
}

/* ==========================================================================
   Gallery - drag-to-compare
   ========================================================================== */

.gallery-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 780px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item:first-child {
    grid-column: 1 / -1;
  }
}

.compare {
  position: relative;
  aspect-ratio: 16 / 10;
  user-select: none;
  touch-action: pan-y;
}

.gallery-item:first-child .compare {
  aspect-ratio: 21 / 9;
}

.compare .frame {
  position: absolute;
  inset: 0;
}

.compare-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 50%);
}

.compare-after .frame {
  position: absolute;
  inset: 0;
  width: 100%;
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  z-index: 3;
  pointer-events: none;
}

.compare-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: var(--off-white);
  box-shadow: 0 0 0 1px rgba(22, 24, 28, 0.25);
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1px solid var(--steel-300);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -6px rgba(22, 24, 28, 0.35);
  pointer-events: none;
}

.compare-handle svg {
  width: 18px;
  height: 18px;
  color: var(--graphite);
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  appearance: none;
  -webkit-appearance: none;
}

.compare-tags {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  right: 0.9rem;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
}

.compare-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-white);
  background: rgba(22, 24, 28, 0.72);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.gallery-caption {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.gallery-caption h3 {
  font-size: 1.02rem;
}

.gallery-caption span {
  color: var(--graphite-700);
  font-size: 0.85rem;
}

/* Recent-work photo grid (finished rooms) */
.work-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

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

@media (min-width: 1020px) {
  .work-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.work-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--off-white-deep);
  border: 1px solid var(--steel-100);
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-exp);
}

.work-item:hover img {
  transform: scale(1.045);
}

.work-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.75rem 0.55rem;
  background: linear-gradient(0deg, rgba(22, 24, 28, 0.75), rgba(22, 24, 28, 0));
  color: var(--off-white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Process - structural path
   ========================================================================== */

.process-list {
  position: relative;
  max-width: 48rem;
}

.process-track {
  position: absolute;
  left: 1.05rem;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 2px;
  background: var(--steel-100);
}

.process-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--amber-700);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--dur-signature) var(--ease-out-exp);
}

.process-list.is-drawn .process-track::after {
  transform: scaleY(1);
}

.process-step {
  position: relative;
  padding-left: 3.25rem;
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.15rem;
  height: 2.15rem;
  background: var(--off-white);
  border: 2px solid var(--steel-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--graphite-700);
  transition: border-color 0.4s ease, color 0.4s ease, background-color 0.4s ease;
  z-index: 1;
}

.process-list.is-drawn .process-step.is-lit .process-num {
  border-color: var(--amber-700);
  color: var(--graphite);
  background: var(--amber);
}

.process-step h3 {
  margin-bottom: 0.3rem;
}

.process-step p {
  color: var(--graphite-700);
}

/* Process photo strip - real job-site photos */
.process-gallery {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 720px) {
  .process-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.process-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--steel-100);
  background: var(--off-white-deep);
}

.process-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.65rem 0.5rem;
  background: linear-gradient(0deg, rgba(22, 24, 28, 0.75), rgba(22, 24, 28, 0));
  color: var(--off-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Service area
   ========================================================================== */

.area-wrap {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.area-map {
  color: var(--steel-500);
  width: 100%;
  max-width: 20rem;
}

.area-map .area-outline {
  fill: var(--off-white-deep);
  stroke: var(--graphite);
  stroke-width: 1.5;
}

.area-map .area-dot {
  fill: var(--amber-700);
}

.area-map .area-dot-ring {
  fill: none;
  stroke: var(--amber-700);
  stroke-width: 1.5;
  opacity: 0.5;
}

@media (min-width: 900px) {
  .area-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Closing CTA band
   ========================================================================== */

.cta-band {
  background: var(--graphite);
  color: var(--off-white);
}

.cta-band h2 {
  color: var(--off-white);
  max-width: 16ch;
}

.cta-band p {
  color: rgba(247, 247, 245, 0.72);
  font-size: 1.1rem;
}

.cta-band .container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .cta-band .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

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

.site-footer {
  padding-block: 3rem;
  border-top: 1px solid var(--steel-100);
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
}

.footer-grid .wordmark {
  margin-bottom: 0.7rem;
}

.footer-col p,
.footer-col a {
  color: var(--graphite-700);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--amber-700);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.config-flag {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: var(--amber-700);
  border: 1px dashed var(--amber-700);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--steel-100);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--graphite-700);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

/* ==========================================================================
   Estimate page
   ========================================================================== */

.page-header {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.page-header h1 {
  max-width: 18ch;
}

.page-header p {
  margin-top: 0.9rem;
  font-size: 1.1rem;
  color: var(--graphite-700);
}

.estimate-wrap {
  display: grid;
  gap: 3rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

@media (min-width: 1020px) {
  .estimate-wrap {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }
}

.order-card {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  padding: 1.75rem;
}

@media (min-width: 640px) {
  .order-card {
    padding: 2.25rem;
  }
}

@media (min-width: 1020px) {
  .order-card {
    padding: 2.75rem;
  }
}

.form-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 640px) {
  .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 700;
}

.field .hint {
  font-size: 0.78rem;
  color: var(--graphite-700);
  font-weight: 400;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  border: 1px solid var(--steel-300);
  background: var(--off-white);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--steel-500);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--amber-700);
  background: var(--white);
}

.field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' fill='none' stroke='%2316181c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field-error {
  font-size: 0.8rem;
  color: var(--amber-700);
  display: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--amber-700);
}

.field.has-error .field-error {
  display: block;
}

.field.required label::after {
  content: " *";
  color: var(--amber-700);
}

.dropzone {
  border: 1.5px dashed var(--steel-300);
  border-radius: var(--radius);
  padding: 1.6rem 1.25rem;
  text-align: center;
  background: var(--off-white);
  transition: border-color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.dropzone.is-dragover {
  border-color: var(--amber-700);
  background: var(--white);
}

.dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.dropzone p {
  font-size: 0.88rem;
  color: var(--graphite-700);
  margin: 0 auto;
}

.dropzone strong {
  color: var(--amber-700);
}

.file-list {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.file-chip {
  font-size: 0.76rem;
  background: var(--off-white-deep);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}

.form-footer {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.form-notice {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  display: none;
}

.form-notice.is-visible {
  display: block;
}

.form-notice--pending {
  background: #fdf1de;
  border: 1px solid var(--amber);
  color: var(--graphite-700);
}

.form-notice--success {
  background: #e7efe4;
  border: 1px solid #6d8a54;
  color: var(--graphite);
}

.contact-panel {
  background: var(--off-white-deep);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.1rem);
}

.contact-panel h2 {
  font-size: 1.25rem;
}

.contact-panel > p {
  margin-top: 0.7rem;
  color: var(--graphite-700);
  font-size: 0.95rem;
}

.contact-item {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--steel-100);
}

.contact-item .tracked-label {
  color: var(--graphite-700);
}

.contact-item .contact-value {
  display: block;
  margin-top: 0.35rem;
  font-weight: 800;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

a.contact-value:hover {
  color: var(--amber-700);
}

.footer-sms {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--graphite-700);
}

.footer-sms a {
  font-weight: 700;
  color: var(--graphite-700);
}

.footer-sms a:hover {
  color: var(--amber-700);
}

.mini-process {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--steel-100);
}

.mini-process ol {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mini-process li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--graphite-700);
}

.mini-process .mini-num {
  font-weight: 800;
  color: var(--amber-700);
  flex: none;
}

/* ==========================================================================
   Social / config-placeholder link (phone, Instagram, etc.)
   ========================================================================== */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--steel-300);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--graphite-700);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.social-link svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.social-link:hover {
  border-color: var(--amber-700);
  color: var(--amber-700);
}
