:root {
  --ink: #081b33;
  --ink-soft: #102c50;
  --paper: #f7f8fb;
  --white: #fff;
  --muted: #637187;
  --line: #d8e0eb;
  --accent: #e63946;
  --accent-dark: #b51f2e;
  --success: #8eb2d9;
  --max: 1220px;
  --header-height: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.container {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: var(--accent);
}

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

h1,
h2 {
  font-family: "Arial Narrow", "Aptos Display", "Segoe UI", sans-serif;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 830px;
  margin-bottom: 30px;
  color: var(--white);
  font-size: clamp(4rem, 7.8vw, 7.6rem);
}

h1 em {
  color: var(--accent);
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  padding: 0 26px;
  color: var(--ink);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease,
    transform 0.3s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-primary {
  color: var(--white);
  background: var(--accent);
}

.button-primary:hover {
  background: #c92032;
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.button-secondary:hover {
  border-color: var(--ink);
}

.button-small {
  min-height: 46px;
  padding: 0 20px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  font-size: 0.68rem;
}

.button-small:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.button-outline:hover {
  border-color: var(--accent);
  color: var(--white);
  background: var(--accent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.text-link:hover {
  color: var(--accent-dark);
}

.light-link {
  color: var(--white);
}

.light-link:hover {
  color: var(--accent);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  min-height: var(--header-height);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
  padding: 0 4vw;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: min-height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  min-height: 72px;
  background: rgba(8, 27, 51, 0.97);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.12em;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%);
}

.brand-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.brand-name {
  display: grid;
  gap: 6px;
}

.brand-name strong {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-name span {
  color: #bbbdbb;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: 780px;
  height: 100svh;
  max-height: 980px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(4, 15, 29, 0.96) 0%, rgba(6, 24, 46, 0.82) 31%, rgba(8, 27, 51, 0.28) 70%, rgba(8, 27, 51, 0.13) 100%),
    linear-gradient(0deg, rgba(4, 15, 29, 0.82) 0%, transparent 44%),
    url("assets/commercial-slab-finish.webp");
  background-position: center, center, center;
  background-size: cover;
  transform: scale(1.015);
}

.hero-backdrop::after {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  content: "";
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: end;
  gap: 60px;
  padding-top: 100px;
}

.hero-copy {
  padding-bottom: 24px;
}

.hero-intro {
  max-width: 630px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-note {
  position: relative;
  display: grid;
  align-items: start;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 27, 51, 0.72);
  backdrop-filter: blur(12px);
}

.hero-note::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 58px;
  height: 3px;
  background: var(--accent);
  content: "";
}

.note-number {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.hero-note p {
  margin-bottom: 7px;
  color: #aeb0ad;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-note strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.17rem;
  font-weight: 400;
  line-height: 1.45;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 4vw;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 54px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.scroll-cue i::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: var(--accent);
  content: "";
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  70%, 100% { transform: translateY(250%); }
}

.promise-bar {
  padding: 0;
  color: var(--white);
  background: var(--ink-soft);
}

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

.promise-grid > div,
.promise-grid > a {
  display: flex;
  min-height: 118px;
  align-items: center;
  gap: 19px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  padding: 24px 38px;
}

.promise-grid > :first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.promise-grid > a {
  transition: background 0.25s ease;
}

.promise-grid > a:hover {
  background: rgba(255, 255, 255, 0.055);
}

.promise-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(230, 57, 70, 0.55);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 800;
}

.promise-grid p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.promise-grid strong {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.promise-grid p span {
  color: #aeb0ad;
  font-size: 0.77rem;
}

.services {
  background-color: var(--paper);
  background-image: linear-gradient(rgba(8, 27, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 27, 51, 0.035) 1px, transparent 1px);
  background-position: center;
  background-size: 42px 42px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 70px;
}

.section-heading > p {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 251, 0.92);
  overflow: hidden;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s var(--ease);
}

.service-card::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(8, 27, 51, 0.09);
  content: "";
  transform: rotate(35deg);
}

.service-card:hover {
  z-index: 2;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-6px);
}

.service-card.featured {
  color: var(--white);
  background: var(--ink);
}

.service-card.featured::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 72px;
  background: var(--accent);
  content: "";
}

.service-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.service-top > span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.service-top svg {
  width: 58px;
  fill: none;
  stroke: var(--accent-dark);
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.35;
}

.service-card:hover .service-top svg,
.service-card.featured .service-top svg {
  stroke: var(--accent);
}

.service-card h3 {
  max-width: 420px;
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}

.service-card p {
  max-width: 470px;
  margin-bottom: 34px;
  color: var(--muted);
}

.service-card:hover p,
.service-card.featured p {
  color: #babcb9;
}

.service-card a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid currentColor;
  padding-top: 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.service-card a span {
  color: var(--accent-dark);
  font-size: 1.1rem;
}

.service-card:hover a span,
.service-card.featured a span {
  color: var(--accent);
}

.service-note {
  margin: 30px 0 0;
  color: var(--muted);
  text-align: center;
}

.service-note a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.latest-projects {
  color: var(--white);
  background: var(--ink-soft);
}

.latest-projects .section-heading > p {
  color: #bbc7d6;
}

.latest-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-post {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 520px;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 22px 60px rgba(3, 14, 29, 0.16);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.project-post:hover {
  z-index: 2;
  box-shadow: 0 28px 70px rgba(3, 14, 29, 0.3);
  transform: translateY(-7px);
}

.project-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #153a68, #081b33);
  text-align: left;
  cursor: default;
}

.project-media.has-video {
  cursor: pointer;
}

.project-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 15, 29, 0.52), transparent 52%);
  content: "";
  pointer-events: none;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s ease;
}

.project-post:hover .project-media img {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.project-image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.44);
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-play {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-play i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-style: normal;
  font-size: 0.85rem;
}

.project-post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px;
}

.project-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-post-meta span:first-child {
  color: var(--accent);
}

.project-post h3 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.1vw, 2.05rem);
  letter-spacing: -0.04em;
}

.project-post-summary {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-post-link {
  display: inline-flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  padding-top: 18px;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  color: var(--ink);
  border-top: 1px solid var(--line);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.project-post-link:hover {
  color: var(--accent-dark);
}

.projects-loading {
  display: flex;
  min-height: 280px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #bbc7d6;
}

.projects-loading span {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: projectSpin 0.8s linear infinite;
}

.projects-loading p,
.projects-empty {
  margin: 0;
}

.projects-empty {
  padding: 50px;
  color: #bbc7d6;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

@keyframes projectSpin {
  to { transform: rotate(360deg); }
}

.why {
  position: relative;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.why::after {
  position: absolute;
  right: -150px;
  bottom: -210px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  content: "";
  transform: rotate(28deg);
}

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(70px, 9vw, 130px);
}

.why-visual {
  position: relative;
  min-height: 680px;
}

.visual-frame {
  position: absolute;
  top: 0;
  right: 45px;
  bottom: 78px;
  left: 0;
  overflow: hidden;
}

.visual-frame::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 27, 51, 0.48), transparent 45%);
  content: "";
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.04);
}

.blueprint-card {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 260px;
  height: 210px;
  padding: 22px;
  color: var(--ink);
  background-color: var(--accent);
  background-image: linear-gradient(rgba(8, 27, 51, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 27, 51, 0.15) 1px, transparent 1px);
  background-size: 16px 16px;
}

.blueprint-card span {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.blueprint-card svg {
  width: 100%;
  margin-top: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.why-copy h2 {
  max-width: 700px;
  margin-bottom: 32px;
}

.why-copy .lead {
  max-width: 650px;
  margin-bottom: 50px;
  color: #b9bbb8;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.65;
}

.principles {
  margin-bottom: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.principles > div {
  display: grid;
  grid-template-columns: 36px 1fr 1.2fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.principles span {
  color: var(--accent);
  font-size: 0.67rem;
  font-weight: 900;
}

.principles h3,
.principles p {
  margin: 0;
}

.principles h3 {
  font-size: 1rem;
}

.principles p {
  color: #999c99;
  font-size: 0.88rem;
}

.process {
  background: var(--white);
}

.section-heading.compact {
  margin-bottom: 82px;
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 325px;
  padding: 30px 28px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--line);
}

.process-list li:first-child {
  border-left: 1px solid var(--line);
}

.process-list li::after {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 8px;
  height: 8px;
  background: var(--accent-dark);
  content: "";
}

.step-number {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 36px 0 30px;
  place-items: center;
  background: var(--paper);
}

.step-icon svg {
  width: 40px;
  fill: none;
  stroke: var(--accent-dark);
  stroke-width: 1.35;
}

.process-list h3 {
  margin-bottom: 12px;
}

.process-list p {
  color: var(--muted);
  font-size: 0.9rem;
}

.standards {
  color: var(--white);
  background: var(--accent-dark);
}

.standards-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.standards-title,
.standard-card {
  min-height: 330px;
  padding: 42px;
  background: var(--accent-dark);
}

.standards .eyebrow {
  color: var(--white);
}

.standards-title h2 {
  font-size: clamp(2.8rem, 4.3vw, 4.5rem);
}

.standard-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.standard-card > span {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.8;
}

.standard-card p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.55;
}

.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(60px, 9vw, 130px);
}

.faq-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-intro h2 {
  margin-bottom: 28px;
}

.faq-intro > p:not(.eyebrow) {
  max-width: 420px;
  margin-bottom: 30px;
  color: var(--muted);
}

.accordion {
  border-top: 1px solid var(--ink);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item h3 {
  margin: 0;
}

.accordion-item button {
  display: flex;
  width: 100%;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 0;
  padding: 24px 0;
  color: var(--ink);
  background: transparent;
  font-size: 1.05rem;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.accordion-item button span {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.accordion-item button span::before,
.accordion-item button span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.accordion-item button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-item button[aria-expanded="true"] span {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--accent);
}

.accordion-item button[aria-expanded="true"] span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.accordion-panel {
  overflow: hidden;
}

.accordion-panel p {
  max-width: 650px;
  margin: 0 0 30px;
  color: var(--muted);
}

.estimate {
  position: relative;
  padding: 120px 0;
  color: var(--white);
  background-color: var(--ink-soft);
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  overflow: hidden;
}

.estimate::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 100%;
  background: var(--accent);
  content: "";
}

.estimate-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(70px, 10vw, 140px);
}

.estimate-copy h2 {
  margin-bottom: 30px;
}

.estimate-copy > p:not(.eyebrow) {
  max-width: 510px;
  color: #b6b8b5;
  font-size: 1.05rem;
}

.direct-contact {
  display: grid;
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.direct-contact a {
  display: grid;
  gap: 3px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: padding-left 0.25s var(--ease), color 0.25s ease;
}

.direct-contact a:hover {
  padding-left: 10px;
  color: var(--accent);
}

.direct-contact span {
  color: #99a9bc;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.direct-contact strong {
  font-size: 1rem;
}

.estimate-form {
  display: grid;
  gap: 24px;
  padding: clamp(30px, 4vw, 52px);
  color: var(--ink);
  background: var(--paper);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.estimate-form label {
  display: grid;
  gap: 9px;
}

.estimate-form label > span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #bcb8ae;
  border-radius: 0;
  padding: 12px 0 14px;
  outline: 0;
  color: var(--ink);
  background: transparent;
  transition: border-color 0.2s ease;
}

.estimate-form textarea {
  resize: vertical;
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  border-color: var(--accent-dark);
}

.estimate-form input.invalid,
.estimate-form select.invalid,
.estimate-form textarea.invalid {
  border-color: #b44736;
}

.form-submit {
  justify-self: start;
  margin-top: 10px;
}

.form-note,
.form-error {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.form-error {
  color: #a03e30;
  font-weight: 700;
}

.site-footer {
  padding: 74px 0 26px;
  color: var(--white);
  background: #051222;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-main > p {
  color: #c3c5c2;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  justify-content: end;
  gap: 10px;
}

.footer-links a {
  color: #aaadaa;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  color: #777a77;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.request-dialog {
  width: min(650px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  margin: auto;
  border: 0;
  padding: clamp(28px, 5vw, 52px);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.request-dialog::backdrop {
  background: rgba(4, 15, 29, 0.8);
  backdrop-filter: blur(6px);
}

.request-dialog h2 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
}

.request-dialog > p:not(.eyebrow, .copy-status) {
  color: var(--muted);
}

.request-dialog pre {
  max-height: 240px;
  overflow: auto;
  margin: 28px 0;
  padding: 20px;
  border-left: 3px solid var(--accent-dark);
  white-space: pre-wrap;
  color: var(--ink);
  background: var(--white);
  font-family: "Aptos", "Segoe UI", sans-serif;
  font-size: 0.86rem;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.video-dialog {
  width: min(1040px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  border: 0;
  padding: 0;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58);
}

.video-dialog::backdrop {
  background: rgba(4, 15, 29, 0.88);
  backdrop-filter: blur(7px);
}

.video-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 25px 28px;
}

.video-dialog-head .eyebrow {
  margin-bottom: 8px;
}

.video-dialog-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}

.video-dialog-close {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
}

.copy-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: #4b7040;
  font-size: 0.8rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

@media (max-width: 1080px) {
  .site-header {
    gap: 24px;
  }

  .site-nav {
    gap: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr 240px;
  }

  .promise-grid > div,
  .promise-grid > a {
    padding-inline: 24px;
  }

  .why-grid {
    gap: 65px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 55px;
  }

  .standards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .standards-title {
    grid-column: 1 / -1;
    min-height: auto;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(calc(100% - 40px), var(--max));
  }

  .section {
    padding: 88px 0;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 20px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 21px;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s ease;
  }

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

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

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 110px 35px 50px;
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

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

  .site-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    font-size: clamp(1.5rem, 7vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 720px;
    height: auto;
    padding: 150px 0 100px;
  }

  .hero-backdrop {
    background-image: linear-gradient(90deg, rgba(4, 15, 29, 0.93), rgba(8, 27, 51, 0.42)),
      linear-gradient(0deg, rgba(4, 15, 29, 0.82), transparent 55%),
      url("assets/commercial-slab-finish.webp");
    background-position: center, center, 62% center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 65px;
    padding-top: 0;
  }

  .hero-note {
    width: min(100%, 400px);
  }

  .scroll-cue {
    display: none;
  }

  .promise-grid {
    grid-template-columns: 1fr;
  }

  .promise-grid > div,
  .promise-grid > a,
  .promise-grid > :first-child {
    min-height: 94px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    border-left: 0;
    padding-inline: 20px;
  }

  .section-heading,
  .faq-grid,
  .estimate-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .service-card {
    min-height: 390px;
    padding: 30px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-visual {
    min-height: 580px;
  }

  .faq-intro {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  h1 {
    font-size: clamp(3.5rem, 17vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
  }

  .brand-name strong {
    font-size: 0.64rem;
  }

  .brand-name span {
    font-size: 0.55rem;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .hero-note {
    display: none;
  }

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

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

  .project-post {
    min-height: 0;
  }

  .project-post-body {
    padding: 24px;
  }

  .video-dialog-head {
    padding: 20px;
  }

  .video-dialog-head h2 {
    max-width: 250px;
  }

  .service-card {
    min-height: 375px;
  }

  .why-visual {
    min-height: 460px;
  }

  .visual-frame {
    right: 20px;
    bottom: 65px;
  }

  .blueprint-card {
    width: 210px;
    height: 170px;
  }

  .principles > div {
    grid-template-columns: 30px 1fr;
  }

  .principles p {
    grid-column: 2;
  }

  .process-list {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .process-list li {
    min-height: 290px;
    border-left: 1px solid var(--line);
  }

  .standards-grid {
    grid-template-columns: 1fr;
  }

  .standards-title,
  .standard-card {
    min-height: 280px;
    padding: 30px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .estimate-form {
    padding: 28px 22px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-column: auto;
    grid-row: auto;
    justify-content: start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
