:root {
  --ink: #1b1d18;
  --ink-soft: #53584c;
  --paper: #fbfaf5;
  --warm: #eee7da;
  --stone: #d8d0c2;
  --olive: #526047;
  --olive-deep: #30372b;
  --clay: #9f654a;
  --brass: #b48955;
  --line: rgba(27, 29, 24, 0.14);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(27, 29, 24, 0.12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}

h1 {
  font-size: clamp(3.25rem, 8vw, 7.25rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
}

h3 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-decoration: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  background: rgba(251, 250, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: clamp(104px, 11vw, 136px);
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.6rem);
}

.primary-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--clay);
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--ink);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.primary-nav .nav-cta {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(27, 29, 24, 0.28);
  border-radius: 999px;
}

.primary-nav .nav-cta::after {
  display: none;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.menu-toggle {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.95rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.button--dark:hover {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
}

.button--light {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button--light:hover {
  background: var(--white);
}

.home-hero {
  position: relative;
  min-height: calc(100svh - 82px);
  display: flex;
  align-items: center;
  padding: 5rem clamp(1.25rem, 5vw, 5rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 250, 245, 0.94) 0%, rgba(251, 250, 245, 0.76) 34%, rgba(251, 250, 245, 0.18) 70%),
    url("hero.jpg") 68% center / cover no-repeat;
}

.home-hero__content {
  width: min(720px, 100%);
}

.home-hero h1 {
  margin-top: 1.2rem;
  letter-spacing: 0;
}

.home-hero p {
  max-width: 38rem;
  margin-top: 1.2rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--paper {
  background: var(--warm);
}

.section--stone {
  background: #e2ded4;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.intro-grid h2 {
  max-width: 720px;
  margin-top: 0.9rem;
}

.intro-grid p {
  max-width: 520px;
  padding-top: 2rem;
}

.section-header {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-header h2 {
  margin-top: 0.9rem;
}

.card-grid {
  display: grid;
  gap: 1.1rem;
}

.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.project-card,
.text-card,
.value-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-card img,
.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card__body,
.project-card div,
.text-card,
.value-panel {
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
}

.feature-card p,
.project-card p,
.text-card p {
  margin-top: 0.8rem;
}

.feature-card a {
  display: inline-flex;
  margin-top: 1.4rem;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-layout--reverse .split-layout__media {
  order: 2;
}

.split-layout__media img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-layout__content h2 {
  margin-top: 0.9rem;
}

.split-layout__content p {
  margin-top: 1.2rem;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--olive);
}

.cta-band {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--olive-deep);
  color: var(--white);
}

.cta-band h2,
.cta-band .eyebrow {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band__inner h2 {
  max-width: 780px;
  margin-top: 0.75rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 96px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.site-footer a {
  text-decoration: none;
}

.footer-brand {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-nav a:hover,
.site-footer__inner > a:last-child:hover {
  color: var(--clay);
}

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  background: var(--warm);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.page-hero__copy h1 {
  margin-top: 1rem;
  font-size: clamp(2.8rem, 6.2vw, 5.9rem);
}

.page-hero__copy p {
  max-width: 610px;
  margin-top: 1.4rem;
  font-size: 1.08rem;
}

.page-hero__media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.collection-list {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
}

.collection-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.collection-row--reverse img {
  order: 2;
}

.collection-row img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.collection-row h2 {
  margin-top: 0.8rem;
}

.collection-row p {
  margin-top: 1.1rem;
}

.spec-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.spec-list div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.spec-list dt {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.swatch {
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.swatch span {
  display: block;
  aspect-ratio: 1.4 / 1;
  border-radius: 6px;
  background: var(--swatch);
  border: 1px solid rgba(27, 29, 24, 0.12);
}

.swatch p {
  margin-top: 0.75rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list article {
  min-height: 320px;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
}

.process-list span,
.text-card span,
.project-card span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process-list h2 {
  margin-top: 2rem;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
}

.process-list p {
  margin-top: 1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
}

.text-card {
  min-height: 260px;
}

.text-card h3 {
  margin-top: 1.4rem;
}

.value-panel h3 {
  margin-bottom: 1.2rem;
}

.contact-hero {
  padding: clamp(4rem, 8vw, 7rem) 0;
  min-height: calc(100svh - 82px - 96px);
  background:
    linear-gradient(90deg, rgba(251, 250, 245, 0.97) 0%, rgba(251, 250, 245, 0.9) 48%, rgba(251, 250, 245, 0.28) 100%),
    url("kitchen2.png") center / cover no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-copy h1 {
  margin-top: 1rem;
  font-size: clamp(3rem, 6vw, 6rem);
}

.contact-copy p {
  max-width: 560px;
  margin-top: 1.2rem;
  font-size: 1.08rem;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-methods a {
  color: var(--ink);
  font-weight: 800;
  text-decoration-color: rgba(159, 101, 74, 0.55);
  text-underline-offset: 0.35rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(27, 29, 24, 0.18);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  padding: 0.85rem 0.9rem;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(82, 96, 71, 0.34);
  outline-offset: 2px;
}

.form-status {
  min-height: 1.5rem;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .menu-toggle__bar {
    position: relative;
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
  }

  .menu-toggle__bar + .menu-toggle__bar {
    margin-left: -22px;
    transform: translateY(7px);
  }

  .nav-open .menu-toggle__bar:first-child {
    transform: rotate(45deg);
  }

  .nav-open .menu-toggle__bar + .menu-toggle__bar {
    transform: rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 1rem 1.25rem 1.4rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease;
  }

  .nav-open .primary-nav {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .primary-nav a {
    display: flex;
    min-height: 52px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav .nav-cta {
    justify-content: center;
    margin-top: 1rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
  }

  .home-hero {
    min-height: 78svh;
    background:
      linear-gradient(180deg, rgba(251, 250, 245, 0.94) 0%, rgba(251, 250, 245, 0.76) 48%, rgba(251, 250, 245, 0.12) 100%),
      url("hero.jpg") center bottom / cover no-repeat;
  }

  .intro-grid,
  .split-layout,
  .page-hero__grid,
  .collection-row,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid p {
    padding-top: 0;
  }

  .card-grid--three,
  .project-grid,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .split-layout--reverse .split-layout__media,
  .collection-row--reverse img {
    order: 0;
  }

  .cta-band__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 72px;
    padding-inline: 1rem;
  }

  .brand img {
    width: 104px;
  }

  .primary-nav {
    top: 72px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.4rem);
  }

  .home-hero {
    min-height: 78svh;
    padding: 3.5rem 1rem;
  }

  .button {
    width: 100%;
  }

  .card-grid--three,
  .project-grid,
  .process-list,
  .field-grid,
  .swatch-grid {
    grid-template-columns: 1fr;
  }

  .page-hero__media img,
  .collection-row img,
  .split-layout__media img {
    min-height: 260px;
  }

  .process-list article {
    min-height: 240px;
  }

  .contact-form {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
