:root {
  --white: #ffffff;
  --bg: #faf8f5;
  --bg-soft: #f0ece6;
  --text: #1c1a18;
  --text-muted: #6f6a63;
  --line: #e2dcd3;
  --accent: #b8a090;
  --accent-dark: #8c7768;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max: 1140px;
  --header: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

address {
  font-style: normal;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.brand-text span {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.6rem;
}

.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 1px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

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

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

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

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.nav-mobile a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-mobile.is-open {
  display: flex;
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(28, 26, 24, 0.12) 0%,
    rgba(28, 26, 24, 0.02) 45%,
    rgba(28, 26, 24, 0.58) 100%
  );
}

.hero-body {
  position: relative;
  z-index: 2;
  padding-block: 3.5rem 4.5rem;
  color: var(--white);
}

.hero-tag {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.88;
}

.hero-body h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 0;
  max-width: 30rem;
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* Sections */
.section {
  padding-block: 5rem;
}

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

.section-head {
  margin-bottom: 2.5rem;
}

.section-head--center {
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}

.eyebrow {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.18;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-copy p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-figure {
  margin: 0;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
}

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

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

.g1 {
  grid-column: 1 / 8;
  aspect-ratio: 16 / 10;
}

.g2 {
  grid-column: 8 / 13;
  grid-row: 1 / 3;
  min-height: 100%;
}

.g3 {
  grid-column: 1 / 5;
  aspect-ratio: 4 / 5;
}

.g4 {
  grid-column: 5 / 8;
  aspect-ratio: 4 / 5;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.service-card figure {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Atmosphere */
.atmo-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.75rem;
  align-items: center;
}

.atmo-figure {
  margin: 0;
  overflow: hidden;
}

.atmo-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.atmo-copy p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.team-card {
  text-align: center;
}

.team-card figure {
  margin: 0 0 1rem;
  overflow: hidden;
}

.team-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.team-card h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
}

.team-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Location */
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.25rem;
  align-items: start;
}

.location-photo {
  margin: 0 0 1.75rem;
  overflow: hidden;
}

.location-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.location-info h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
}

.location-info h3:not(:first-of-type) {
  margin-top: 1.5rem;
}

.location-info p,
.location-info address {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.map-frame {
  position: sticky;
  top: calc(var(--header) + 1.25rem);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* Footer */
.footer {
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
}

/* Responsive */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .about-layout,
  .atmo-layout,
  .location-layout {
    grid-template-columns: 1fr;
  }

  .atmo-layout {
    direction: rtl;
  }

  .atmo-layout > * {
    direction: ltr;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 20rem;
    margin-inline: auto;
  }

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

  .g1,
  .g2,
  .g3,
  .g4 {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .g2 {
    grid-column: span 2;
  }

  .map-frame {
    position: static;
  }
}

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

  .g2 {
    grid-column: auto;
  }
}
