:root {
  --stone: #e8e2d8;
  --stone-deep: #d4cdc0;
  --ink: #1c1a17;
  --ink-soft: #3a352f;
  --muted: #6b645a;
  --olive: #5c6b4a;
  --olive-deep: #465338;
  --paper: #f3efe8;
  --white: #faf8f5;
  --veil: rgba(18, 16, 14, 0.48);
  --header-h: 4.5rem;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 60px rgba(28, 26, 23, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--olive-deep);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

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

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--stone);
  color: var(--ink);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
  width: 100%;
  border: none;
}

.btn--dark:hover {
  background: var(--olive-deep);
  color: var(--white);
}

.btn--nav {
  background: var(--olive);
  color: var(--white);
  padding: 0.75rem 1.15rem;
  font-size: 0.78rem;
}

.btn--nav:hover {
  background: var(--olive-deep);
  color: var(--white);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(243, 239, 232, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(28, 26, 23, 0.08);
}

.site-header.is-scrolled .nav__brand,
.site-header.is-scrolled .nav__links a,
.site-header.is-scrolled .nav__toggle {
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--white);
  transition: color 0.3s var(--ease);
}

.nav__brand:hover {
  color: var(--stone);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: rgba(250, 248, 245, 0.92);
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--white);
  opacity: 1;
}

.site-header.is-scrolled .nav__links a:hover,
.site-header.is-scrolled .nav__links a.is-active {
  color: var(--olive-deep);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav__toggle-bar {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) forwards;
}

@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 16, 14, 0.35) 0%,
      rgba(18, 16, 14, 0.2) 40%,
      rgba(18, 16, 14, 0.72) 100%
    ),
    radial-gradient(ellipse at 30% 20%, rgba(92, 107, 74, 0.22), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 7rem 1.5rem 5.5rem;
}

.hero__byline {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.85);
}

.hero__brand {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.8rem, 11vw, 7.5rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero__lead {
  max-width: 28rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(250, 248, 245, 0.9);
}

/* Sections */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

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

.section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section__header {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.eyebrow {
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
}

.section__title {
  margin-bottom: 1.15rem;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--ink);
}

.section__text {
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 36rem;
}

.section__text + .section__text {
  margin-top: 1rem;
}

.section__text--narrow {
  max-width: 32rem;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about__figure {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.about__figure:hover img {
  transform: scale(1.03);
}

/* Services */
.services__list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(28, 26, 23, 0.14);
}

.services__item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(28, 26, 23, 0.14);
}

.services__index {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--olive);
}

.services__name {
  margin-bottom: 0.4rem;
  font-size: 1.65rem;
}

.services__item p {
  max-width: 36rem;
  color: var(--muted);
  font-weight: 300;
}

/* Process */
.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
}

.process__step {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(28, 26, 23, 0.18);
}

.process__num {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--olive);
}

.process__step h3 {
  margin-bottom: 0.65rem;
  font-size: 1.75rem;
}

.process__step p {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.98rem;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact__details {
  margin-top: 2.25rem;
  display: grid;
  gap: 1.15rem;
}

.contact__details li {
  display: grid;
  gap: 0.2rem;
}

.contact__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}

.contact__details a {
  text-decoration: none;
}

.contact__details a:hover {
  text-decoration: underline;
}

.contact__form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(28, 26, 23, 0.16);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 300;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--olive);
  background: var(--white);
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.form-note {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--olive-deep);
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(250, 248, 245, 0.82);
  padding: 3.5rem 0 2.5rem;
}

.footer__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.85rem;
  text-decoration: none;
  color: var(--white);
}

.footer__brand:hover {
  color: var(--stone);
}

.footer__tag {
  font-weight: 300;
  color: rgba(250, 248, 245, 0.65);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0.5rem 0 0.75rem;
}

.footer__links a {
  text-decoration: none;
  color: rgba(250, 248, 245, 0.78);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__copy {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.45);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero .reveal {
  transition-delay: 0.08s;
}

.hero .reveal:nth-child(2) {
  transition-delay: 0.18s;
}

.hero .reveal:nth-child(3) {
  transition-delay: 0.3s;
}

.hero .reveal:nth-child(4) {
  transition-delay: 0.42s;
}

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

  .reveal,
  .hero__media img,
  .btn,
  .about__figure img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__figure {
    order: -1;
    max-width: 28rem;
  }

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

@media (max-width: 780px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 1.5rem;
    padding: 1.5rem 1.5rem 2rem;
    background: rgba(243, 239, 232, 0.98);
    border-bottom: 1px solid rgba(28, 26, 23, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.35s ease;
  }

  .nav__menu.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  .nav__links a,
  .site-header .nav__links a {
    color: var(--ink);
    font-size: 1.15rem;
  }

  .btn--nav {
    width: 100%;
  }

  .site-header.is-open {
    background: rgba(243, 239, 232, 0.98);
  }

  .site-header.is-open .nav__brand,
  .site-header.is-open .nav__toggle {
    color: var(--ink);
  }

  .process__list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero__content {
    padding-bottom: 4rem;
  }

  .services__item {
    grid-template-columns: 3rem 1fr;
  }
}

@media (max-width: 480px) {
  .hero__brand {
    font-size: clamp(3.2rem, 16vw, 4.5rem);
  }

  .btn {
    width: 100%;
  }

  .hero .btn {
    width: auto;
  }
}
