:root {
  --ink: #1c1b19;
  --ink-soft: #3d3a36;
  --paper: #f4f1eb;
  --paper-deep: #e8e2d6;
  --line: #c9c2b4;
  --accent: #2f4a3c;
  --accent-hover: #24382e;
  --veil: rgba(18, 22, 20, 0.55);
  --max: 72rem;
  --font: "Figtree", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --space: clamp(1rem, 3vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(47, 74, 60, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(47, 74, 60, 0.03) 1px, transparent 1px);
  background-size: 5rem 5rem, 100% 0.5rem;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
}

.skip:focus {
  left: 0.75rem;
}

.wrap {
  width: min(var(--max), 100% - var(--space) * 2);
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 235, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  width: min(var(--max), 100% - var(--space) * 2);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--accent);
}

.brand__mark {
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand__suffix {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 1.25rem;
  margin-inline: auto;
  background: var(--ink);
}

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

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

.nav__list a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav__list a:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--header {
  flex-shrink: 0;
}

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

.hero {
  --hero-max: calc(100svh - 4.75rem);
  --hero-h: min(89.7svh, var(--hero-max), 51.75rem);
  color: #f5f2ec;
  background: #1a2420;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  height: var(--hero-h);
  max-height: var(--hero-max);
  min-height: 0;
  align-items: stretch;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding-block: clamp(1.25rem, 3.5vw, 2.25rem);
  padding-right: clamp(1.25rem, 3vw, 2.75rem);
  padding-left: max(var(--space), calc((100vw - min(var(--max), 100vw - var(--space) * 2)) * 0.5));
  background: linear-gradient(165deg, var(--accent) 0%, #1e3028 55%, #16241e 100%);
  overflow: auto;
}

.hero__copy-inner {
  width: 100%;
  max-width: 34rem;
}

.hero__visual {
  margin: 0;
  padding: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #2a2622;
}

.hero__img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.hero__line {
  width: 3.5rem;
  height: 3px;
  margin: 0 0 1.25rem;
  background: #e8e2d6;
}

.hero__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.hero__lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

@media (max-width: 900px) {
  .hero {
    --hero-h: auto;
    --hero-max: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  .hero__visual {
    order: -1;
    height: auto;
    max-height: min(62.1svh, 24.15rem);
  }

  .hero__img {
    height: min(62.1svh, 24.15rem);
    max-height: min(62.1svh, 24.15rem);
    object-position: left 42%;
  }

  .hero__copy {
    padding-left: var(--space);
    padding-right: var(--space);
    padding-block: clamp(1.5rem, 4vw, 2rem);
    overflow: visible;
  }
}

.section {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  scroll-margin-top: 5rem;
}

.section--about {
  border-top: 1px solid var(--line);
}

.section--services {
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

.section--gallery {
  border-bottom: 1px solid var(--line);
}

.section--contact {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}

.section__head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 48rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
}

.section__intro {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.section__intro:last-child {
  margin-bottom: 0;
}

.about__grid {
  display: grid;
  grid-template-columns: min(18rem, 100%) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 800px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 1px 0 rgba(47, 74, 60, 0.06);
}

.card__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}

.facts {
  margin: 0;
}

.facts > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.35rem 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--paper-deep);
}

.facts > div:first-of-type {
  border-top: none;
  padding-top: 0;
}

.facts dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 2px 0 rgba(47, 74, 60, 0.05);
}

.service-card__icon {
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0 auto 1.25rem;
  background: var(--accent);
  box-shadow: 0 6px 0 var(--accent), 0 12px 0 var(--accent);
}

.service-card__icon--win {
  width: 2.75rem;
  height: 1.5rem;
  margin-bottom: 1.25rem;
  background: transparent;
  border: 2px solid var(--accent);
  border-bottom-width: 3px;
  box-shadow: none;
}

.service-card__icon--part {
  width: 3rem;
  height: 2px;
  box-shadow: 0 0 0 1px var(--accent), 0 8px 0 -1px var(--accent), 0 16px 0 -2px var(--accent);
  background: var(--accent);
}

.service-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}

.service-card p {
  margin: 0;
  font-size: 0.98rem;
  text-align: left;
}

.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery__item {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.contact__top {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

.form {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.75rem 1.5rem;
}

.form__row {
  margin-bottom: 1.1rem;
}

.form__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.form__input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
}

.form__input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

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

.form__error {
  color: #8b2942;
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.map {
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.vcard {
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.6;
}

.mailto {
  font-weight: 600;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
  background: #ebe6dc;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer__copy,
.footer__addr {
  margin: 0;
}

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

  .nav {
    position: fixed;
    inset: 4.25rem 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--space) 1.5rem;
    background: rgba(244, 241, 235, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

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

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-bottom: 1rem;
  }

  .btn--header {
    width: 100%;
    justify-content: center;
  }
}
