:root {
  --ink: #151515;
  --ink-soft: #35322d;
  --paper: #ffffff;
  --paper-muted: #f7f7f3;
  --sage: #848b73;
  --sage-deep: #646a54;
  --clay: #9c674c;
  --oak: #8c6a43;
  --line: #dfded5;
  --shadow: 0 22px 50px rgba(24, 24, 20, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(100% - 48px, 1320px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

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

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

button {
  border: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border: 1px solid var(--line);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px max(24px, calc((100% - 1420px) / 2));
  color: var(--paper);
  background: rgba(18, 18, 17, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  flex: 1 1 auto;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.5vw, 42px);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 650;
}

.site-nav a {
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
  color: #dad8ca;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-cta {
  min-height: 44px;
}

.nav-cta,
.button-primary {
  background: var(--sage);
  color: var(--paper);
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--sage-deep);
  color: var(--paper);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: clamp(500px, 61svh, 650px);
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.02) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--container);
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto;
  padding: 56px 0 80px;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 5.7vw, 86px);
  font-weight: 400;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
}

.hero p {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.2;
}

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

.section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 0;
}

section {
  scroll-margin-top: 80px;
}

.section-label {
  margin: 0 0 10px;
  color: var(--oak);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.2vw, 62px);
  font-weight: 400;
  line-height: 1.02;
}

.section-lead > p:not(.section-label) {
  max-width: 410px;
  margin: 24px 0 0;
  color: var(--ink-soft);
}

.services-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(44px, 6vw, 92px);
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--sage-deep);
  color: var(--sage-deep);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  align-items: stretch;
}

.service-item {
  min-height: 230px;
  padding: 8px clamp(18px, 2.2vw, 36px);
  text-align: center;
  border-left: 1px solid var(--line);
}

.service-item svg {
  width: 50px;
  height: 50px;
  margin: 0 auto 24px;
  color: var(--sage-deep);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item h3,
.project-item h3,
.process-list h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.24;
}

.service-item p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}

.projects-section {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100% - 1320px) / 2));
  padding-right: max(24px, calc((100% - 1320px) / 2));
  background: #edf0e9;
}

.projects-lead {
  max-width: 430px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.94fr 0.94fr;
  gap: clamp(18px, 2.4vw, 32px);
  margin-top: 42px;
  align-items: start;
}

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

.project-item:nth-child(1) {
  margin-top: 44px;
}

.project-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.project-item:nth-child(1) img {
  aspect-ratio: 1 / 1;
  object-position: 45% center;
}

.project-item p {
  margin: 0 0 6px;
  color: var(--oak);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
}

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

.process-list article {
  display: grid;
  grid-template-columns: 72px minmax(140px, 180px) 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--sage-deep);
  font-family: var(--serif);
  font-size: 34px;
}

.process-list p {
  margin: 0;
  color: var(--ink-soft);
}

.about-section {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 480px);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.about-copy p:not(.section-label) {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.about-panel {
  display: grid;
  border-top: 1px solid var(--line);
}

.about-panel p {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 480px) minmax(320px, 560px);
  gap: clamp(44px, 8vw, 120px);
  padding: clamp(72px, 9vw, 120px) max(24px, calc((100% - 1320px) / 2));
  color: var(--paper);
  background: var(--ink);
}

.contact-copy .section-label {
  color: #c3a76d;
}

.contact-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 400;
  line-height: 1.02;
}

.contact-copy p:not(.section-label) {
  margin: 24px 0 0;
  color: #d8d6cc;
}

.contact-email {
  display: inline-flex;
  margin-top: 32px;
  color: #e9e5d7;
  border-bottom: 1px solid rgba(233, 229, 215, 0.5);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #ece9dd;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.contact-form option {
  color: var(--ink);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #d8d6cc;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(24px, calc((100% - 1320px) / 2));
  color: #d9d6cc;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 24px;
}

@media (max-width: 1100px) {
  .site-header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .brand {
    white-space: normal;
    max-width: 460px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    gap: 0;
    padding: 16px 24px 24px;
    background: rgba(18, 18, 17, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-cta {
    margin-top: 14px;
    border-bottom: 0;
  }

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

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }

  .service-item {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .project-item:nth-child(1) {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 32px, 1320px);
  }

  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand {
    font-size: 20px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-media img {
    object-position: 52% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.3)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.26), transparent 40%);
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .hero p {
    font-size: 22px;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
    padding: 26px 0;
    text-align: left;
  }

  .service-item svg {
    margin: 0 0 18px;
  }

  .project-item:nth-child(1) img,
  .project-item img {
    aspect-ratio: 4 / 3;
  }

  .process-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer div {
    flex-wrap: wrap;
  }
}

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