:root {
  --olive-950: #151a10;
  --olive-900: #1d2415;
  --olive-850: #232b19;
  --olive-800: #303923;
  --olive-700: #4d5734;
  --sage-300: #c9cdbd;
  --stone-100: #f4f1eb;
  --stone-50: #fbfaf6;
  --white: #ffffff;
  --charcoal: #28251f;
  --muted: #615d52;
  --gold: #b9954a;
  --gold-soft: #d8bf83;
  --line: rgba(185, 149, 74, 0.38);
  --border: rgba(40, 37, 31, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --brand-serif: "Bodoni 72", "Bodoni Moda", Didot, "Didot LT STD", "Hoefler Text", serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone-50);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

.hidden {
  display: none;
}

.section-shell {
  width: min(1260px, calc(100% - 72px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 92px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: 92px;
  padding: 0 max(34px, calc((100vw - 1260px) / 2));
  border-bottom: 1px solid rgba(40, 37, 31, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--olive-950);
  box-shadow: 0 2px 18px rgba(21, 26, 16, 0.08);
  backdrop-filter: blur(10px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  min-width: 0;
  flex-shrink: 0;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 0.92;
  text-transform: uppercase;
}

.brand img {
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.98);
  object-fit: contain;
}

.brand {
  color: var(--olive-950);
}

.brand-lockup {
  display: block;
  width: clamp(220px, 21vw, 272px);
  min-width: 0;
}

.brand-wordmark {
  display: block;
  width: 100%;
  aspect-ratio: 1466 / 139;
  overflow: hidden;
  background: var(--olive-950);
  color: transparent;
  font-size: 0;
  line-height: 1;
  -webkit-mask: url("assets/olive-branch-wordmark-mask.png") center / contain no-repeat;
  mask: url("assets/olive-branch-wordmark-mask.png") center / contain no-repeat;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4.4vw, 64px);
  color: rgba(40, 37, 31, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  padding: 12px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--olive-700);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(185, 149, 74, 0.78);
}

.language-button {
  min-width: 46px;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: rgba(40, 37, 31, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
}

.language-button + .language-button {
  border-left: 1px solid rgba(185, 149, 74, 0.52);
}

.language-button.is-active {
  color: var(--olive-700);
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  background: var(--olive-950);
  color: var(--white);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(16, 20, 13, 0.82) 0%, rgba(16, 20, 13, 0.66) 34%, rgba(16, 20, 13, 0.16) 62%, rgba(16, 20, 13, 0) 100%),
    url("assets/hero-kitchen.jpg?v=optimized-hero");
  background-position: center right;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: 92px 0 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(21, 26, 16, 0.52) 0%,
    rgba(21, 26, 16, 0.42) 44%,
    rgba(21, 26, 16, 0.22) 68%,
    rgba(21, 26, 16, 0.08) 100%
  );
  content: "";
}

.hero-content {
  align-self: center;
  padding-top: 92px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-lockup {
  display: grid;
  gap: 18px;
  justify-items: center;
  width: min(732px, 100%);
  margin-bottom: 34px;
  padding: 24px 0 22px;
  font-family: var(--serif);
  line-height: 1;
}

.hero-brand-name {
  color: #e9ecdc;
  font-family: var(--brand-serif);
  font-size: 4.85rem;
  font-optical-sizing: auto;
  font-synthesis: none;
  font-weight: 400;
  letter-spacing: 0.205em;
  line-height: 0.92;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
}

.hero-copy {
  position: relative;
  max-width: 430px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.38rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
}

.button-primary,
.button-form {
  background: var(--gold);
  color: var(--white);
}

.button-secondary {
  border-color: var(--gold);
  color: var(--white);
}

.scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  color: rgba(255, 255, 255, 0.86);
  font-size: 2rem;
  transform: translateX(-50%);
}

.section-light {
  padding: 42px 0 36px;
  background: var(--stone-50);
}

.center-heading {
  display: grid;
  justify-items: center;
  text-align: center;
}

.section-line {
  width: 44px;
  height: 2px;
  margin: 0 0 12px;
  background: var(--gold);
}

h2 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.center-heading > p:not(.section-line) {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.service-intro {
  max-width: 880px;
  margin: -10px auto 32px;
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}

.service-showcase {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1.08fr 1fr;
  align-items: stretch;
  min-height: 286px;
}

.service-image {
  margin: 0;
  min-height: 286px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-panel {
  display: grid;
  align-content: center;
  min-height: 286px;
  padding: 34px 38px;
  border: 1px solid rgba(185, 149, 74, 0.14);
  background: rgba(255, 255, 255, 0.62);
}

.service-panel svg,
.trust-list svg,
.process-steps svg {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.service-panel h3 {
  margin-bottom: 12px;
  color: var(--olive-900);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-panel p {
  margin-bottom: 20px;
  color: var(--charcoal);
  font-size: 0.98rem;
}

.service-panel a {
  color: var(--olive-900);
  font-size: 0.9rem;
  font-weight: 600;
}

.service-panel a::after {
  content: "  →";
}

.section-dark {
  background:
    radial-gradient(circle at 50% 0%, rgba(77, 87, 52, 0.44), rgba(29, 36, 21, 0) 42%),
    var(--olive-900);
  color: var(--white);
}

.portfolio {
  padding: 44px 0 54px;
}

.dark-heading h2 {
  color: var(--white);
}

.dark-heading > p:not(.section-line) {
  color: rgba(255, 255, 255, 0.76);
}

.project-matrix {
  display: grid;
  grid-template-columns: 1.28fr 0.8fr 1.28fr;
  gap: 10px;
}

.project-matrix figure {
  position: relative;
  margin: 0;
  min-height: 164px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.project-matrix img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-figure-contain {
  background: #f7f7f2;
}

.project-figure-contain img {
  object-fit: contain;
}

figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 6px 10px;
  background: rgba(21, 26, 16, 0.82);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-matrix figure:nth-child(3n + 1) figcaption {
  right: auto;
  left: 12px;
}

.project-summary {
  min-height: 164px;
  padding: 28px 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(21, 26, 16, 0.42);
}

.project-summary h3 {
  margin-bottom: 8px;
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-summary p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
}

.portfolio-note {
  max-width: 640px;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  text-align: center;
}

.trust-strip {
  padding: 34px 0;
  background: var(--stone-50);
}

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

.trust-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  min-height: 128px;
  padding: 10px 32px;
  border-right: 1px solid var(--line);
}

.trust-list article:last-child {
  border-right: 0;
}

.trust-list svg {
  margin: 0;
}

.trust-list h3 {
  grid-column: 2;
  margin-bottom: 9px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-list p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--charcoal);
  font-size: 0.88rem;
}

.process-section {
  background: var(--stone-50);
}

.process-side {
  padding-top: 72px;
  padding-bottom: 76px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin-top: 44px;
}

.process-steps article {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.process-steps article:not(:last-child)::after {
  position: absolute;
  top: 32px;
  right: -23px;
  color: var(--gold);
  content: "›";
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.process-steps svg {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  color: var(--olive-700);
}

.process-steps h3 {
  margin-bottom: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.process-steps p {
  margin-bottom: 0;
  color: var(--charcoal);
  font-size: 0.88rem;
}

.contact-section {
  background: var(--olive-900);
}

.contact-side {
  padding-top: 72px;
  padding-bottom: 76px;
  color: var(--white);
}

.lead-form {
  display: grid;
  gap: 12px;
  width: min(720px, 100%);
  margin: 0 auto;
  color: var(--white);
}

.form-heading {
  text-align: center;
}

.form-heading h2 {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 3rem;
}

.form-heading p {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

label,
fieldset {
  display: grid;
  gap: 6px;
  margin: 0;
  border: 0;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 700;
}

label > span,
legend {
  display: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
  padding: 11px 13px;
  font-size: 0.9rem;
  font-weight: 500;
}

textarea {
  min-height: 98px;
  resize: vertical;
}

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

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
}

.consent span {
  display: inline;
}

.consent input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.button-form {
  width: 100%;
  min-height: 48px;
  border: 0;
}

.site-footer {
  padding: 40px 0 24px;
  background: var(--olive-950);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(120px, 1fr));
  gap: 58px;
  align-items: start;
}

.footer-brand {
  width: min(230px, 100%);
  min-height: 174px;
  align-items: center;
  justify-content: center;
}

.footer-brand img {
  width: min(230px, 100%);
  height: auto;
  background: transparent;
  object-fit: contain;
  opacity: 0.86;
}

.footer-grid h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  text-align: center;
}

.thanks-page {
  min-height: 100svh;
  background:
    linear-gradient(135deg, rgba(29, 33, 21, 0.88), rgba(29, 33, 21, 0.72)),
    url("assets/hero-kitchen.jpg?v=optimized-hero") center / cover;
  color: var(--white);
}

.thanks-shell {
  display: grid;
  align-content: center;
  gap: 20px;
  width: min(720px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
}

.thanks-shell h1 {
  margin: 18px 0 0;
}

.thanks-shell p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.thanks-shell .button {
  width: fit-content;
  margin-top: 10px;
}

.thanks-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thanks-brand img {
  width: 72px;
  height: 72px;
  background: var(--white);
  object-fit: cover;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    gap: 28px;
  }

  .hero-lockup {
    width: min(650px, 100%);
  }

  .service-showcase,
  .trust-list,
  .process-steps,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-side,
  .contact-side {
    padding-top: 60px;
    padding-bottom: 64px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
    min-height: 116px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-lockup {
    width: 220px;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    gap: 24px;
    overflow-x: auto;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-content {
    padding-top: 116px;
  }

  .hero::after {
    top: 116px;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: min(100% - 28px, 1260px);
  }

  .site-header {
    row-gap: 8px;
    min-height: 98px;
    padding: 9px 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand-lockup {
    width: 188px;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 690px;
  }

  .hero::after {
    top: 98px;
  }

  .hero-content {
    padding-top: 124px;
  }

  .hero-lockup {
    gap: 12px;
    padding-right: 0;
    width: min(100%, 680px);
  }

  .hero-brand-name {
    font-size: 2.36rem;
    letter-spacing: 0.13em;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .service-showcase,
  .project-matrix,
  .trust-list,
  .process-steps,
  .field-pair,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-panel,
  .service-image {
    min-height: auto;
  }

  .service-image img,
  .project-matrix img {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .project-summary {
    min-height: auto;
  }

  .trust-list article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-list article:last-child {
    border-bottom: 0;
  }

  .process-steps article:not(:last-child)::after {
    display: none;
  }

  .process-side,
  .contact-side {
    padding-top: 42px;
    padding-bottom: 46px;
  }

  .form-heading h2 {
    font-size: 2.3rem;
  }
}

@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
  .hero-brand-name {
    display: block;
    width: 100%;
    aspect-ratio: 1466 / 139;
    overflow: hidden;
    background: #e9ecdc;
    color: transparent;
    font-size: 0;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: none;
    filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.36));
    -webkit-mask: url("assets/olive-branch-wordmark-mask.png") center / contain no-repeat;
    mask: url("assets/olive-branch-wordmark-mask.png") center / contain no-repeat;
  }
}

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