:root {
  --cream: #F4EFE7;
  --off-white: #FBF9F5;
  --black: #111111;
  --dark-gray: #4B4B4B;
  --burgundy-deep: #4B0002;
  --burgundy: #6E0B14;
  --line: rgba(17, 17, 17, 0.15);
  --line-dark: rgba(255, 255, 255, 0.16);
  --radius: 28px;
  --space: clamp(4rem, 8vw, 8rem);
  --container: 1240px;
  --title: "Space Grotesk", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 999;
  background: var(--black);
  color: white;
  padding: 10px 14px;
  transition: top 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 239, 231, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--title);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.brand-mark,
.accent,
.project-asterisk {
  color: var(--burgundy);
}

.brand-mark {
  margin-left: 7px;
  font-size: 38px;
  line-height: 0;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
}

.main-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--burgundy);
  transition: right 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}

.nav-cta {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--burgundy-deep);
  color: white;
  font-size: 28px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-3px);
  background: var(--burgundy);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 1.5px;
  background: var(--black);
  display: block;
  margin: 7px 0;
}

.hero {
  min-height: min(820px, calc(100vh - 110px));
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 1fr auto;
  background: var(--off-white);
}

.hero-copy {
  padding: clamp(48px, 7vw, 92px) clamp(28px, 5vw, 72px);
  align-self: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 12px;
  font-weight: 700;
}

.hero h1,
.section-heading h2 {
  font-family: var(--title);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3.25rem, 6.7vw, 6.9rem);
  max-width: 850px;
}

.hero-text {
  max-width: 620px;
  margin: 32px 0 0;
  color: var(--dark-gray);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 54px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.button-primary {
  background: var(--burgundy-deep);
  color: var(--off-white);
}

.button-primary:hover {
  background: var(--burgundy);
}

.button-ghost {
  border-color: var(--line);
  background: transparent;
}

.button-ghost:hover {
  background: var(--black);
  color: white;
  border-color: var(--black);
}

.hero-visual {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #ebe6de;
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: 58% center;
  filter: grayscale(1) contrast(1.06);
  mix-blend-mode: multiply;
}

.photo-accent {
  position: absolute;
  z-index: 1;
  left: 4%;
  bottom: 0;
  width: 62%;
  height: 38%;
  background: var(--burgundy);
}

.photo-label {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 20px;
  background: var(--off-white);
  border: 1px solid var(--line);
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.photo-label span {
  color: var(--burgundy);
  margin-right: 5px;
}

.hero-services {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.hero-services a {
  min-height: 114px;
  padding: 0 clamp(22px, 3vw, 42px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  border-right: 1px solid var(--line);
  font-family: var(--title);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  transition: background 0.25s ease, color 0.25s ease;
}

.hero-services a:last-child {
  border-right: 0;
}

.hero-services a:hover {
  background: var(--burgundy-deep);
  color: white;
}

.service-icon {
  font-size: 31px;
}

.section {
  padding-block: var(--space);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 40px;
  align-items: start;
  padding-bottom: clamp(40px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
}

.section-number {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--title);
  font-weight: 600;
  color: var(--burgundy);
}

.section-heading h2 {
  font-size: clamp(2.6rem, 5.2vw, 5.7rem);
}

.about-grid {
  padding-top: 58px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(48px, 8vw, 110px);
}

.about-lead p {
  margin: 0 0 24px;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.55;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-values article {
  padding: 28px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-values article:nth-child(odd) {
  border-left: 0;
}

.about-values article:nth-last-child(-n+2) {
  border-bottom: 0;
}

.about-values article > span {
  color: var(--burgundy);
  font-family: var(--title);
  font-weight: 700;
}

.about-values h3,
.service-card h3,
.project-card h3 {
  font-family: var(--title);
  letter-spacing: -0.035em;
}

.about-values h3 {
  font-size: 1.45rem;
  margin: 20px 0 8px;
}

.about-values p {
  margin: 0;
  color: var(--dark-gray);
  font-size: 14px;
}

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

.section-heading-light {
  border-color: var(--line-dark);
}

.section-heading-light .eyebrow,
.section-heading-light .section-number {
  color: #d6c7bd;
}

.accent-light {
  color: #c8868e;
}

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

.service-card {
  min-height: 360px;
  padding: clamp(28px, 4vw, 46px);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  transition: background 0.3s ease;
}

.service-card:hover {
  background: var(--burgundy-deep);
}

.card-number {
  font-size: 12px;
  opacity: 0.6;
}

.card-icon {
  position: absolute;
  top: 34px;
  right: 36px;
  font-family: var(--title);
  font-size: 28px;
}

.service-card h3 {
  margin: 86px 0 16px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.service-card p {
  max-width: 510px;
  color: #c9c9c9;
  margin-bottom: 30px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  border: 1px solid currentColor;
  opacity: 0.72;
  padding: 6px 9px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.project-card {
  min-height: 430px;
  padding: clamp(28px, 4vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--off-white);
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--burgundy-deep);
  transform: translateY(101%);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
  z-index: 0;
}

.project-card:not(.project-contact-card):hover::before {
  transform: translateY(0);
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card:not(.project-contact-card):hover {
  color: var(--off-white);
}

.project-card:not(.project-contact-card):hover .project-type,
.project-card:not(.project-contact-card):hover p {
  color: #e0d6d1;
}

.project-topline {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-type {
  color: var(--burgundy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.project-card h3 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin: 12px 0 18px;
}

.project-card p {
  color: var(--dark-gray);
  max-width: 600px;
}

.project-link {
  position: absolute;
  right: 30px;
  bottom: 28px;
  width: 50px;
  height: 50px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.project-contact-card {
  background: var(--burgundy-deep);
  color: var(--off-white);
  flex-direction: row;
  align-items: flex-end;
}

.project-contact-card p {
  color: #d8c7c5;
  margin: 20px 0 0;
}

.project-contact-card h3 {
  max-width: 560px;
}

.project-asterisk {
  font-size: 72px;
  line-height: 1;
  color: var(--off-white);
}

.round-link {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  display: grid;
  place-items: center;
  font-size: 30px;
  transition: background 0.25s ease, color 0.25s ease;
}

.round-link:hover {
  background: var(--off-white);
  color: var(--burgundy-deep);
}

.contact-section {
  background: #eee7dd;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 9vw, 130px);
  padding-top: 58px;
}

.contact-intro {
  font-family: var(--title);
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-top: 0;
}

.contact-links {
  margin-top: 50px;
  border-top: 1px solid var(--line);
}

.contact-links a {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 74px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.contact-links strong {
  font-weight: 500;
}

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

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

.contact-form label {
  display: grid;
  gap: 9px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--black);
  border-radius: 0;
  padding: 14px 0;
  background: transparent;
  color: var(--black);
  outline: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--burgundy);
  box-shadow: 0 1px 0 var(--burgundy);
}

.form-submit {
  justify-self: start;
  border: 0;
  margin-top: 8px;
}

.form-note {
  color: var(--dark-gray);
  font-size: 12px;
  margin: -12px 0 0;
}

.form-note.is-success {
  color: var(--burgundy);
  font-weight: 600;
}

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

.footer {
  background: var(--black);
  color: white;
  padding: 54px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
  align-items: end;
}

.footer-brand .brand-mark {
  color: #c8868e;
}

.footer p {
  color: #aaa;
  margin-bottom: 0;
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 13px;
}

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    inset: 82px 0 auto;
    min-height: calc(100vh - 82px);
    background: var(--cream);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    gap: 26px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-family: var(--title);
    font-size: clamp(2rem, 8vw, 4.2rem);
    letter-spacing: -0.04em;
  }

  .nav-cta {
    width: 46px;
    height: 46px;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-visual img {
    min-height: 520px;
    object-position: center 37%;
  }

  .hero-services {
    grid-column: 1;
  }

  .section-heading,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 16px;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

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

  .site-header .container {
    width: calc(100% - 24px);
  }

  .hero {
    margin-top: 12px;
    border-radius: 18px;
  }

  .hero-copy {
    padding: 44px 22px 38px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

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

  .hero-services a {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-services a:last-child {
    border-bottom: 0;
  }

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

  .about-values article,
  .about-values article:nth-child(odd),
  .about-values article:nth-last-child(-n+2) {
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding-left: 0;
    padding-right: 0;
  }

  .about-values article:last-child {
    border-bottom: 0;
  }

  .service-card,
  .project-card {
    min-height: 360px;
  }

  .project-contact-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .contact-links a {
    grid-template-columns: 1fr auto;
  }

  .contact-links a span:first-child {
    display: none;
  }

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

  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}
