:root {
  --ink: #203039;
  --ink-soft: #4a5a61;
  --paper: #fbfaf7;
  --white: #ffffff;
  --sand: #f1eee7;
  --sand-deep: #e3ded2;
  --orange: #aa431b;
  --orange-bright: #c85a2c;
  --orange-soft: #f7e9e2;
  --line: #d8d6cf;
  --shadow: 0 18px 50px rgba(32, 48, 57, 0.10);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

/* On the dark footer and orange contact panel, a light outline stays distinct from the surface. */
.site-footer a:focus-visible,
.contact a:focus-visible {
  outline-color: var(--white);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 0.35rem;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(251, 250, 247, 0.93);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(32, 48, 57, 0.1);
  box-shadow: 0 5px 20px rgba(32, 48, 57, 0.04);
}

.nav-row {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
}

.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(32, 48, 57, 0.10);
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 30px;
  height: 30px;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  background: var(--ink);
  border-radius: 2px;
  transform: skewY(-5deg);
}

.brand-mark span:first-child {
  background: var(--orange-bright);
}

.brand-mark span:last-child {
  background: var(--paper);
}

.brand-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 0.14rem;
  line-height: 1;
  letter-spacing: -0.045em;
}

.brand-copy strong {
  font-size: 1.25rem;
  letter-spacing: -0.08em;
}

.brand-copy span {
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-weight: 500;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  color: var(--ink-soft);
  font-size: 0.91rem;
  font-weight: 650;
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  bottom: -0.42rem;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 170ms ease;
}

.primary-nav > a:not(.nav-cta):hover::after,
.primary-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.74rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  transition: background 170ms ease, transform 170ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--orange);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
}

.menu-toggle-lines {
  display: grid;
  width: 20px;
  gap: 5px;
}

.menu-toggle-lines span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7.25rem);
}

.eyebrow,
.section-kicker,
.card-index,
.project-caption p,
.contact-panel-label {
  margin: 0;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.125em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.eyebrow-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--orange);
  border-radius: 50%;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.055em;
}

h1 {
  max-width: 670px;
  margin: 1rem 0 1.35rem;
  font-size: clamp(3rem, 6.2vw, 5.65rem);
  font-weight: 540;
  line-height: 0.98;
}

h1 em {
  color: var(--orange);
  font-family: var(--serif);
  font-size: 1.08em;
  font-weight: 400;
}

.hero-text {
  max-width: 600px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.78rem 1.15rem;
  border-radius: 0.35rem;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(170, 67, 27, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #8d3513;
  box-shadow: 0 14px 26px rgba(170, 67, 27, 0.28);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 800;
}

.text-link span {
  color: var(--orange);
  font-size: 1.15em;
  transition: transform 170ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(4px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0;
  margin: 2.5rem 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 650;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.37rem;
}

.hero-points span {
  color: var(--orange);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 530px;
  justify-self: end;
}

.hero-visual-frame {
  position: relative;
  aspect-ratio: 0.97;
  overflow: hidden;
  background: #dcd8ce;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.sun-shape {
  position: absolute;
  top: 7%;
  right: 10%;
  width: 23%;
  aspect-ratio: 1;
  background: #e3aa77;
  border-radius: 50%;
}

.wall {
  position: absolute;
  background: #efece3;
}

.wall-back {
  top: 0;
  right: 0;
  bottom: 31%;
  left: 18%;
}

.wall-side {
  top: 0;
  bottom: 31%;
  left: 0;
  width: 18%;
  background: #d4cec1;
}

.ceiling-line {
  position: absolute;
  top: 16%;
  right: 0;
  left: 18%;
  height: 7px;
  background: #d2c7b7;
  transform: skewY(-12deg);
  transform-origin: left;
}

.opening {
  position: absolute;
  top: 21%;
  right: 14%;
  width: 30%;
  height: 43%;
  padding: 6px;
  background: #788888;
  box-shadow: inset 0 0 0 2px rgba(32, 48, 57, 0.08);
}

.opening-light {
  width: 100%;
  height: 100%;
  background: linear-gradient(140deg, #d7e4df 0%, #abc6c2 54%, #6e8582 54%, #879995 100%);
}

.floor-plane {
  position: absolute;
  right: -5%;
  bottom: -2%;
  left: -5%;
  height: 37%;
  background: #b98b6e;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 10% 100%);
}

.floor-seam {
  position: absolute;
  z-index: 2;
  bottom: 2%;
  width: 1px;
  height: 34%;
  background: rgba(91, 59, 43, 0.35);
  transform-origin: bottom;
}

.seam-one {
  left: 36%;
  transform: rotate(30deg);
}

.seam-two {
  right: 32%;
  transform: rotate(-25deg);
}

.plinth {
  position: absolute;
  right: 0;
  bottom: 29%;
  left: 0;
  height: 11px;
  background: #a7a096;
}

.hero-card {
  position: absolute;
  z-index: 3;
  bottom: 10%;
  left: 8%;
  display: flex;
  min-width: 170px;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(32, 48, 57, 0.18);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.15;
}

.hero-card-number {
  color: #e8a67c;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.visual-caption {
  position: absolute;
  z-index: 4;
  right: -2.1rem;
  bottom: 2rem;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.visual-caption span {
  color: var(--ink-soft);
  font-weight: 600;
}

.hero-rule {
  height: 1px;
  margin-top: clamp(3.5rem, 8vw, 7rem);
  background: var(--line);
}

.section {
  padding: clamp(4.8rem, 9vw, 8.75rem) 0;
}

.section-sand {
  background: var(--sand);
}

.intro {
  padding-top: clamp(4.8rem, 9vw, 8.2rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.35fr 0.75fr;
  gap: clamp(1.8rem, 5vw, 5rem);
  align-items: start;
}

.intro h2,
.section-heading h2,
.process h2,
.contact h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.2rem, 4.4vw, 4.1rem);
  font-weight: 520;
  line-height: 1.02;
}

.intro-lead {
  max-width: 635px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.intro-notes {
  display: grid;
  gap: 1.1rem;
}

.intro-notes p {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.intro-notes span {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2.2rem, 5vw, 4.2rem);
}

.section-heading h2 {
  max-width: 630px;
  margin: 0.7rem 0 0;
}

.section-heading > p {
  max-width: 430px;
  margin: 0 0 0.35rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 360px;
  padding: clamp(1.4rem, 2.7vw, 2.25rem);
  background: var(--white);
  border: 1px solid rgba(32, 48, 57, 0.06);
  border-radius: 3px;
  box-shadow: 0 1px 1px rgba(32, 48, 57, 0.02);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  box-shadow: 0 18px 40px rgba(32, 48, 57, 0.09);
  transform: translateY(-4px);
}

.service-card-featured {
  grid-row: span 2;
  min-height: 100%;
  background: var(--ink);
  color: var(--white);
}

.service-card .card-index {
  margin: 1.65rem 0 0.7rem;
}

.service-card-featured .card-index {
  color: #e7a57b;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.service-card > p:not(.card-index) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.91rem;
  line-height: 1.65;
}

.service-card-featured > p:not(.card-index) {
  color: #d1d9d8;
}

.service-card ul {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  list-style: none;
}

.service-card li {
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
}

.service-card li::before {
  color: var(--orange);
  content: "—";
}

.service-card-featured ul {
  color: #d1d9d8;
}

.service-icon {
  position: relative;
  width: 56px;
  height: 48px;
  color: var(--orange);
}

.icon-frame {
  border: 2px solid currentColor;
}

.icon-frame span:first-child {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 46%;
  width: 2px;
  background: currentColor;
}

.icon-frame span:last-child {
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: 7px;
  height: 2px;
  background: currentColor;
}

.service-card-featured .service-icon {
  color: #e7a57b;
}

.icon-ceiling {
  border-top: 2px solid currentColor;
}

.icon-ceiling span {
  position: absolute;
  display: block;
  background: currentColor;
}

.icon-ceiling span:nth-child(1) {
  top: 11px;
  left: 0;
  width: 44px;
  height: 2px;
}

.icon-ceiling span:nth-child(2) {
  top: 0;
  left: 13px;
  width: 2px;
  height: 35px;
}

.icon-ceiling span:nth-child(3) {
  top: 0;
  right: 10px;
  width: 2px;
  height: 25px;
}

.icon-floor {
  display: flex;
  align-items: stretch;
  gap: 5px;
  padding-top: 11px;
}

.icon-floor::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  content: "";
}

.icon-floor span {
  flex: 1;
  border: 2px solid currentColor;
}

.icon-door {
  width: 41px;
  height: 52px;
  border: 2px solid currentColor;
  border-bottom: 0;
}

.icon-door span:first-child {
  position: absolute;
  top: 6px;
  right: 5px;
  bottom: 0;
  left: 6px;
  border-left: 2px solid currentColor;
}

.icon-door span:last-child {
  position: absolute;
  top: 25px;
  right: 6px;
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}

.service-card-wide {
  display: grid;
  min-height: 0;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 0.9fr 0.35fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--orange-soft);
}

.service-card-wide .card-index {
  margin-top: 0;
}

.service-card-wide h3 {
  max-width: 330px;
  margin: 0.6rem 0 0;
}

.wide-card-line {
  display: grid;
  gap: 5px;
  min-height: 100px;
  align-content: center;
}

.wide-card-line span {
  display: block;
  height: 2px;
  background: var(--orange);
}

.wide-card-line span:nth-child(2) {
  width: 75%;
  margin-left: auto;
}

.wide-card-line span:nth-child(3) {
  width: 50%;
  margin-left: auto;
}

.service-note {
  max-width: 940px;
  margin: 1rem 0 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.service-note strong {
  color: var(--ink);
}

.process-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(3rem, 9vw, 10rem);
}

.process-intro {
  max-width: 420px;
}

.process h2 {
  margin-top: 0.7rem;
}

.process-intro > p:not(.section-kicker) {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.process-list {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  display: grid;
  grid-template-columns: 4.1rem 1fr;
  gap: 1.25rem;
  padding: 0 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.process-list li + li {
  padding-top: 2.5rem;
}

.process-number {
  color: var(--orange);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-list h3 {
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.process-list p {
  max-width: 500px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-heading-light .section-kicker,
.section-heading-light .project-caption p {
  color: #e6a47b;
}

.section-heading-light > p {
  color: #cbd4d2;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  background: #31434b;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.project-image {
  display: block;
  width: 100%;
  height: clamp(210px, 22vw, 280px);
  object-fit: cover;
}

.project-image-floor {
  object-position: center 55%;
}

.project-image-ceiling {
  object-position: center 48%;
}

.project-image-drywall {
  object-position: 45% 25%;
}

.project-image-wallpaper {
  object-position: center 45%;
}

.project-caption {
  padding: 1.25rem 1.3rem 1.4rem;
  background: #283b43;
}

.project-caption p {
  color: #e6a47b;
}

.project-caption h3 {
  margin: 0.45rem 0 0;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 580;
  letter-spacing: -0.035em;
}

.contact {
  background: var(--orange-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
}

.contact h2 {
  max-width: 680px;
  margin-top: 0.7rem;
}

.contact-copy > p:not(.section-kicker) {
  max-width: 590px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.75;
}

.contact-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel-label {
  color: #e8a67c;
}

.contact-item {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  transition: color 170ms ease;
}

.contact-item:hover,
.contact-item:focus-visible {
  color: #f0bb97;
}

.contact-item-icon {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #e8a67c;
  font-size: 1.1rem;
}

.contact-item small,
.contact-item strong {
  display: block;
}

.contact-item small {
  margin-bottom: 0.18rem;
  color: #c2cecb;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-item strong {
  font-size: clamp(0.99rem, 1.7vw, 1.15rem);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.button-light {
  width: 100%;
  margin-top: 1.6rem;
  background: var(--white);
  color: var(--ink);
}

.contact-panel > .button-light {
  margin-bottom: 0.25rem;
}

.business-hours {
  padding-top: 1.25rem;
}

.business-hours > p {
  margin: 0 0 0.65rem;
  color: #e8a67c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.business-hours dl {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.business-hours dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.business-hours dt,
.business-hours dd {
  margin: 0;
}

.business-hours dt {
  color: #c2cecb;
}

.business-hours dd {
  font-weight: 650;
  text-align: right;
}

.button-light:hover,
.button-light:focus-visible {
  background: #f6d7c5;
  transform: translateY(-2px);
}

.contact-note {
  margin: 1rem 0 0;
  color: #c2cecb;
  font-size: 0.82rem;
}

.contact-note strong {
  color: var(--white);
}

.site-footer {
  background: #17252b;
  color: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.7fr;
  gap: 2rem;
  padding: 3.2rem 0 2.8rem;
  align-items: start;
}

.brand-footer {
  color: var(--white);
}

.brand-footer .brand-logo {
  width: 60px;
  height: 60px;
  box-shadow: none;
}

.brand-footer .brand-mark {
  background: var(--white);
}

.brand-footer .brand-mark span:last-child {
  background: var(--ink);
}

.brand-footer .brand-copy span {
  color: #c8d1ce;
}

.footer-top > p {
  margin: 0;
  color: #c8d1ce;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  justify-items: start;
  gap: 0.55rem;
  color: #c8d1ce;
  font-size: 0.86rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #f0bb97;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9dadaa;
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.draft-tag {
  display: inline-block;
  padding: 0.08rem 0.28rem;
  margin-left: 0.2rem;
  color: #f2bd9b;
  border: 1px solid rgba(242, 189, 155, 0.5);
  border-radius: 2px;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero-grid {
    gap: 3rem;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  }

  .intro-grid {
    grid-template-columns: 0.65fr 1.35fr;
  }

  .intro-notes {
    grid-column: 2;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card-featured {
    grid-row: auto;
  }

  .service-card-wide {
    grid-column: span 2;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 860px) {
  .nav-row {
    min-height: 72px;
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0.5rem;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .js .primary-nav {
    position: absolute;
    top: calc(100% - 0.35rem);
    right: 24px;
    left: 24px;
    display: grid;
    gap: 0;
    padding: 0.55rem;
    background: var(--white);
    border: 1px solid rgba(32, 48, 57, 0.1);
    border-radius: 3px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.6rem);
    transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
    visibility: hidden;
  }

  .js .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .js .primary-nav > a {
    padding: 0.8rem 0.9rem;
  }

  .js .primary-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .js .primary-nav .nav-cta {
    justify-content: center;
    margin-top: 0.2rem;
  }

  .hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 570px;
    justify-self: start;
  }

  .contact-panel {
    max-width: 620px;
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .process-intro {
    max-width: 600px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    padding-top: 3.1rem;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.15rem);
  }

  .visual-caption {
    display: none;
  }

  .hero-visual-frame {
    aspect-ratio: 1.06;
  }

  .hero-card {
    bottom: 8%;
    left: 6%;
    min-width: 145px;
    padding: 0.85rem;
    font-size: 1rem;
  }

  .intro-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .intro-notes {
    grid-column: auto;
    max-width: 530px;
  }

  .section-heading {
    gap: 1rem;
  }

  .section-heading > p {
    margin-bottom: 0;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-card-wide {
    grid-column: auto;
    grid-template-columns: 1fr auto;
  }

  .service-card-wide > p {
    grid-column: 1 / -1;
  }

  .wide-card-line {
    grid-row: 1;
    grid-column: 2;
    width: 60px;
  }

  .project-image {
    height: 245px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.6rem 0 2.25rem;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    min-height: 44px;
  }

  .hero-points {
    display: grid;
    gap: 0.4rem;
  }

  .process-list li {
    grid-template-columns: 2.7rem 1fr;
    gap: 0.65rem;
  }

  .contact-panel {
    padding: 1.35rem;
  }
}

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

.error-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.error-header {
  border-bottom: 1px solid var(--line);
}

.error-header-link {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 750;
}

.error-header-link:hover {
  color: var(--orange);
}

.error-main {
  display: grid;
  place-items: center;
  padding: clamp(4rem, 11vw, 8rem) 0;
}

.error-panel {
  width: min(100%, 46rem);
  padding: clamp(2rem, 7vw, 5rem);
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.error-panel .eyebrow {
  justify-content: center;
}

.error-panel h1 {
  max-width: 17ch;
  margin: 0.6rem auto 1.25rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.error-panel p:not(.eyebrow) {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: var(--ink-soft);
}

.error-footer {
  margin-top: 0;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 680px) {
  .error-header .nav-row {
    min-height: 5.2rem;
  }

  .error-header-link {
    font-size: 0.86rem;
  }

  .error-panel {
    border-radius: 1.25rem;
  }
}
