:root {
  --ink: #151513;
  --muted: #68645a;
  --paper: #f7f2e8;
  --cream: #fffaf0;
  --leaf: #376b55;
  --sea: #1f7b7a;
  --tomato: #c74f38;
  --mustard: #d9a63a;
  --line: rgba(21, 21, 19, .13);
  --shadow: 0 20px 60px rgba(46, 42, 31, .16);
}

* { 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;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid transparent;
  background: rgba(247, 242, 232, .9);
  backdrop-filter: blur(16px);
}

.site-header.is-raised { border-bottom-color: var(--line); }

.brand,
.header-actions,
.hero-actions,
.visit-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--cream);
  background: var(--ink);
  font-size: 28px;
  font-weight: 950;
}

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

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  gap: 23px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

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

.lang {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.lang button,
.rhythm-tabs button {
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.lang button {
  min-width: 42px;
  padding: 9px 10px;
  font-size: 12px;
}

.lang button.is-active,
.rhythm-tabs button.is-active {
  color: white;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 8px 20px rgba(46, 42, 31, .08);
  font-weight: 900;
}

.button.small {
  min-height: 38px;
  padding-inline: 14px;
}

.button.primary {
  border-color: var(--sea);
  color: white;
  background: var(--sea);
}

.button.ghost {
  border-color: rgba(31, 123, 122, .28);
  color: var(--sea);
  background: rgba(255, 250, 240, .72);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(350px, .88fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px) 44px;
  background:
    linear-gradient(120deg, rgba(255,250,240,.94) 0%, rgba(247,242,232,.98) 54%, rgba(226,234,219,.74) 100%);
}

.hero-copy { max-width: 780px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--sea);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(52px, 7vw, 92px);
  line-height: .92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin: 24px 0 26px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.58;
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .46fr;
  gap: 12px;
  align-items: stretch;
}

.hero-media > img,
.photo-stack img,
.gallery-main {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.photo-stack {
  display: grid;
  gap: 12px;
}

.photo-stack img {
  width: 100%;
  height: 289px;
  object-fit: cover;
}

.status-strip {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, .78fr);
  gap: 10px;
  max-width: 820px;
  margin-top: 34px;
}

.status-strip > span {
  display: grid;
  align-content: center;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, .78);
}

.status {
  color: white;
  background: var(--leaf) !important;
  font-weight: 950;
}

.status.is-closed { background: var(--tomato) !important; }

.status-strip strong {
  font-size: 26px;
}

.status-strip small {
  margin-top: 5px;
  color: var(--muted);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.quick-grid a {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 26px clamp(18px, 3vw, 38px);
  border-right: 1px solid var(--line);
}

.quick-grid a:last-child { border-right: 0; }

.quick-grid span,
.visit-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.quick-grid strong { font-size: clamp(16px, 1.4vw, 20px); }

.section {
  padding: clamp(68px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.split,
.proof,
.visit {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, .72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.section p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.rhythm-card,
.review-board article,
.visit-panel > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.rhythm-card { overflow: hidden; }

.rhythm-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.rhythm-tabs button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(55, 107, 85, .12);
}

.rhythm-result {
  display: grid;
  gap: 14px;
  min-height: 250px;
  padding: 30px;
}

.rhythm-result strong {
  font-size: 38px;
}

.rhythm-result p { margin: 0; }

.bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 96px;
  margin-top: 12px;
}

.bars span {
  flex: 1;
  min-width: 22px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--mustard), var(--sea));
}

.proof { background: #edf0e6; }

.review-board {
  display: grid;
  gap: 12px;
}

.review-board article {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.review-board span {
  color: var(--tomato);
  font-weight: 950;
}

.review-board p {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(280px, .44fr);
  gap: 16px;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: pointer;
}

.gallery-main img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.gallery-main span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  color: white;
  background: rgba(21, 21, 19, .78);
  font-weight: 900;
}

.thumbs {
  display: grid;
  gap: 12px;
}

.thumbs button {
  overflow: hidden;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.thumbs button.is-active { border-color: var(--sea); }

.thumbs img {
  width: 100%;
  height: 149px;
  object-fit: cover;
}

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

.visit .eyebrow,
.visit p {
  color: rgba(255,255,255,.74);
}

.visit-panel {
  display: grid;
  gap: 14px;
}

.visit-panel > div {
  display: grid;
  gap: 8px;
  padding: 22px;
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--cream);
  color: var(--muted);
  font-size: 14px;
}

.mobile-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 40;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, .94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform: translateY(150%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .2s ease;
}

.mobile-cta.is-visible {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-cta a {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 8px;
  color: white;
  background: var(--sea);
  font-weight: 950;
}

.mobile-cta a:last-child {
  color: var(--ink);
  background: white;
}

@media (max-width: 1060px) {
  nav { display: none; }

  .hero,
  .split,
  .proof,
  .visit {
    grid-template-columns: 1fr;
  }

  .hero-media > img { height: 500px; }

  .quick-grid,
  .status-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .brand small,
  .header-actions .button { display: none; }

  .mark {
    width: 39px;
    height: 39px;
    font-size: 22px;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    max-width: 12ch;
    font-size: 45px;
  }

  h2 { font-size: 36px; }

  .lead { font-size: 18px; }

  .hero-actions,
  .visit-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button { width: 100%; }

  .hero-media,
  .gallery,
  .quick-grid,
  .status-strip {
    grid-template-columns: 1fr;
  }

  .hero-media > img { height: 350px; }

  .photo-stack {
    grid-template-columns: 1fr 1fr;
  }

  .photo-stack img { height: 170px; }

  .quick-grid a {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-grid a:last-child { border-bottom: 0; }

  .rhythm-result { padding: 22px; }

  .gallery-main img { height: 360px; }

  .thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .thumbs img { height: 78px; }

  .site-footer {
    display: grid;
    padding-bottom: 92px;
  }

  .mobile-cta { display: grid; }
}

@media (max-width: 390px) {
  h1 { font-size: 40px; }

  .lang button {
    min-width: 36px;
    padding-inline: 8px;
  }
}
