:root {
  --ink: #111418;
  --ink-soft: #181c21;
  --clay: #e5a93c;
  --paper: #f3f0e8;
  --white: #ffffff;
  --muted: #a1a8b3;
  --line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--clay);
  color: var(--ink);
}

.skip-link:focus {
  top: 16px;
}

.floating-nav {
  position: fixed;
  z-index: 90;
  top: 22px;
  left: 50%;
  width: min(1180px, calc(100% - 44px));
  height: 68px;
  padding: 0 10px 0 22px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(12, 14, 17, 0.68);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 0.85;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.32em;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  gap: 2px;
  width: 20px;
  height: 20px;
  transform: skewY(-8deg);
}

.brand-mark i {
  display: block;
  height: 6px;
  background: var(--clay);
}

.brand-mark i:nth-child(3) {
  grid-column: 1 / 3;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  color: #d8dce1;
  font-size: 12px;
  font-weight: 500;
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--clay);
}

.phone-pill,
.primary-cta,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 999px;
  background: var(--clay);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-pill {
  justify-self: end;
  height: 48px;
  padding: 0 22px;
}

.phone-pill span,
.primary-cta span,
.submit-button span {
  font-size: 18px;
  transition: transform 180ms ease;
}

.phone-pill:hover span,
.primary-cta:hover span,
.submit-button:hover span {
  transform: translate(3px, -3px);
}

.menu-toggle {
  display: none;
}

.sequence {
  position: relative;
}

.hero-sequence {
  height: 300vh;
}

.craft-sequence {
  height: 250vh;
}

.sequence-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #1e2123;
}

.sequence canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cinematic-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.82) 0%, rgba(8, 10, 12, 0.32) 43%, rgba(8, 10, 12, 0.06) 68%),
    linear-gradient(0deg, rgba(8, 10, 12, 0.52) 0%, transparent 35%);
}

.loading-meter {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.loading-meter span {
  display: block;
  height: 100%;
  background: var(--clay);
  transition: width 250ms ease;
}

.hero-kicker,
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #616770;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-kicker {
  position: absolute;
  left: max(5vw, calc((100vw - 1180px) / 2));
  top: 130px;
  color: rgba(255, 255, 255, 0.64);
}

.hero-kicker span,
.section-label span {
  color: var(--clay);
}

.hero-kicker::after,
.section-label::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}

.sequence-copy {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: max(5vw, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  width: min(590px, 48vw);
}

.copy-stage {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 80ms linear, transform 80ms linear;
}

.copy-stage.is-visible {
  opacity: 1;
  transform: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 0.87;
}

h1,
.copy-stage h2 {
  font-size: clamp(74px, 7.4vw, 124px);
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.18);
}

h1 em,
h2 em {
  color: var(--clay);
  font-style: normal;
}

.lede {
  max-width: 430px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.7;
}

.primary-cta {
  height: 60px;
  margin-top: 30px;
  padding: 0 28px;
}

.scroll-cue {
  position: absolute;
  right: max(5vw, calc((100vw - 1180px) / 2));
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(-100%);
  transform-origin: right bottom;
}

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

.scroll-cue i::after {
  content: "";
  position: absolute;
  width: 45%;
  height: 100%;
  background: var(--clay);
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  from { transform: translateX(-110%); }
  to { transform: translateX(230%); }
}

.proof-section,
.projects-section {
  position: relative;
  padding: 130px max(5vw, calc((100vw - 1180px) / 2));
  background-color: var(--paper);
  color: var(--ink);
  background-image:
    linear-gradient(rgba(17, 20, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 24, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
}

.proof-intro {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  align-items: end;
  gap: 10vw;
  margin: 70px 0 90px;
}

.proof-intro h2,
.projects-header h2,
.contact-copy h2 {
  font-size: clamp(52px, 5vw, 82px);
}

.proof-intro p,
.contact-copy > p:last-of-type {
  margin: 0 0 5px;
  color: #626972;
  font-size: 14px;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(17, 20, 24, 0.18);
  border-bottom: 1px solid rgba(17, 20, 24, 0.18);
}

.stats-grid article {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 190px;
  padding: 34px;
  border-right: 1px solid rgba(17, 20, 24, 0.18);
}

.stats-grid article:first-child {
  padding-left: 0;
}

.stats-grid article:last-child {
  border-right: 0;
}

.stats-grid strong {
  font-family: "Outfit", sans-serif;
  font-size: clamp(52px, 5vw, 78px);
  font-weight: 600;
  letter-spacing: -0.06em;
}

.stats-grid span {
  color: #747b84;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 64px;
  color: #7a7f85;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
}

.craft-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 12, 13, 0.88), transparent 48%),
    linear-gradient(0deg, rgba(11, 12, 13, 0.55), transparent 40%);
}

.craft-sequence .section-label {
  position: absolute;
  z-index: 3;
  top: 130px;
  left: max(5vw, calc((100vw - 1180px) / 2));
}

.section-label.light {
  color: rgba(255, 255, 255, 0.5);
}

.craft-heading {
  position: absolute;
  z-index: 3;
  left: max(5vw, calc((100vw - 1180px) / 2));
  top: 36%;
}

.craft-heading h2 {
  font-size: clamp(52px, 5.8vw, 94px);
}

.craft-card {
  position: absolute;
  z-index: 4;
  right: max(5vw, calc((100vw - 1180px) / 2));
  bottom: 70px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 24px;
  width: min(420px, 38vw);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 20, 22, 0.68);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  opacity: 0;
}

.craft-card.second {
  bottom: 70px;
}

.craft-card > span {
  color: var(--clay);
  font-family: "Outfit", sans-serif;
  font-size: 11px;
}

.craft-card h3 {
  margin: 0 0 12px;
  font-family: "Outfit", sans-serif;
  font-size: 25px;
  font-weight: 600;
}

.craft-card p {
  margin: 0;
  color: #b5bac0;
  font-size: 12px;
  line-height: 1.7;
}

.projects-section {
  background-color: #f7f5ef;
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin: 70px 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  max-width: 500px;
}

.filters button {
  padding: 11px 16px;
  border: 1px solid rgba(17, 20, 24, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #6e747b;
  font-size: 10px;
  cursor: pointer;
  transition: 180ms ease;
}

.filters button:hover,
.filters button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 14px;
}

.project-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--ink-soft);
}

.project-card:nth-child(1),
.project-card:nth-child(5) {
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.83) contrast(1.05);
  transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 650ms ease;
}

.project-card:hover img {
  transform: scale(1.055);
  filter: saturate(1) contrast(1.02);
}

.project-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 50px 22px 22px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(8, 10, 12, 0.82));
}

.project-overlay span {
  color: var(--clay);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-overlay h3 {
  margin: 8px 0 4px;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.project-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10vw;
  padding: 130px max(5vw, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 15% 80%, rgba(229, 169, 60, 0.1), transparent 28%),
    var(--ink);
}

.contact-copy .section-label {
  margin-bottom: 90px;
}

.contact-copy > p:last-of-type {
  max-width: 410px;
  margin: 28px 0 34px;
  color: var(--muted);
}

.contact-copy > a {
  display: inline-flex;
  gap: 18px;
  border-bottom: 1px solid var(--clay);
  padding-bottom: 8px;
  color: var(--clay);
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.quote-form {
  min-height: 580px;
  padding: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quote-form label {
  display: block;
  margin-bottom: 24px;
  color: #858c95;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select {
  width: 100%;
  height: 50px;
  margin-top: 8px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  text-transform: none;
  transition: border-color 180ms ease;
}

.quote-form input::placeholder {
  color: #676d74;
}

.quote-form input:focus,
.quote-form select:focus {
  border-color: var(--clay);
}

.quote-form option {
  background: var(--ink);
}

.submit-button {
  width: 100%;
  height: 60px;
  border: 0;
  cursor: pointer;
}

.quote-form > small {
  display: block;
  margin-top: 16px;
  color: #636971;
  font-size: 9px;
  text-align: center;
}

.success-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 490px;
}

.success-message > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--ink);
  font-size: 22px;
}

.success-message h3 {
  margin: 0 0 12px;
  font-family: "Outfit", sans-serif;
  font-size: 40px;
}

.success-message p {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.7;
}

.success-message button {
  margin-top: 30px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid var(--clay);
  background: none;
  color: var(--clay);
  cursor: pointer;
}

footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1fr;
  align-items: end;
  gap: 40px;
  padding: 48px max(5vw, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: #767d86;
  background: #0c0e11;
  font-size: 10px;
  line-height: 1.7;
}

footer > div {
  display: flex;
  gap: 20px;
  color: #b9bec4;
}

footer > small {
  text-align: right;
}

@media (max-width: 900px) {
  .floating-nav {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 44px;
    padding: 12px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--white);
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(12, 14, 17, 0.95);
    backdrop-filter: blur(16px);
  }

  .nav-links.is-open {
    display: flex;
  }

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

  .proof-intro {
    gap: 34px;
  }

  .stats-grid article {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .projects-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    justify-content: flex-start;
  }

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

  .contact-copy .section-label {
    margin-bottom: 50px;
  }
}

@media (max-width: 620px) {
  .floating-nav {
    top: 12px;
    width: calc(100% - 24px);
    height: 60px;
    padding-left: 16px;
  }

  .phone-pill {
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 0;
  }

  .phone-pill span {
    font-size: 18px;
  }

  .hero-kicker,
  .craft-sequence .section-label {
    top: 100px;
    left: 22px;
  }

  .sequence-copy {
    left: 22px;
    bottom: 30px;
    width: calc(100% - 44px);
    align-items: flex-end;
    padding-bottom: 110px;
  }

  h1,
  .copy-stage h2 {
    font-size: clamp(58px, 19vw, 78px);
  }

  .cinematic-shade {
    background: linear-gradient(0deg, rgba(8, 10, 12, 0.9), rgba(8, 10, 12, 0.06) 72%);
  }

  .scroll-cue {
    display: none;
  }

  .proof-section,
  .projects-section,
  .contact-section {
    padding: 90px 22px;
  }

  .proof-intro {
    margin: 54px 0 60px;
  }

  .proof-intro h2,
  .projects-header h2,
  .contact-copy h2,
  .craft-heading h2 {
    font-size: 48px;
  }

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

  .stats-grid article,
  .stats-grid article:first-child {
    min-height: 120px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 20, 24, 0.18);
    flex-direction: row;
    align-items: flex-end;
  }

  .stats-grid article:last-child {
    border-bottom: 0;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .craft-gradient {
    background: linear-gradient(0deg, rgba(10, 11, 12, 0.9), rgba(10, 11, 12, 0.1) 75%);
  }

  .craft-heading {
    left: 22px;
    top: 25%;
  }

  .craft-card {
    right: 22px;
    bottom: 48px;
    width: calc(100% - 44px);
  }

  .projects-header {
    margin: 54px 0 40px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 340px;
  }

  .project-card:nth-child(1),
  .project-card:nth-child(5) {
    grid-row: auto;
  }

  .contact-section {
    gap: 60px;
  }

  .quote-form {
    min-height: 0;
    padding: 26px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 48px 22px;
  }

  footer > small {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
