@font-face {
  font-family: "Whitney";
  src: url("../assets/whitneybook.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Whitney";
  src: url("../assets/whitneymedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Whitney";
  src: url("../assets/whitneysemibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Whitney";
  src: url("../assets/whitneybold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #d2a526;
  --gold-deep: #b6471a;
  --charcoal: #2c2c2c;
  --charcoal-soft: #3a3a3a;
  --ink: #1a1a1a;
  --paper: #f7f5f1;
  --muted: #6b6b6b;
  --white: #ffffff;
  --nav-h: 5.5rem;
  --max: 68rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: "Whitney", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(44, 44, 44, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 4.5rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.9;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--gold);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  border-radius: 0.35rem;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  color: var(--white);
  background:
    url("../assets/background.svg") center / cover no-repeat,
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.62)),
    url("../assets/hero.jpg") center / cover no-repeat;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23f7f5f1' d='M0,64L80,69.3C160,75,320,85,480,80C640,75,800,53,960,48C1120,43,1280,53,1360,58.7L1440,64L1440,120L1360,120C1280,120,1120,120,960,120C800,120,640,120,480,120C320,120,160,120,80,120L0,120Z'%3E%3C/path%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) 0 7.5rem;
  position: relative;
  z-index: 2;
  animation: rise 0.9s var(--ease) both;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 12ch;
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 56rem;
  font-size: 1.45rem;
  line-height: 1.5;
  color: #ffffff;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-lead {
    white-space: normal;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  background: transparent;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  margin-left: 0.75rem;
}

.btn-ghost:hover {
  background: var(--gold);
}

.section {
  padding: 5.5rem 0;
}

.section-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--charcoal);
}

.section-intro {
  margin: 0 0 2.5rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-charcoal {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.88);
}

.section-charcoal h2 {
  color: var(--white);
}

.section-charcoal .section-intro {
  color: rgba(255, 255, 255, 0.65);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 42rem;
}

.service-list li {
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.service-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.service-list strong {
  display: block;
  color: var(--gold);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.service-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.about-copy {
  max-width: 42rem;
  display: grid;
  gap: 1.25rem;
}

.about-copy p {
  margin: 0;
  color: #3f3f3f;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-details a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--gold-deep);
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

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

.field label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #d8d4cc;
  background: var(--white);
  border-radius: 0.4rem;
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(210, 165, 38, 0.45);
  border-color: var(--gold);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  display: none;
  padding: 1.25rem 1.4rem;
  background: #eef6ea;
  border: 1px solid #c5dcb8;
  border-radius: 0.5rem;
  color: #2d4a24;
}

.form-success.is-visible {
  display: block;
}

.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.55);
  padding: 2rem 0;
  font-size: 0.9rem;
}

.site-footer .section-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: rgba(44, 44, 44, 0.98);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

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

  .nav-links a {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .btn-ghost {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

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