:root {
  --ink: #171713;
  --muted: #5e6259;
  --paper: #f8f7f2;
  --surface: #ffffff;
  --line: #ded9cd;
  --forest: #153c35;
  --forest-2: #0f2b26;
  --gold: #c49a42;
  --gold-dark: #8d6c25;
  --shadow: 0 20px 60px rgba(18, 22, 17, 0.16);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(196, 154, 66, 0.65);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 54px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(248, 247, 242, 0.94);
  box-shadow: 0 10px 34px rgba(16, 22, 18, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .brand-mark,
.site-header.menu-open .brand-mark {
  border-color: rgba(21, 60, 53, 0.24);
  background: rgba(21, 60, 53, 0.08);
}

.brand svg {
  width: 28px;
  height: 28px;
  fill: var(--gold);
}

.brand svg path:last-child {
  fill: none;
  stroke: var(--forest);
  stroke-width: 2;
  stroke-linecap: round;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand small {
  max-width: 190px;
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.82;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
}

.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 20, 17, 0.78) 0%, rgba(14, 20, 17, 0.56) 33%, rgba(14, 20, 17, 0.08) 76%),
    linear-gradient(180deg, rgba(8, 11, 10, 0.36) 0%, rgba(8, 11, 10, 0.05) 42%, rgba(8, 11, 10, 0.48) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-block: 130px 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.quote-section blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 6.2vw, 5.8rem);
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #15130e;
  background: var(--gold);
}

.button-primary:hover {
  background: #d4ac58;
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  color: #fff;
  background: var(--forest-2);
}

.intro-band div {
  padding: clamp(22px, 3vw, 34px);
  background: var(--forest);
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band strong {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.intro-band span {
  color: rgba(255, 255, 255, 0.72);
}

.section {
  width: min(var(--max-width), calc(100% - 36px));
  margin-inline: auto;
  padding: clamp(70px, 9vw, 120px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section h2 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.about {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.about-text {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-text p {
  margin: 0 0 18px;
}

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

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(25, 28, 23, 0.07);
}

.service-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  border-radius: 50%;
  color: var(--gold-dark);
  background: rgba(196, 154, 66, 0.14);
  font-weight: 900;
}

.service-card h3,
.gallery-item h3,
.process-list h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.service-card p,
.gallery-item p,
.process-list p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.gallery-item.large {
  grid-row: span 2;
  min-height: 740px;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 80px 24px 24px;
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 12, 10, 0) 0%, rgba(10, 12, 10, 0.76) 70%);
}

.gallery-item p {
  color: rgba(255, 255, 255, 0.78);
}

.process {
  padding-top: 30px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: process;
}

.process-list article {
  padding: 28px;
  border-top: 4px solid var(--gold);
  background: #fff;
}

.process-list span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--forest);
  font-weight: 900;
}

.quote-section {
  padding: clamp(70px, 8vw, 110px) clamp(18px, 5vw, 70px);
  color: #fff;
  background: var(--forest-2);
}

.quote-section figure {
  width: min(920px, 100%);
  margin: 0 auto;
}

.quote-section blockquote {
  font-size: clamp(2rem, 5vw, 4.4rem);
}

.quote-section figcaption {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  color: var(--forest);
  font-weight: 800;
}

.contact-details span {
  color: var(--muted);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfc8ba;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-dark);
  outline: none;
  box-shadow: 0 0 0 4px rgba(196, 154, 66, 0.2);
}

.error-message {
  display: none;
  color: #a53a25;
  font-size: 0.82rem;
  font-weight: 700;
}

.field-error input,
.field-error select,
.field-error textarea {
  border-color: #a53a25;
}

.field-error .error-message {
  display: block;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.legal-page {
  background: #f8f7f2;
}

.legal-page .site-header {
  color: var(--ink);
  background: rgba(248, 247, 242, 0.96);
  box-shadow: 0 10px 34px rgba(16, 22, 18, 0.1);
  backdrop-filter: blur(16px);
}

.legal-page .brand-mark,
.legal-page .nav-toggle {
  border-color: rgba(21, 60, 53, 0.24);
  background: rgba(21, 60, 53, 0.08);
}

.legal-main {
  width: min(var(--max-width), calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 90px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
  padding-bottom: clamp(34px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 1.04;
}

.legal-hero p {
  margin: 0;
  color: var(--muted);
}

.legal-note {
  padding: 20px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(25, 28, 23, 0.07);
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
  padding-top: clamp(34px, 6vw, 64px);
}

.legal-toc {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.legal-toc strong {
  color: var(--forest);
}

.legal-toc a {
  color: var(--muted);
  font-weight: 800;
}

.legal-toc a:hover {
  color: var(--ink);
}

.legal-content {
  display: grid;
  gap: 30px;
}

.legal-content section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.legal-content h2 {
  margin: 0 0 12px;
  color: var(--forest);
  font-size: 1.45rem;
  line-height: 1.2;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content p:last-child,
.legal-content ul:last-child {
  margin-bottom: 0;
}

.legal-content ul {
  margin: 0 0 14px;
  padding-left: 21px;
}

.legal-content a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(196, 154, 66, 0.7);
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.72);
  background: #101411;
}

.site-footer p {
  margin: 0;
}

.site-footer a,
.footer-links a {
  color: #fff;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 980px) {
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .gallery-item,
  .gallery-item.large {
    min-height: 440px;
  }

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

  .legal-hero,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(248, 247, 242, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .site-header.menu-open .site-nav {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    padding: 14px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(14, 20, 17, 0.78) 0%, rgba(14, 20, 17, 0.56) 100%),
      linear-gradient(180deg, rgba(8, 11, 10, 0.28) 0%, rgba(8, 11, 10, 0.54) 100%);
  }

  .hero > img {
    object-position: 64% center;
  }

  .hero-content {
    width: min(100% - 36px, 620px);
    margin-inline: auto;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .intro-band,
  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.large {
    min-height: 390px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-main {
    padding-top: 124px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .button {
    width: 100%;
  }

  .section {
    width: calc(100% - 28px);
  }

  .service-card,
  .process-list article,
  .contact-form,
  .legal-content section,
  .legal-toc {
    padding: 22px;
  }
}
