:root {
  --black: #070707;
  --ink: #151515;
  --ink-soft: #3e3d3a;
  --paper: #f7f6f2;
  --white: #ffffff;
  --stone: #d8d2ca;
  --stone-dark: #8b8479;
  --green: #526356;
  --clay: #9b6a4c;
  --line: rgba(10, 10, 10, 0.16);
  --line-dark: rgba(255, 255, 255, 0.22);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--black);
  color: var(--white);
}

.shell {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 0 48px;
}

.shell-narrow {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: 116px 0;
}

.section-tight {
  padding: 78px 0;
}

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

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

.section-stone {
  background: #ece9e3;
}

.lede {
  margin: 0;
  max-width: 760px;
  font-size: 20px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.section-black .lede,
.section-black .body-copy {
  color: rgba(255, 255, 255, 0.78);
}

.body-copy {
  margin: 0;
  color: var(--ink-soft);
}

.rule {
  height: 1px;
  background: var(--line);
}

.muted {
  color: var(--stone-dark);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--clay);
}

.section-black .eyebrow {
  color: #d8bea2;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  color: inherit;
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  font-size: 92px;
}

h2 {
  font-size: 58px;
}

h3 {
  font-size: 34px;
}

h4 {
  font-size: 24px;
}

em {
  font-style: italic;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 15px 24px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 260ms ease,
    background 260ms ease,
    color 260ms ease,
    border-color 260ms ease;
}

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

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-dark:hover {
  background: var(--green);
  border-color: var(--green);
}

.btn-light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--stone);
  border-color: var(--stone);
}

.btn-line:hover {
  background: var(--black);
  color: var(--white);
}

.btn-arrow {
  width: 28px;
  height: 1px;
  background: currentColor;
  position: relative;
  flex: 0 0 auto;
  transition: width 260ms ease;
}

.btn-arrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  position: absolute;
  right: 0;
  top: -4px;
  transform: rotate(45deg);
}

.btn:hover .btn-arrow {
  width: 38px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  color: var(--white);
  transition:
    background 280ms ease,
    color 280ms ease,
    border-color 280ms ease,
    padding 280ms ease;
}

.site-header.is-solid,
.site-header.header-light {
  background: rgba(247, 246, 242, 0.96);
  color: var(--black);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

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

.brand-logo {
  display: block;
  width: auto;
  height: 92px;
  filter: invert(1);
  transition: filter 280ms ease, opacity 280ms ease;
}

.site-header.is-solid .brand-logo,
.site-header.header-light .brand-logo {
  filter: none;
}

.brand-box {
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 0.95;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  justify-self: center;
}

.desktop-nav a,
.mobile-panel a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a::after,
.mobile-panel a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after,
.mobile-panel a:hover::after,
.mobile-panel a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.header-phone {
  font-size: 14px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 1px;
  margin: 0 auto;
  background: currentColor;
  position: relative;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

body.nav-open .menu-toggle span {
  background: transparent;
}

body.nav-open .menu-toggle span::before {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 88px 0 auto 0;
  z-index: 39;
  background: rgba(247, 246, 242, 0.98);
  color: var(--black);
  border-bottom: 1px solid var(--line);
  padding: 28px 48px 36px;
}

.mobile-panel nav {
  display: grid;
  gap: 22px;
}

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 1400ms ease, transform 7600ms ease;
  filter: saturate(0.94) contrast(1.04);
}

.hero-media img.active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.06) 58%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding-top: 150px;
  padding-bottom: 62px;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: 72px;
  align-items: end;
}

.hero h1 {
  color: var(--white);
}

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

.hero-side {
  display: grid;
  gap: 26px;
  padding-bottom: 8px;
}

.hero-side p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.slide-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.slide-dot {
  width: 34px;
  height: 2px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slide-dot::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.42);
  transition: background 240ms ease, height 240ms ease;
}

.slide-dot.active::before {
  height: 3px;
  background: var(--white);
}

.below-hero {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 84px;
  align-items: center;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--stone);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms ease;
}

.media-frame:hover img {
  transform: scale(1.035);
}

.media-tall {
  aspect-ratio: 4 / 5;
}

.media-wide {
  aspect-ratio: 16 / 10;
}

.media-square {
  aspect-ratio: 1 / 1;
}

.split-copy {
  display: grid;
  gap: 30px;
}

.copy-stack {
  display: grid;
  gap: 22px;
}

.copy-stack p {
  margin: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.46fr);
  min-height: 720px;
}

.feature-row.reverse {
  grid-template-columns: minmax(340px, 0.46fr) minmax(0, 1fr);
}

.feature-photo {
  min-height: 600px;
}

.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-panel {
  display: grid;
  align-content: center;
  padding: 72px;
  background: var(--paper);
}

.feature-row.reverse .feature-panel {
  order: -1;
}

.feature-panel .meta {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--stone-dark);
}

.portfolio-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 48px;
}

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

.project-card {
  display: grid;
  gap: 18px;
}

.project-card .media-frame {
  aspect-ratio: 4 / 5;
}

.project-card:nth-child(2n) .media-frame {
  aspect-ratio: 1 / 1;
}

.project-card h3 {
  font-size: 28px;
}

.project-card p {
  margin: 4px 0 0;
  color: var(--stone-dark);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  margin-top: 52px;
}

.process-step {
  min-height: 270px;
  padding: 34px 28px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  align-content: space-between;
  gap: 28px;
}

.process-step span {
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.process-step p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 72px;
  align-items: end;
}

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 68px 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-logo {
  width: 112px;
  background: var(--white);
  padding: 10px;
  margin-bottom: 24px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.footer-links h4 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
}

.footer-links a,
.footer-links p {
  display: block;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.page-hero {
  position: relative;
  min-height: 72svh;
  padding-top: 160px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}

.page-hero.small {
  min-height: 54svh;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.74));
}

.page-hero .shell {
  position: relative;
  z-index: 1;
  padding-bottom: 64px;
}

.page-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
}

.text-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 86px;
  align-items: start;
}

.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 38px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  font-size: 30px;
}

.service-row p {
  margin: 0;
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid .media-frame:nth-child(1),
.gallery-grid .media-frame:nth-child(6) {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.gallery-grid .media-frame {
  aspect-ratio: 4 / 5;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: 48px;
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 26px;
  padding-top: 8px;
}

.contact-card {
  position: sticky;
  top: 118px;
  padding: 36px;
  background: var(--stone);
  border: 1px solid var(--line);
}

.contact-block {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-block h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-block p,
.contact-block a {
  margin: 0;
  color: var(--ink-soft);
}

.form-frame {
  min-height: 820px;
  background: var(--white);
  border: 1px solid var(--line);
}

.form-frame-clean {
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 90px rgba(18, 16, 13, 0.09);
}

.form-frame-clean::before,
.form-frame-clean::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20%;
  background: var(--white);
  z-index: 1;
  pointer-events: none;
}

.form-frame-clean::before {
  left: 0;
}

.form-frame-clean::after {
  right: 0;
}

.form-frame iframe {
  width: 100%;
  min-height: 820px;
  border: 0;
  display: block;
}

.form-frame-clean iframe {
  width: 136%;
  margin-left: -18%;
  min-height: 920px;
}

.inquiry-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 26px 90px rgba(18, 16, 13, 0.08);
  padding: clamp(28px, 4vw, 52px);
}

.inquiry-form {
  display: grid;
  gap: 24px;
}

.form-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 6px;
}

.form-heading h2 {
  max-width: 680px;
}

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

.inquiry-form label {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fbfaf7;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 15px 16px;
  transition: border-color 180ms ease, background 180ms ease;
}

.inquiry-form textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.6;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: 0;
  border-color: var(--ink);
  background: var(--white);
}

.inquiry-form .btn {
  justify-self: start;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.thank-you {
  min-height: 78svh;
  display: grid;
  align-items: center;
  padding-top: 160px;
}

.thank-you h1 {
  margin-top: 18px;
}

.thank-you p {
  max-width: 660px;
  margin: 22px 0 34px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.7;
}

.project-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.42fr);
  gap: 58px;
  align-items: end;
}

.project-facts {
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 24px;
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-soft);
}

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

.redirect {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}

.redirect h1 {
  font-size: 46px;
}

.redirect p {
  margin: 20px auto 28px;
  max-width: 560px;
  color: var(--ink-soft);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1180px) {
  h1 {
    font-size: 76px;
  }

  h2 {
    font-size: 50px;
  }

  .desktop-nav {
    gap: 26px;
  }

  .header-phone {
    display: none;
  }

  .hero-copy,
  .below-hero,
  .text-grid,
  .cta-band,
  .footer-top,
  .inquiry-layout,
  .project-hero-grid {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .feature-row.reverse .feature-panel {
    order: 0;
  }

  .feature-photo {
    min-height: 520px;
  }

  .contact-card {
    position: static;
  }

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

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

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

@media (max-width: 840px) {
  .shell,
  .shell-narrow {
    padding: 0 24px;
  }

  .section {
    padding: 82px 0;
  }

  .header-inner {
    min-height: 78px;
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-panel {
    display: none;
    inset: 78px 0 auto 0;
    padding: 28px 24px 36px;
  }

  body.nav-open .mobile-panel {
    display: block;
  }

  .brand-logo {
    height: 64px;
  }

  h1 {
    font-size: 55px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 29px;
  }

  .hero-content {
    padding-top: 126px;
    padding-bottom: 42px;
  }

  .feature-panel {
    padding: 46px 24px;
  }

  .portfolio-head {
    display: grid;
    align-items: start;
  }

  .portfolio-grid,
  .process-grid,
  .gallery-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .gallery-grid .media-frame:nth-child(1),
  .gallery-grid .media-frame:nth-child(6) {
    grid-column: auto;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-bottom {
    display: grid;
  }

  .page-hero {
    min-height: 62svh;
    padding-top: 124px;
  }

  .contact-card {
    padding: 28px 24px;
  }

  .form-frame-clean iframe {
    width: 124%;
    margin-left: -12%;
  }

  .form-frame-clean::before,
  .form-frame-clean::after {
    display: none;
  }

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

  .inquiry-form-card {
    padding: 28px 20px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .lede {
    font-size: 18px;
  }

  .hero-copy {
    gap: 34px;
  }

  .hero-side {
    gap: 20px;
  }

  .brand-logo {
    height: 56px;
  }

  .slide-dot {
    width: 30px;
  }

  .feature-photo {
    min-height: 380px;
  }

  .form-frame,
  .form-frame iframe,
  .form-frame-clean iframe {
    min-height: 760px;
  }
}
