﻿/* ============================================================
   Design tokens
   Change colors, fonts and the shared content width here.
   ============================================================ */

:root {
  --black: #070706;
  --black-soft: #11100f;
  --ivory: #e9e1d9;
  --paper: #d8cec5;
  --bronze: #a17a61;
  --line: rgba(161, 122, 97, .55);
  --content-width: 1300px;
  --sans: "Manrope", sans-serif;
  --serif: "Cormorant Garamond", serif;
}

/* ============================================================
   Reset and shared utilities
   ============================================================ */

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 14px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  color: inherit;
}
.wrap,
.wrap-wide {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  padding: .8rem 1rem;
  background: var(--ivory);
  color: var(--black);
}
.skip-link:focus {
  top: 1rem;
}

/* ============================================================
   Header and navigation
   ============================================================ */

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  width: min(var(--content-width), calc(100% - 48px));
  height: 104px;
  margin-inline: auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
}
.brand-mark {
  font-family: var(--serif);
  font-size: 49px;
  line-height: .8;
  letter-spacing: -3px;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.brand-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-name {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 9px;
  line-height: 1.55;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
}
.main-nav a, .button, .text-link, .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 500;
}
.main-nav a {
  position: relative;
  padding: 10px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--bronze);
  transition: right .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after {
  right: 0;
}
.button {
  min-height: 42px;
  border: 1px solid rgba(233,225,217,.55);
  border-radius: 999px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: .25s;
}
.button:hover {
  background: var(--ivory);
  color: var(--black);
}
.button-header {
  justify-self: end;
  min-width: 190px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
}

@media (min-width: 1051px) {
  .site-header {
    position: fixed;
    width: 100%;
    padding-inline: max(24px, calc((100% - var(--content-width)) / 2));
    transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
  }
  .site-header.scrolled {
    background: rgba(7, 7, 6, .88);
    box-shadow: 0 1px 0 rgba(233, 225, 217, .12);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: 760px;
  height: 100vh;
  max-height: 1000px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.97) 35%, rgba(5,5,5,.48) 58%, rgba(5,5,5,.05) 100%);
}
.hero-content {
  position: relative;
  height: 100%;
  padding-top: 155px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 42px;
  color: #c49a80;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: var(--line);
}
.eyebrow.dark {
  color: var(--black);
}
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
}
.hero h1 {
  font-size: clamp(54px, 5vw, 77px);
  line-height: 1.2;
  letter-spacing: 0;
}
em {
  color: var(--bronze);
  font-weight: 400;
}
.hero-copy {
  margin: 38px 0 36px;
  font-size: 13px;
  line-height: 1.75;
  font-weight: 300;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 13px;
}
.cta-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scroll-hint {
  position: absolute;
  left: 3.2vw;
  bottom: 0;
  height: 32%;
  display: flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 9px;
}
.scroll-hint span {
  width: 1px;
  flex: 1;
  background: linear-gradient(var(--bronze), transparent);
}

/* ============================================================
   Shared section styles
   ============================================================ */

.section-light {
  background: var(--paper);
  color: var(--black);
}
.section-dark {
  background: var(--black);
  color: var(--ivory);
}
.section-bar {
  height: 95px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-bar .eyebrow {
  margin: 0;
}
/* ============================================================
   Services
   This grid is intentionally full-width.
   ============================================================ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  max-width: none;
}
.service-card {
  position: relative;
  min-width: 0;
  min-height: 520px;
  background: var(--paper);
  border-left: 1px solid rgba(17,16,15,.14);
  overflow: hidden;
  isolation: isolate;
}
.service-card:last-child {
  border-right: 1px solid rgba(17,16,15,.14);
}
.service-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 520px;
  padding: 8px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-copy > span {
  font-size: 10px;
  margin-bottom: 17px;
}
.service-copy h2 {
  font-size: clamp(24px, 1.55vw, 29px);
  line-height: .96;
  margin-bottom: 18px;
}
.service-copy p {
  font-size: clamp(12px, .72vw, 13px);
  line-height: 1.45;
  max-width: 220px;
  margin: 0;
}
.service-card img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.55) brightness(1.08) contrast(.94);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 31%, rgba(0,0,0,.2) 40%, #000 57%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 31%, rgba(0,0,0,.2) 40%, #000 57%, #000 100%);
}
.service-card:first-child .service-copy {
  padding-left: max(22px, 5vw);
}
.service-card:last-child .service-copy {
  padding-right: max(22px, 5vw);
}

/* ============================================================
   Method
   ============================================================ */

.method {
  padding: 55px 0 60px;
  position: relative;
  overflow: hidden;
}
.method .eyebrow {
  margin-bottom: 30px;
  color: var(--ivory);
}
.method-line {
  position: absolute;
  z-index: 0;
  top: 91px;
  left: 0;
  width: 100%;
  height: 150px;
  overflow: visible;
  pointer-events: none;
}
.method-line path {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.method-line .wave-main {
  stroke: url(#wave-main);
  stroke-width: 1.25;
}
.method-line .wave-glow {
  stroke: url(#wave-main);
  stroke-width: 2.2;
  opacity: .28;
  filter: url(#wave-glow);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5vw;
  position: relative;
}
.method-line-mobile {
  display: none;
}
.method-grid article {
  display: grid;
  justify-items: start;
}
.method-grid .step {
  font-size: 9px;
  color: var(--bronze);
  margin-left: 18px;
}
.method-icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 14px;
  margin: 5px 0 14px;
  background: var(--black);
  color: var(--ivory);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.method-grid h2 {
  font-size: 22px;
  line-height: .95;
}
.method-grid p {
  font-size: 10px;
  line-height: 1.45;
  max-width: 165px;
  color: rgba(233,225,217,.72);
}

/* ============================================================
   About
   ============================================================ */

.about {
  min-height: 490px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.about-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 35%, rgba(216,206,197,.4) 60%, transparent 78%);
}
.about-content {
  position: relative;
  z-index: 1;
  padding-block: 62px;
}
.about-content .eyebrow {
  margin-bottom: 25px;
}
.about-content h2 {
  font-size: clamp(37px, 4vw, 56px);
  line-height: .94;
}
.about-content p:not(.eyebrow) {
  max-width: 610px;
  font-size: 11px;
  line-height: 1.55;
  margin: 25px 0;
}
.button-dark {
  border-color: rgba(17,16,15,.4);
  border-radius: 4px;
}
.button-dark:hover {
  background: var(--black);
  color: var(--ivory);
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 38px 0 18px;
}
.footer-glow {
  position: absolute;
  width: 110%;
  height: 140px;
  left: -5%;
  top: -8px;
  border-bottom: 2px solid rgba(197,143,92,.7);
  border-radius: 50%;
  filter: drop-shadow(0 5px 7px #a86639);
  transform: rotate(2deg);
  pointer-events: none;
}
.footer-cta {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9vw;
  padding-bottom: 35px;
}
.footer-cta h2 {
  font-size: 35px;
  line-height: .9;
}
.footer-cta .button {
  border-radius: 4px;
  min-width: 320px;
}
.footer-info {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(233,225,217,.14);
  padding-top: 26px;
}
.footer-info > a:not(.brand), .footer-info > span {
  color: rgba(233,225,217,.7);
  font-size: 11px;
}
.contact-icon {
  width: 15px;
  height: 15px;
  vertical-align: -3px;
  color: var(--bronze);
  margin-right: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(233,225,217,.6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color .25s ease, border-color .25s ease;
}
.social-link:hover {
  border-color: var(--bronze);
  background: rgba(161, 122, 97, .16);
}
.social-icon {
  width: 17px;
  height: 17px;
  color: var(--ivory);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: rgba(233,225,217,.35);
  font-size: 11px;
  margin-top: 22px;
}
.legal a {
  color: rgba(233,225,217,.55);
}

/* ============================================================
   Desktop typography
   Body copy starts at 14px; supporting text follows the same scale.
   ============================================================ */

@media (min-width: 1051px) {
  .main-nav a,
  .button,
  .text-link,
  .eyebrow {
    font-size: 12px;
  }
  .hero-copy {
    font-size: 15px;
  }
  .service-copy > span {
    font-size: 12px;
  }
  .service-copy h2 {
    font-size: clamp(27px, 1.65vw, 31px);
  }
  .service-copy p {
    max-width: 235px;
    font-size: clamp(14px, .8vw, 15px);
    line-height: 1.5;
  }
  .method-grid .step {
    font-size: 11px;
  }
  .method-grid h2 {
    font-size: 25px;
  }
  .method-grid p {
    max-width: 190px;
    font-size: 14px;
    line-height: 1.5;
  }
  .about-content p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.6;
  }
  .footer-info > a:not(.brand),
  .footer-info > span {
    font-size: 13px;
  }
}

/* ============================================================
   Tablet and compact desktop
   ============================================================ */

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: calc(100% - 48px);
  }
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(7,7,6,.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(100%);
    transition: transform .35s;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .main-nav a {
    font-family: var(--serif);
    font-size: 34px;
    text-transform: none;
  }
  .menu-toggle {
    display: grid;
    gap: 7px;
    z-index: 2;
    justify-self: end;
    width: 42px;
    padding: 10px 5px;
  }
  .menu-toggle span {
    display: block;
    height: 1px;
    background: var(--ivory);
    transition: .25s;
  }
  .menu-toggle.open span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle.open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .button-header {
    display: none;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
  .service-card:last-child {
    grid-column: span 2;
  }
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 35px;
  }
  .method-line {
    display: none;
  }
  .about::after {
    background: linear-gradient(90deg, var(--paper) 0%, rgba(216,206,197,.96) 48%, rgba(216,206,197,.18) 100%);
  }
  .about-image {
    object-position: 62% center;
  }
  .footer-info {
    flex-wrap: wrap;
    gap: 25px;
  }
}

/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 680px) {
  html {
    scroll-padding-top: 70px;
  }
  .wrap, .wrap-wide {
    width: calc(100% - 40px);
  }
  .site-header {
    width: calc(100% - 40px);
    height: 78px;
    padding-inline: 0;
  }
  .menu-toggle {
    position: fixed;
    z-index: 30;
    top: 15px;
    right: 20px;
    width: 48px;
    height: 48px;
    padding: 14px 9px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  }
  .site-header.scrolled .menu-toggle,
  .menu-toggle.open {
    border-color: rgba(233, 225, 217, .16);
    background: rgba(7, 7, 6, .78);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .brand-mark {
    font-size: 39px;
  }
  .site-header .brand-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
  .brand-name {
    font-size: 10px;
    line-height: 1.45;
  }
  .main-nav a {
    font-size: clamp(37px, 9vw, 42px);
  }
  .hero {
    height: auto;
    min-height: 720px;
  }
  .hero-image {
    object-position: 67% center;
  }
  .hero-shade {
    background: linear-gradient(90deg, rgba(5,5,5,.98), rgba(5,5,5,.83) 72%, rgba(5,5,5,.3));
  }
  .hero-content {
    padding-top: 130px;
    justify-content: center;
  }
  .hero h1 {
    font-size: clamp(48px, 11.7vw, 56px);
  }
  .hero .eyebrow {
    font-size: clamp(13px, 3.2vw, 14px);
    line-height: 1.45;
  }
  .hero-copy {
    font-size: clamp(16px, 3.9vw, 18px);
    line-height: 1.65;
  }
  .hero .text-link {
    font-size: clamp(13px, 3.2vw, 14px);
    line-height: 1.45;
  }
  .hero-copy br {
    display: none;
  }
  .scroll-hint {
    display: none;
  }
  .section-bar {
    height: auto;
    padding-block: 30px;
    display: grid;
    gap: 20px;
  }
  .section-bar .eyebrow,
  .section-bar .text-link {
    font-size: clamp(13px, 3.25vw, 14px);
    line-height: 1.45;
  }
  .section-bar .text-link {
    display: none;
  }
  .service-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .service-card, .service-card:last-child {
    grid-column: auto;
    min-height: 490px;
  }
  .service-copy {
    min-height: 275px;
    padding: 18px 24px 24px;
  }
  .service-card:first-child .service-copy,
  .service-card:last-child .service-copy {
    padding-inline: 24px;
  }
  .service-copy > span {
    font-size: clamp(13px, 3.15vw, 14px);
    line-height: 1.4;
    margin-bottom: 18px;
  }
  .service-copy h2 {
    font-size: clamp(29px, 7.25vw, 34px);
    line-height: 1.02;
    margin-bottom: 20px;
  }
  .service-copy p {
    max-width: min(100%, 390px);
    font-size: clamp(15px, 3.7vw, 17px);
    line-height: 1.5;
  }
  .service-card img {
    height: 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 39%, rgba(0,0,0,.2) 47%, #000 64%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 39%, rgba(0,0,0,.2) 47%, #000 64%, #000 100%);
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .method-line-mobile {
    position: absolute;
    z-index: 0;
    display: block;
    left: 0;
    top: 48px;
    width: 56px;
    height: calc(100% - 96px);
    overflow: visible;
    pointer-events: none;
  }
  .method-line-mobile path {
    fill: none;
    stroke: url(#wave-mobile);
    stroke-width: 1.6;
    vector-effect: non-scaling-stroke;
    filter: url(#wave-mobile-glow);
  }
  .method .eyebrow {
    font-size: clamp(13px, 3.2vw, 14px);
    line-height: 1.45;
  }
  .method-grid .step {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    font-size: 12px;
    margin: 0 0 7px 18px;
  }
  .method-grid h2 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: clamp(25px, 6.1vw, 29px);
    line-height: 1;
    margin-bottom: 7px;
  }
  .method-grid p {
    grid-column: 2;
    grid-row: 2;
    max-width: 430px;
    margin: 0;
    font-size: clamp(13px, 3.2vw, 15px);
    line-height: 1.5;
  }
  .method-grid article {
    position: relative;
    z-index: 1;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 18px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(161, 122, 97, .25);
  }
  .method-grid article .method-icon {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    background: var(--black);
  }
  .method-grid article:last-child {
    grid-column: auto;
    padding-bottom: 0;
    border-bottom: 0;
  }
  .about {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .about-image {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: clamp(430px, 125vw, 560px);
    object-fit: cover;
    object-position: 65% center;
  }
  .about::after {
    display: none;
  }
  .about-content {
    order: 1;
    padding-block: 50px 38px;
  }
  .about-content h2 {
    font-size: clamp(40px, 9.75vw, 46px);
    line-height: .98;
  }
  .about-content .eyebrow {
    font-size: clamp(13px, 3.2vw, 14px);
    line-height: 1.45;
  }
  .about-content p:not(.eyebrow) {
    max-width: 95%;
    font-size: clamp(14px, 3.4vw, 16px);
    line-height: 1.6;
  }
  .button {
    font-size: clamp(13px, 3.2vw, 14px);
    line-height: 1.45;
  }
  .footer-cta {
    align-items: center;
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
  .footer-cta h2 {
    font-size: clamp(38px, 9.25vw, 44px);
    line-height: .95;
  }
  .footer-cta .button {
    min-width: 0;
    width: 100%;
  }
  .footer-info {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  .footer-info .brand {
    margin-inline: auto;
  }
  .footer-info > a:not(.brand),
  .footer-info > span {
    font-size: clamp(14px, 3.4vw, 16px);
    line-height: 1.5;
  }
  .legal {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    line-height: 1.6;
    font-size: clamp(14px, 3.4vw, 15px);
    text-align: center;
  }
}

/* ============================================================
   Accessibility: reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition-duration: .01ms !important;
  }
}

