:root {
  --cream: #f4ecdf;
  --warm-white: #fbf7ef;
  --charcoal: #24221d;
  --ink: #332f28;
  --muted: #766d60;
  --line: rgba(51, 47, 40, 0.18);
  --dark-line: rgba(244, 236, 223, 0.2);
  --earth: #d7c5ad;
  --olive: #495844;
  --wine: #7a3c35;
  --shadow: 0 24px 70px rgba(36, 34, 29, 0.16);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(64px, 9vw, 112px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: geometricPrecision;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
  color: var(--cream);
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 247, 239, 0.92);
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand span:first-child {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 28px);
}

.brand span:last-child {
  margin-top: 3px;
  color: currentColor;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 13px;
  font-weight: 600;
}

.nav a {
  opacity: 0.82;
  transition: opacity 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.nav .nav-cta {
  border: 1px solid currentColor;
  padding: 9px 15px;
  opacity: 1;
}

.site-header.is-scrolled .nav .nav-cta {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--cream);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(38px, 7vw, 96px);
  padding: clamp(104px, 14vh, 158px) var(--gutter) var(--gutter);
  background:
    radial-gradient(circle at 10% 20%, rgba(122, 60, 53, 0.2), transparent 34%),
    linear-gradient(135deg, #211e1a 0%, #343026 58%, #151411 100%);
}

.section-dark {
  color: var(--cream);
}

.hero-copy {
  max-width: 820px;
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(48px, 5.6vw, 82px);
  line-height: 0.92;
}

h2 {
  max-width: 820px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

h3 {
  font-size: clamp(24px, 2.4vw, 36px);
}

.hero p {
  max-width: 660px;
  margin: 38px 0 0;
  color: rgba(244, 236, 223, 0.82);
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 46px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--cream);
  color: var(--charcoal);
}

.button-secondary {
  border-color: rgba(244, 236, 223, 0.36);
  color: var(--cream);
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid rgba(244, 236, 223, 0.58);
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.86;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-text-link:hover,
.hero-text-link:focus-visible {
  border-color: var(--cream);
  opacity: 1;
  transform: translateY(-2px);
}

.form-submit {
  margin-top: 26px;
  background: var(--charcoal);
  color: var(--cream);
}

.image-placeholder {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(73, 88, 68, 0.2), rgba(122, 60, 53, 0.24)),
    repeating-linear-gradient(45deg, rgba(51, 47, 40, 0.08), rgba(51, 47, 40, 0.08) 1px, transparent 1px, transparent 18px),
    #d8c9b5;
  box-shadow: var(--shadow);
  color: var(--charcoal);
}

.image-placeholder::after {
  content: attr(data-replace);
  position: absolute;
  top: 18px;
  left: 18px;
  border-bottom: 1px solid currentColor;
  color: rgba(51, 47, 40, 0.68);
  font-size: 11px;
  font-weight: 600;
}

.image-placeholder span {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1;
}

.image-placeholder small,
figcaption {
  max-width: 290px;
  margin-top: 10px;
  color: rgba(51, 47, 40, 0.68);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.hero-image {
  position: relative;
  overflow: hidden;
  height: min(58vh, 620px);
  min-height: min(58vh, 620px);
  margin-right: clamp(20px, 2vw, 32px);
  border: 1px solid var(--dark-line);
  border-color: var(--dark-line);
  box-shadow: var(--shadow);
  color: var(--cream);
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.46) 100%),
    linear-gradient(135deg, rgba(215, 197, 173, 0.22), rgba(73, 88, 68, 0.22)),
    repeating-linear-gradient(45deg, rgba(244, 236, 223, 0.12), rgba(244, 236, 223, 0.12) 1px, transparent 1px, transparent 22px),
    #484135;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(36, 34, 29, 0.1),
    rgba(36, 34, 29, 0.35)
  );
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image::after {
  color: rgba(244, 236, 223, 0.72);
}

.hero-image small {
  color: rgba(244, 236, 223, 0.76);
}

.section {
  padding: var(--section) var(--gutter);
}

.section-label {
  margin-bottom: 18px;
  color: var(--olive);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about {
  background:
    linear-gradient(90deg, rgba(215, 197, 173, 0.16), transparent 38%),
    var(--warm-white);
}

.about-grid,
.partner {
  display: grid;
  grid-template-columns: minmax(260px, 0.54fr) minmax(0, 1fr);
  gap: clamp(34px, 5.4vw, 74px);
  align-items: start;
}

.portrait {
  aspect-ratio: 4 / 5;
  min-height: auto;
  width: min(100%, 390px);
  justify-self: start;
  margin-top: 6px;
}

.about-copy {
  max-width: 790px;
}

.about-copy p,
.text-rail p,
.partner-copy p {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 1.7;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0 0;
}

.credentials div {
  min-height: 122px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(244, 236, 223, 0.44);
}

.credentials div + div {
  border-left: 1px solid var(--line);
}

.credentials dt {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
}

.credentials dd {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section-earth {
  background: var(--cream);
}

.text-rail {
  max-width: 920px;
  margin-inline: auto;
  border: 1px solid rgba(51, 47, 40, 0.14);
  background:
    linear-gradient(135deg, rgba(251, 247, 239, 0.62), rgba(215, 197, 173, 0.18)),
    rgba(251, 247, 239, 0.36);
  padding: clamp(34px, 5vw, 68px);
}

.text-rail h2 {
  margin-bottom: 28px;
}

.text-rail p {
  max-width: 640px;
  margin-left: clamp(0px, 10vw, 170px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: clamp(28px, 4.2vw, 54px);
}

.section-heading .section-label {
  margin: 12px 0 0;
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 0;
}

.experience {
  display: flex;
  min-height: 255px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid rgba(51, 47, 40, 0.16);
  background:
    linear-gradient(180deg, rgba(251, 247, 239, 0.84), rgba(244, 236, 223, 0.54)),
    var(--warm-white);
  box-shadow: 0 18px 48px rgba(36, 34, 29, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.experience:hover {
  transform: translateY(-4px);
  border-color: rgba(73, 88, 68, 0.32);
  box-shadow: 0 24px 62px rgba(36, 34, 29, 0.11);
}

.experience-number {
  display: inline-flex;
  width: fit-content;
  border-bottom: 1px solid currentColor;
  color: var(--olive);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
}

.experience p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.experience-secondary h3,
.experience-secondary p {
  color: rgba(51, 47, 40, 0.7);
}

.quote-section {
  display: grid;
  min-height: 50svh;
  place-items: center;
  padding: var(--section) var(--gutter);
  background:
    linear-gradient(rgba(36, 34, 29, 0.86), rgba(36, 34, 29, 0.86)),
    repeating-linear-gradient(90deg, rgba(244, 236, 223, 0.08), rgba(244, 236, 223, 0.08) 1px, transparent 1px, transparent 92px),
    #24221d;
}

blockquote {
  max-width: 980px;
  text-align: center;
  font-size: clamp(38px, 6vw, 78px);
}

.partner {
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.62fr);
  align-items: center;
}

.partner-image {
  aspect-ratio: 5 / 4;
  min-height: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.1fr 0.9fr;
  gap: 18px;
}

.gallery-grid figure {
  min-height: clamp(220px, 26vw, 380px);
  margin: 0;
  box-shadow: 0 22px 64px rgba(36, 34, 29, 0.1);
}

.gallery-grid figure:nth-child(1),
.gallery-grid figure:nth-child(3) {
  min-height: clamp(250px, 30vw, 430px);
}

.gallery-grid figure:nth-child(even) {
  transform: translateY(32px);
}

.inquiry {
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  gap: clamp(32px, 5.6vw, 72px);
  align-items: start;
}

.inquiry-intro {
  position: sticky;
  top: 110px;
}

.inquiry-form,
.success-message {
  background: var(--warm-white);
  border: 1px solid var(--line);
  padding: clamp(22px, 3.2vw, 36px);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(51, 47, 40, 0.3);
  border-radius: 0;
  background: transparent;
  color: var(--charcoal);
  padding: 9px 0;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--wine);
}

.message-field {
  grid-column: 1 / -1;
}

.form-error {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--wine);
  font-weight: 600;
}

.success-message {
  grid-column: 2;
}

.success-message h3 {
  margin-bottom: 12px;
}

.success-message p {
  margin: 0;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--charcoal);
}

.footer div,
.footer address {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-style: normal;
}

.footer span,
.footer a {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

  .reveal,
  .button,
  .site-header {
    transition: none;
  }
}

@media (max-width: 940px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero,
  .about-grid,
  .partner,
  .inquiry {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    padding-top: 132px;
  }

  .hero-image {
    height: 420px;
    min-height: 420px;
    margin-right: 0;
  }

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

  .section-heading .section-label {
    margin: 0;
  }

  .text-rail p {
    margin-left: 0;
  }

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

  .credentials div + div {
    border-left: 1px solid var(--line);
    padding-left: 0;
  }

  .credentials div {
    min-height: auto;
  }

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

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

  .gallery-grid figure:nth-child(even) {
    transform: none;
  }

  .inquiry-intro {
    position: static;
  }

  .success-message {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-top: 18px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  h2 {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  blockquote {
    font-size: clamp(42px, 13vw, 68px);
  }

  .hero-actions,
  .footer,
  .footer div,
  .footer address {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .experience-list {
    grid-template-columns: 1fr;
  }

  .experience {
    min-height: 220px;
  }

  .image-placeholder {
    min-height: 240px;
  }
}
