:root {
  --ink: #0d1218;
  --ink-soft: #141e29;
  --slate: #23384a;
  --paper: #e9eef1;
  --paper-warm: #dce3e7;
  --white: #ffffff;
  --silver: #b9c9d5;
  --silver-dark: #7690a2;
  --accent: #7ca8c9;
  --line-dark: rgba(13, 18, 24, 0.16);
  --line-light: rgba(255, 255, 255, 0.16);
  --radius-sm: 0.55rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.35rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --page-pad: clamp(1.25rem, 4vw, 5rem);
  --header-height: 6.75rem;
  --font-display: "Barlow Condensed", Impact, sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  z-index: 100;
  background: #09121b;
  backdrop-filter: none;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

.page-shell {
  width: min(100%, 94rem);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--page-pad);
  border-bottom: 1px solid transparent;
  transition:
    height 500ms var(--ease-out),
    background-color 500ms var(--ease-out),
    border-color 500ms var(--ease-out),
    backdrop-filter 500ms var(--ease-out);
}

.site-header.scrolled {
  height: 4.5rem;
  border-color: var(--line-light);
  background: rgba(9, 15, 22, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: clamp(10.25rem, 11.2vw, 12.2rem);
  aspect-ratio: 1.75 / 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(185, 201, 213, 0.16);
  border-radius: var(--radius-sm);
  box-shadow: 0 0.45rem 1.6rem rgba(0, 0, 0, 0.16);
  transition:
    width 500ms var(--ease-out),
    border-color 300ms ease,
    box-shadow 300ms ease,
    transform 500ms var(--ease-out);
}

.brand:hover .brand-logo {
  border-color: rgba(124, 168, 201, 0.58);
  box-shadow: 0 0.65rem 2.1rem rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.site-header.scrolled .brand-logo {
  width: 8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.7vw, 2.75rem);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  transition: color 240ms ease;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  scale: 0 1;
  transform-origin: right;
  transition:
    scale 320ms var(--ease-out),
    transform-origin 0ms 320ms;
}

.site-nav a:not(.nav-cta):hover {
  color: var(--accent);
}

.site-nav a:not(.nav-cta):hover::after {
  scale: 1 1;
  transform-origin: left;
  transition:
    scale 320ms var(--ease-out),
    transform-origin 0ms;
}

.nav-cta {
  padding: 0.78rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  transition:
    color 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 300ms ease,
    transform 300ms var(--ease-out);
}

.nav-cta:hover {
  color: var(--ink);
  border-color: var(--paper);
  background: var(--paper);
  box-shadow: 0 0.6rem 1.3rem rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  align-items: center;
}

.hero-image,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 55% center;
  scale: 1.045;
  translate: 0 var(--hero-shift, 0);
  animation: image-settle 1400ms ease-out forwards;
  will-change: translate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 15, 18, 0.93) 0%, rgba(8, 15, 18, 0.69) 35%, rgba(8, 15, 18, 0.08) 76%),
    linear-gradient(0deg, rgba(8, 15, 18, 0.88) 0%, transparent 38%);
}

.hero-grid {
  opacity: 0.23;
  background-image: linear-gradient(90deg, transparent calc(100% - 1px), rgba(255, 255, 255, 0.16) 100%);
  background-size: 25% 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}

.eyebrow,
.section-tag {
  margin: 0;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--silver);
}

.hero-eyebrow span {
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: var(--accent);
}

h1,
.display-heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.88;
  text-transform: uppercase;
}

h1 {
  max-width: 66rem;
  margin-top: 1.7rem;
  font-size: clamp(3.9rem, 7.4vw, 8.1rem);
  line-height: 0.93;
}

h1 em,
.display-heading em {
  color: var(--silver);
  font-weight: 500;
}

.hero-copy {
  max-width: 32rem;
  margin: 1.65rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  margin-top: 2.2rem;
  align-items: center;
  gap: 1.75rem;
}

.button {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 300ms ease,
    transform 350ms var(--ease-out);
}

.button::after {
  position: absolute;
  top: -40%;
  left: -35%;
  width: 22%;
  height: 180%;
  background: rgba(255, 255, 255, 0.42);
  content: "";
  rotate: 20deg;
  translate: -250% 0;
  transition: translate 650ms var(--ease-out);
}

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

.button:hover::after {
  translate: 720% 0;
}

.button:active {
  transform: translateY(-1px) scale(0.98);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-light:hover {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0.9rem 1.8rem rgba(12, 28, 40, 0.24);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--accent);
  font-size: 1.2rem;
  transition: transform 360ms var(--ease-out);
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.hero-bottom {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  translate: -50% 0;
}

.hero-bottom p {
  margin: 0;
}

.hero-line {
  position: absolute;
  z-index: 1;
  right: -5rem;
  bottom: -3.5rem;
  width: min(55vw, 49rem);
  opacity: 0.27;
  fill: none;
  stroke: var(--silver);
  stroke-width: 1;
  translate: 0 var(--line-shift, 0);
  will-change: translate;
}

.hero-line path {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: draw-line 1800ms 650ms var(--ease-out) forwards;
}

[data-hero-item] {
  opacity: 0;
  animation: hero-in 700ms ease-out forwards;
  translate: 0 1rem;
}

[data-hero-item]:nth-child(1) {
  animation-delay: 180ms;
}

[data-hero-item]:nth-child(2) {
  animation-delay: 290ms;
}

[data-hero-item]:nth-child(3) {
  animation-delay: 400ms;
}

[data-hero-item]:nth-child(4) {
  animation-delay: 510ms;
}

.section {
  padding-block: clamp(5.5rem, 11vw, 11rem);
}

.light-section {
  color: var(--ink);
  background: var(--paper);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(9rem, 0.65fr) minmax(0, 2fr);
  gap: 2rem;
}

.display-heading {
  font-size: clamp(4rem, 8vw, 8.6rem);
}

.display-heading em {
  font-style: normal;
}

.intro .display-heading em {
  color: var(--silver-dark);
}

.intro-detail {
  display: grid;
  max-width: 53rem;
  margin-top: 2.4rem;
  grid-template-columns: minmax(0, 1.55fr) auto;
  align-items: end;
  gap: 3rem;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.1rem;
}

.intro-detail p {
  max-width: 35rem;
  margin: 0;
  color: rgba(17, 23, 25, 0.74);
  font-size: 1rem;
  line-height: 1.8;
}

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

.services {
  background: var(--ink-soft);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(9rem, 0.65fr) minmax(0, 2fr);
  gap: 2rem;
}

.service-list {
  margin-top: clamp(4rem, 8vw, 7.5rem);
  border-top: 1px solid var(--line-light);
}

.service-row {
  display: grid;
  min-height: 9.8rem;
  grid-template-columns: minmax(4rem, 0.45fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  transition:
    color 220ms ease,
    padding-inline 220ms ease,
    background-color 220ms ease,
    transform 420ms var(--ease-out);
}

.service-row:hover {
  padding-inline: 1.2rem;
  color: var(--ink);
  background: var(--accent);
  transform: translateX(0.45rem);
}

.service-row:hover p {
  color: rgba(17, 23, 25, 0.68);
}

.service-number {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.8rem;
  transition: color 220ms ease;
}

.service-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
}

.service-row p {
  max-width: 43rem;
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.87rem;
  line-height: 1.75;
  transition: color 220ms ease;
}

.service-arrow {
  color: var(--accent);
  font-size: 2rem;
  transition:
    color 220ms ease,
    transform 420ms var(--ease-out);
}

.service-row:hover .service-arrow,
.service-row:hover .service-number {
  color: var(--ink);
}

.service-row:hover .service-arrow {
  transform: translate(0.2rem, -0.2rem) rotate(9deg);
}

.statement {
  overflow: hidden;
  color: var(--ink);
  background: var(--accent);
}

.statement-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.statement p {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 2rem;
  padding: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.7vw, 3.7rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
}

.statement span {
  display: block;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--ink);
}

.craft {
  color: var(--ink);
  background: var(--paper-warm);
}

.craft-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.craft-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 1rem 2.6rem rgba(13, 18, 24, 0.14);
  transition:
    box-shadow 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}

.craft-image-wrap:hover {
  box-shadow: 0 1.35rem 3rem rgba(13, 18, 24, 0.2);
  transform: translateY(-0.35rem);
}

.craft-image {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  scale: 1.04;
  transition: scale 650ms ease;
}

.craft-image-wrap:hover .craft-image {
  scale: 1;
}

.image-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.85rem 1rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius-md) 0 0 0;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.craft-copy > p:not(.section-tag) {
  max-width: 34rem;
  margin: 2rem 0 0;
  color: rgba(17, 23, 25, 0.68);
  font-size: 0.96rem;
  line-height: 1.8;
}

.craft-copy .display-heading {
  margin-top: 1.2rem;
  font-size: clamp(4rem, 6.2vw, 7.2rem);
}

.craft-copy .display-heading em {
  color: var(--silver-dark);
}

.gallery {
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(124, 168, 201, 0.08), transparent 28%),
    var(--ink);
}

.gallery-heading {
  align-items: end;
}

.gallery .display-heading em {
  color: var(--accent);
}

.gallery-copy {
  max-width: 34rem;
  margin: 2rem 0 0;
  color: rgba(233, 238, 241, 0.68);
  font-size: 0.96rem;
  line-height: 1.8;
}

.gallery-grid {
  display: grid;
  gap: clamp(2.4rem, 5vw, 4.5rem);
  margin-top: clamp(3.2rem, 7vw, 6rem);
}

.gallery-site {
  padding-top: clamp(1rem, 2vw, 1.45rem);
  border-top: 1px solid rgba(233, 238, 241, 0.18);
}

.gallery-site-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(0.85rem, 1.6vw, 1.3rem);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.gallery-site-heading small {
  flex: 0 0 auto;
  color: rgba(233, 238, 241, 0.58);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-site-description {
  max-width: 58rem;
  margin: 0 0 clamp(1rem, 1.8vw, 1.45rem);
  color: rgba(233, 238, 241, 0.72);
  font-size: 0.96rem;
  line-height: 1.75;
}

.gallery-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.95rem, 2vw, 1.35rem);
}

.gallery-comparison-single {
  grid-template-columns: minmax(0, 0.5fr);
}

.gallery-stage {
  min-width: 0;
}

.gallery-stage h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.72rem;
  color: rgba(233, 238, 241, 0.74);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-stage h3::before {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.gallery-stage-after h3::before {
  background: var(--silver);
}

.gallery-site-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.62rem, 1.05vw, 1rem);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.18);
  isolation: isolate;
}

.gallery-item:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(8, 13, 18, 0.38)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 42%);
  content: "";
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.gallery-item > span {
  position: absolute;
  z-index: 2;
  top: 0.72rem;
  left: 0.72rem;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 13, 18, 0.58);
  color: var(--paper);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.04;
  transition:
    filter 420ms ease,
    scale 650ms var(--ease-out),
    transform 650ms var(--ease-out);
}

.gallery-item:hover::after {
  opacity: 0.38;
}

.gallery-item:hover img {
  filter: saturate(1.08) contrast(1.04);
  scale: 1.01;
  transform: translateY(-0.2rem);
}

.process-list {
  margin: 3.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  transition:
    background-color 300ms ease,
    padding-inline 400ms var(--ease-out);
}

.process-list li:hover {
  padding-inline: 0.8rem;
  background: rgba(124, 168, 201, 0.1);
}

.process-list span {
  color: var(--silver-dark);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.process-list strong {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.process-list p {
  grid-column: 2;
  margin: 0.45rem 0 0;
  color: rgba(17, 23, 25, 0.62);
  font-size: 0.78rem;
  line-height: 1.65;
}

.areas {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 38%),
    var(--paper);
}

.areas-layout {
  display: grid;
  grid-template-columns: minmax(9rem, 0.65fr) minmax(0, 2fr);
  gap: 2rem;
}

.areas .display-heading em {
  color: var(--silver-dark);
}

.areas-copy {
  max-width: 39rem;
  margin: 2rem 0 0;
  color: rgba(17, 23, 25, 0.7);
  font-size: 0.98rem;
  line-height: 1.8;
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2.8rem 0 0;
  padding: 0;
  list-style: none;
}

.areas-list li {
  border: 1px solid rgba(13, 18, 24, 0.16);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.32);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    transform 350ms var(--ease-out);
}

.areas-list li:hover {
  border-color: rgba(124, 168, 201, 0.8);
  background: rgba(124, 168, 201, 0.22);
  transform: translateY(-2px);
}

.contact {
  position: relative;
  overflow: hidden;
  background: #101922;
}

.contact-bg {
  position: absolute;
  inset: auto -4% -10% auto;
  width: min(70rem, 85vw);
  opacity: 0.13;
  translate: 0 var(--contact-line-shift, 0);
  will-change: translate;
}

.contact-bg svg {
  display: block;
  fill: none;
  stroke: var(--silver);
  stroke-width: 1;
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.88fr);
  gap: clamp(3rem, 9vw, 10rem);
}

.contact-intro .display-heading {
  margin-top: 1.2rem;
}

.contact-intro > p:not(.section-tag) {
  max-width: 34rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.93rem;
  line-height: 1.8;
}

.email-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition:
    color 240ms ease,
    letter-spacing 500ms var(--ease-out);
}

.email-link:hover {
  color: var(--paper);
  letter-spacing: 0.055em;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.contact-points a,
.contact-points span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.68rem 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-points a {
  transition:
    color 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    transform 350ms var(--ease-out);
}

.contact-points a:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-2px);
}

.contact-form {
  display: grid;
  gap: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  opacity: 0;
  translate: 0 0.65rem;
  transition:
    opacity 550ms ease var(--reveal-delay, 0ms),
    translate 650ms var(--ease-out) var(--reveal-delay, 0ms);
}

.contact-form.is-visible label {
  opacity: 1;
  translate: 0 0;
}

.contact-form label span {
  color: var(--silver);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  outline: 0;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.95rem;
  resize: vertical;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 300ms ease,
    transform 350ms var(--ease-out);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(124, 168, 201, 0.06);
  box-shadow: 0 0 0 3px rgba(124, 168, 201, 0.09);
  transform: translateY(-2px);
}

.contact-form label span {
  transition:
    color 240ms ease,
    transform 350ms var(--ease-out);
}

.contact-form label:focus-within span {
  color: var(--accent);
  transform: translateX(0.3rem);
}

.form-submit {
  width: fit-content;
  margin-top: 1rem;
  gap: 0.9rem;
}

.form-submit span {
  transition: transform 350ms var(--ease-out);
}

.form-submit:hover span {
  transform: translate(0.2rem, -0.2rem);
}

.form-status {
  min-height: 1.2rem;
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  line-height: 1.6;
}

.quote-dialog {
  width: min(92vw, 68rem);
  max-height: min(92svh, 54rem);
  overflow: hidden auto;
  border: 1px solid rgba(185, 201, 213, 0.2);
  border-radius: var(--radius-lg);
  padding: 0;
  color: var(--paper);
  background: #111d28;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.42);
  opacity: 0;
  scale: 0.96;
}

.quote-dialog[open] {
  animation: modal-in 420ms var(--ease-out) forwards;
}

.quote-dialog.is-closing {
  animation: modal-out 240ms ease forwards;
}

.quote-dialog::backdrop {
  background: rgba(5, 11, 16, 0.76);
  backdrop-filter: blur(10px);
  animation: backdrop-in 320ms ease forwards;
}

.quote-dialog.is-closing::backdrop {
  animation: backdrop-out 240ms ease forwards;
}

.quote-modal {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2rem, 5vw, 4.5rem);
}

.quote-modal-intro,
.quote-form {
  position: relative;
  z-index: 1;
}

.quote-title {
  margin: 1.1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 7vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.88;
  text-transform: uppercase;
}

.quote-title em {
  color: var(--silver);
  font-style: normal;
  font-weight: 500;
}

.quote-modal-intro > p:last-child {
  max-width: 27rem;
  margin: 1.65rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.8;
}

.quote-close {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  cursor: pointer;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    transform 350ms var(--ease-out);
}

.quote-close:hover {
  border-color: var(--accent);
  background: rgba(124, 168, 201, 0.14);
  transform: rotate(90deg);
}

.quote-close span {
  position: absolute;
  width: 1rem;
  height: 1px;
  background: var(--paper);
  rotate: 45deg;
}

.quote-close span:last-child {
  rotate: -45deg;
}

.quote-form {
  display: grid;
  gap: 0.85rem;
}

.quote-form label {
  display: grid;
  gap: 0.36rem;
}

.quote-form label span {
  color: var(--silver);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    color 240ms ease,
    transform 350ms var(--ease-out);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  outline: 0;
  padding: 0.72rem 0.85rem;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 0.88rem;
  resize: vertical;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 300ms ease,
    transform 350ms var(--ease-out);
}

.quote-form select {
  color-scheme: dark;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--accent);
  background: rgba(124, 168, 201, 0.08);
  box-shadow: 0 0 0 3px rgba(124, 168, 201, 0.1);
  transform: translateY(-2px);
}

.quote-form label:focus-within span {
  color: var(--accent);
  transform: translateX(0.3rem);
}

.quote-form .form-submit {
  margin-top: 0.45rem;
}

.quote-modal-line {
  position: absolute;
  right: -7rem;
  bottom: -4.5rem;
  width: min(39rem, 68vw);
  opacity: 0.14;
  fill: none;
  stroke: var(--silver);
  stroke-width: 1;
}

.quote-modal-line path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.quote-dialog[open] .quote-modal-line path {
  animation: draw-line 1200ms 180ms var(--ease-out) forwards;
}

.site-footer {
  border-top: 1px solid var(--line-light);
  background: #0a1118;
}

.footer-layout {
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-layout p,
.footer-layout > a:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  scale: 0.99;
  translate: 0 1.25rem;
  transition:
    opacity 700ms ease var(--reveal-delay, 0ms),
    scale 800ms var(--ease-out) var(--reveal-delay, 0ms),
    translate 800ms var(--ease-out) var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  scale: 1;
  translate: 0 0;
}

@keyframes hero-in {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes image-settle {
  to {
    scale: 1;
  }
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes marquee {
  to {
    translate: -50% 0;
  }
}

@keyframes modal-in {
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes modal-out {
  from {
    opacity: 1;
    scale: 1;
  }

  to {
    opacity: 0;
    scale: 0.97;
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes backdrop-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 8.1rem;
  }

  .site-header {
    height: var(--header-height);
    justify-content: flex-end;
  }

  .site-header.scrolled {
    height: 6rem;
  }

  .site-header .brand {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
  }

  .site-header .brand-logo {
    width: clamp(11rem, 44vw, 15.25rem);
  }

  .site-header.scrolled .brand-logo {
    width: clamp(9rem, 34vw, 11.4rem);
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    width: 2.85rem;
    height: 2.85rem;
    place-content: center;
    gap: 0.3rem;
    border: 1px solid var(--line-light);
    border-radius: var(--radius-sm);
    background: rgba(14, 28, 39, 0.42);
    transition:
      background-color 240ms ease,
      border-color 240ms ease,
      transform 350ms var(--ease-out);
  }

  .menu-toggle:hover {
    border-color: rgba(124, 168, 201, 0.72);
    background: rgba(124, 168, 201, 0.14);
    transform: translateY(-2px);
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 1.15rem;
    height: 1px;
    background: var(--paper);
    transition:
      rotate 180ms ease,
      translate 180ms ease,
      opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    rotate: 45deg;
    translate: 0 0.32rem;
  }

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

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    rotate: -45deg;
    translate: 0 -0.32rem;
  }

  .site-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: grid;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    align-content: center;
    justify-items: center;
    gap: 1.75rem;
    background: #09121b;
    box-shadow: 0 0 0 100vmax #09121b;
    font-family: var(--font-display);
    font-size: 2.45rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    opacity: 0;
    pointer-events: none;
    text-transform: uppercase;
    transform: translateY(-1rem);
    transition:
      opacity 220ms ease,
      transform 220ms ease;
  }

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

  .nav-cta {
    padding: 0;
    border: 0;
    color: var(--accent);
    background: none;
  }

  .hero-image {
    object-position: 61% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 15, 18, 0.92) 0%, rgba(8, 15, 18, 0.52) 72%, rgba(8, 15, 18, 0.28) 100%),
      linear-gradient(0deg, rgba(8, 15, 18, 0.92) 0%, transparent 51%);
  }

  .hero-grid {
    background-size: 50% 100%;
  }

  h1 {
    margin-top: 1.35rem;
    font-size: clamp(3rem, 14vw, 5.2rem);
    line-height: 0.98;
  }

  .hero-copy {
    max-width: 22rem;
    font-size: 0.9rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.45rem;
  }

  .hero-bottom p:last-child {
    display: none;
  }

  .hero-line {
    right: -7rem;
    width: 34rem;
  }

  .section {
    padding-block: 5.5rem;
  }

  .intro-layout,
  .section-heading-row,
  .craft-layout,
  .areas-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .display-heading {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .intro-detail {
    display: grid;
    margin-top: 2rem;
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .service-list {
    margin-top: 3.3rem;
  }

  .service-row {
    min-height: 0;
    grid-template-columns: 2.3rem minmax(0, 1fr) auto;
    padding-block: 1.7rem;
  }

  .service-row:hover {
    padding-inline: 0.65rem;
  }

  .service-row h3 {
    font-size: 2.2rem;
  }

  .service-row p {
    font-size: 0.77rem;
  }

  .service-arrow {
    align-self: start;
    font-size: 1.45rem;
  }

  .craft-layout {
    gap: 3.1rem;
  }

  .craft-image {
    aspect-ratio: 1 / 1.04;
  }

  .craft-copy .display-heading {
    font-size: clamp(3.8rem, 17vw, 5.5rem);
  }

  .gallery-comparison {
    grid-template-columns: 1fr;
    gap: 1.55rem;
  }

  .contact-layout {
    gap: 3.2rem;
  }

  .areas-list {
    gap: 0.62rem;
  }

  .areas-list li {
    padding: 0.64rem 0.78rem;
    font-size: 0.59rem;
  }

  .contact-bg {
    width: 52rem;
  }

  .quote-dialog {
    width: min(94vw, 33rem);
    max-height: 92svh;
  }

  .quote-modal {
    grid-template-columns: 1fr;
    gap: 1.55rem;
    padding: 2rem 1.25rem 1.4rem;
  }

  .quote-title {
    font-size: clamp(4.1rem, 19vw, 5.5rem);
  }

  .quote-modal-intro > p:last-child {
    margin-top: 1rem;
  }

  .quote-close {
    top: 0.85rem;
    right: 0.85rem;
    width: 2.45rem;
    height: 2.45rem;
  }

  .quote-form {
    gap: 0.72rem;
  }

  .quote-modal-line {
    width: 38rem;
  }

  .footer-layout {
    min-height: 9.5rem;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 0.85rem;
    padding-block: 1.4rem;
  }
}

@media (max-width: 520px) {
  .gallery-site-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .gallery-site-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
  }
}

@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;
  }
}
