/* =========================================================
   Serenity Bodream — olive grove & ancient city theme
   ========================================================= */

:root {
  --stone: #f5f0e6;
  --stone-2: #ece4d5;
  --stone-3: #e1d6c2;
  --sand: #cdbb98;
  --bronze: #a58a5a;
  --olive-950: #1c2016;
  --olive-900: #262b1d;
  --olive-800: #2f3624;
  --olive-700: #414b30;
  --olive-600: #56623d;
  --olive-400: #8c9a6a;
  --olive-200: #c9cfb2;
  --terracotta: #a85f3b;
  --ink: #23261c;
  --text: #3b3e33;
  --muted: #6d6e60;
  --white: #fffdf8;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-caps: "Cinzel", "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --header-h: 84px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(80px, 11vw, 150px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--olive-900);
  color: var(--white);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-y) 0; position: relative; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-caps);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .32em;
  color: var(--olive-600);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .6;
  flex: none;
}
.eyebrow--light { color: var(--olive-200); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 30px;
}
.section-title em { font-weight: 400; color: var(--olive-600); }
.section-title--sm { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.section-title--light { color: var(--white); }
.section-title--light em { color: var(--olive-200); }

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.45;
  color: var(--ink);
}

.section-head { text-align: center; margin-bottom: 40px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  font-family: var(--font-caps);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .22em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--light { background: var(--stone); color: var(--olive-900); }
.btn--light:hover { background: var(--white); }
.btn--outline-light { border-color: rgba(255, 253, 248, .6); color: var(--white); }
.btn--outline-light:hover { background: rgba(255, 253, 248, .12); border-color: var(--white); }
.btn--outline { border-color: var(--olive-700); color: var(--olive-800); background: transparent; }
.btn--outline:hover { background: var(--olive-800); color: var(--stone); }
.btn--olive { background: var(--olive-800); color: var(--stone); }
.btn--olive:hover { background: var(--olive-950); }
.btn--ghost { min-height: 42px; padding: 0 20px; border-color: currentColor; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-caps);
  font-size: 12.5px;
  letter-spacing: .22em;
  color: var(--olive-800);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--bronze);
  text-transform: uppercase;
}
.link-arrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: width .35s var(--ease);
}
.link-arrow:hover::after { width: 36px; }

/* ---------- Decorative masks ---------- */
.deco-mask, .ruins, .meander, .icon {
  display: block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  pointer-events: none;
}

.meander {
  height: 14px;
  width: 100%;
  -webkit-mask-image: url("../svg/meander.svg");
  mask-image: url("../svg/meander.svg");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 14px 14px;
  mask-size: 14px 14px;
}
.meander--bronze { color: var(--bronze); opacity: .55; }
.meander--olive { color: var(--olive-600); opacity: .7; }

.ruins {
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(64px, 11vw, 170px);
  -webkit-mask-image: url("../svg/ruins.svg");
  mask-image: url("../svg/ruins.svg");
  -webkit-mask-size: auto 100%;
  mask-size: auto 100%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
}
.ruins--stone { bottom: -1px; color: var(--stone); }
.ruins--olive { top: 0; transform: translateY(-99%); color: var(--olive-900); }

.icon { width: 56px; height: 56px; color: var(--olive-600); }
.icon--column { -webkit-mask-image: url("../svg/icon-column.svg"); mask-image: url("../svg/icon-column.svg"); }
.icon--olive { -webkit-mask-image: url("../svg/icon-olive.svg"); mask-image: url("../svg/icon-olive.svg"); }
.icon--wave { -webkit-mask-image: url("../svg/icon-wave.svg"); mask-image: url("../svg/icon-wave.svg"); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  color: var(--white);
  transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), height .45s var(--ease);
}
.header.is-solid {
  --header-h: 72px;
  background: rgba(245, 240, 230, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--olive-900);
  box-shadow: 0 1px 0 rgba(65, 75, 48, .12);
}
.header__inner {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo { position: relative; z-index: 2; flex: none; }
.header__logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .45s var(--ease), height .45s var(--ease);
}
.header.is-solid .header__logo img { filter: none; height: 46px; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav__list { display: flex; gap: 36px; }
.nav__list a {
  position: relative;
  font-family: var(--font-caps);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 6px 0;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__list a:hover::after,
.nav__list a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__mobile-foot { display: none; }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 27px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__media, .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media { z-index: -2; }
.hero__media img {
  object-fit: cover;
  object-position: 60% 50%;
  animation: heroZoom 22s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(28, 32, 22, .78) 0%, rgba(28, 32, 22, .45) 45%, rgba(28, 32, 22, .05) 80%),
    linear-gradient(0deg, rgba(28, 32, 22, .55) 0%, rgba(28, 32, 22, 0) 40%),
    linear-gradient(180deg, rgba(28, 32, 22, .45) 0%, rgba(28, 32, 22, 0) 22%);
}
.hero__branch {
  position: absolute;
  z-index: -1;
  top: 13%;
  right: -60px;
  width: min(560px, 48vw);
  aspect-ratio: 640 / 240;
  color: var(--white);
  opacity: .14;
  transform: rotate(-12deg);
  -webkit-mask-image: url("../svg/olive-branch.svg");
  mask-image: url("../svg/olive-branch.svg");
}
.hero__content {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(130px, 18vw, 220px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.9rem, 7vw, 6.2rem);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 0 0 28px;
  max-width: 13ch;
  text-wrap: balance;
}
.hero__title em { font-weight: 400; color: #e3e6cf; }
.hero__lead {
  max-width: 34rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 253, 248, .88);
  margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(70px, 10vw, 150px);
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1px solid rgba(255, 253, 248, .55);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 2px;
  height: 8px;
  margin-left: -1px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* Hero entrance */
.js .hero__content > * {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 1.1s var(--ease) forwards;
}
.js .hero__content > :nth-child(2) { animation-delay: .12s; }
.js .hero__content > :nth-child(3) { animation-delay: .26s; }
.js .hero__content > :nth-child(4) { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Stats ---------- */
.stats { padding: 0; background: var(--stone); }
.stats .meander { opacity: .4; }
.stats__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 42px 0;
}
.stats__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 8px 12px;
  position: relative;
}
.stats__list li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--stone-3);
}
.stats__list strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 4.6vw, 3.8rem);
  line-height: 1;
  color: var(--olive-800);
}
.stats__list strong small { font-size: .45em; margin-left: 4px; font-style: italic; font-weight: 400; }
.stats__list .stats__word { font-style: italic; font-weight: 400; font-size: clamp(2rem, 3.6vw, 3rem); padding-top: .12em; }
.stats__list span {
  font-family: var(--font-caps);
  font-size: 11.5px;
  letter-spacing: .28em;
  color: var(--muted);
}

/* ---------- Project ---------- */
.project__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.project__text p:not(.lead):not(.eyebrow) { color: var(--text); }
.olive-list { margin-top: 30px; display: grid; gap: 14px; }
.olive-list li {
  position: relative;
  padding-left: 34px;
  line-height: 1.5;
}
.olive-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .1em;
  width: 20px;
  height: 20px;
  background: var(--olive-600);
  -webkit-mask: url("../svg/icon-olive.svg") center / contain no-repeat;
  mask: url("../svg/icon-olive.svg") center / contain no-repeat;
}

.arch { overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); background: var(--stone-3); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.arch:hover img { transform: scale(1.04); }

.project__media { position: relative; padding: 0 0 70px 0; }
.arch--tall { aspect-ratio: 4 / 5; width: 78%; margin-left: auto; }
.project__inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 1 / 1;
  border: 10px solid var(--stone);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(38, 43, 29, .45);
}
.project__inset img { width: 100%; height: 100%; object-fit: cover; }
.project__sprig {
  position: absolute;
  top: -40px;
  left: 2%;
  width: 150px;
  aspect-ratio: 1;
  color: var(--olive-400);
  opacity: .55;
  -webkit-mask-image: url("../svg/olive-sprig.svg");
  mask-image: url("../svg/olive-sprig.svg");
}

/* ---------- Landscape ---------- */
.landscape {
  position: relative;
  min-height: clamp(560px, 70vw, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.landscape__img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(28, 32, 22, .35), rgba(28, 32, 22, 0) 60%);
}
.landscape__card {
  max-width: 470px;
  padding: clamp(32px, 4vw, 56px);
  background: rgba(245, 240, 230, .95);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  position: relative;
}
.landscape__card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(165, 138, 90, .35);
  pointer-events: none;
}
.landscape__card p:not(.eyebrow) { margin-bottom: 28px; }

/* ---------- Film ---------- */
.film {
  background: var(--olive-900);
  color: var(--stone);
  padding: 0 0 var(--section-y);
  position: relative;
}
.film > .meander { margin-bottom: var(--section-y); opacity: .5; }
.film__inner { display: grid; gap: 44px; }
.film__head { text-align: center; }
.film__head .eyebrow { justify-content: center; }
.film__head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.film__head .section-title { margin: 0; }
.film__player {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: var(--olive-950);
}
.film__player img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .5s, transform 1.4s var(--ease); }
.film__player:hover img { opacity: .7; transform: scale(1.03); }
.film__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(72px, 9vw, 104px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 248, .7);
  background: rgba(28, 32, 22, .35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .35s, transform .35s var(--ease);
}
.film__play::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 248, .25);
  animation: pulse 2.8s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.film__play svg { width: 34%; margin-left: 6%; }
.film__play:hover { background: rgba(28, 32, 22, .6); transform: translate(-50%, -50%) scale(1.05); }

/* ---------- Gallery ---------- */
.gallery { background: var(--stone); }
.gallery__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.chip {
  font-family: var(--font-caps);
  font-size: 11.5px;
  letter-spacing: .2em;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--stone-3);
  border-radius: 40px;
  background: transparent;
  color: var(--olive-800);
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--olive-400); }
.chip.is-active { background: var(--olive-800); border-color: var(--olive-800); color: var(--stone); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 230px);
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery__grid li { position: relative; overflow: hidden; background: var(--stone-3); }
.gallery__grid li.is-wide { grid-column: span 2; }
.gallery__grid li.is-tall { grid-row: span 2; }
.gallery__grid li.is-big { grid-column: span 2; grid-row: span 2; }
.gallery__grid li[data-fill] { grid-column: span var(--fill); }
.gallery__grid button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gallery__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), opacity .6s;
}
.gallery__grid button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 32, 22, .35), transparent 50%);
  opacity: 0;
  transition: opacity .5s;
}
.gallery__grid button:hover img { transform: scale(1.05); }
.gallery__grid button:hover::after { opacity: 1; }
.gallery__grid li.is-entering { animation: fadeIn .6s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.gallery__more { text-align: center; margin-top: 44px; }
.gallery__more[hidden] { display: none; }

/* ---------- Place / Kıyıkışlacık ---------- */
.place { background: var(--stone-2); overflow: hidden; }
.place__branch {
  position: absolute;
  right: -120px;
  top: 60px;
  width: 520px;
  aspect-ratio: 640 / 240;
  color: var(--olive-400);
  opacity: .22;
  transform: rotate(-150deg);
  -webkit-mask-image: url("../svg/olive-branch.svg");
  mask-image: url("../svg/olive-branch.svg");
}
.place__grid {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  position: relative;
}
.arch--place { aspect-ratio: 4 / 5; }
.place__text p:not(.eyebrow) { color: var(--text); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(70px, 9vw, 120px);
  border-top: 1px solid var(--stone-3);
  border-bottom: 1px solid var(--stone-3);
}
.pillar { padding: 48px clamp(20px, 3vw, 44px); text-align: center; }
.pillar + .pillar { border-left: 1px solid var(--stone-3); }
.pillar__icon { margin: 0 auto 22px; }
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 14px;
}
.pillar p { font-size: 16px; color: var(--muted); margin: 0; }

.legend {
  margin: clamp(70px, 9vw, 110px) auto 0;
  max-width: 760px;
  text-align: center;
  position: relative;
}
.legend__sprig {
  width: 70px;
  aspect-ratio: 1;
  margin: 0 auto 22px;
  color: var(--olive-600);
  opacity: .8;
  -webkit-mask-image: url("../svg/olive-sprig.svg");
  mask-image: url("../svg/olive-sprig.svg");
}
.legend p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.35;
  color: var(--olive-800);
  margin-bottom: 18px;
}
.legend cite {
  font-family: var(--font-caps);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .3em;
  color: var(--bronze);
  text-transform: uppercase;
}

/* ---------- Location / map ---------- */
.location { background: var(--stone-2); padding: 0 0 var(--section-y); }
.location__grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 1.35fr;
  gap: 0;
  padding: 0;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(1240px - 2 * var(--gutter));
  background: var(--stone);
  box-shadow: 0 40px 80px -50px rgba(38, 43, 29, .35);
}
.location__info { padding: clamp(36px, 5vw, 64px); }
.facts { margin: 0 0 34px; display: grid; gap: 0; }
.facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--stone-3);
}
.facts dt {
  font-family: var(--font-caps);
  font-size: 11.5px;
  letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
  padding-top: 3px;
}
.facts dd { margin: 0; text-align: right; color: var(--ink); font-weight: 400; }
.location__map { min-height: 420px; position: relative; background: var(--stone-3); }
.location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(.25) saturate(.8) contrast(.98);
}

/* ---------- Contact ---------- */
.contact { background: var(--stone); padding-bottom: calc(var(--section-y) * .55); }
.contact__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.contact__intro { position: relative; }
.contact__direct { margin-top: 36px; border-top: 1px solid var(--stone-3); }
.contact__direct li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--stone-3);
}
.contact__direct span {
  font-family: var(--font-caps);
  font-size: 11.5px;
  letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
}
.contact__direct a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  transition: color .3s;
  text-align: right;
  word-break: break-word;
}
.contact__direct a:hover { color: var(--olive-600); }
.contact__branch {
  width: 260px;
  aspect-ratio: 640 / 240;
  margin-top: 50px;
  color: var(--olive-400);
  opacity: .45;
  -webkit-mask-image: url("../svg/olive-branch.svg");
  mask-image: url("../svg/olive-branch.svg");
}

.form {
  background: var(--white);
  padding: clamp(28px, 4.5vw, 56px);
  position: relative;
  box-shadow: 0 40px 80px -50px rgba(38, 43, 29, .35);
}
.form::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(165, 138, 90, .25);
  pointer-events: none;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin-bottom: 22px; position: relative; }
.field label {
  display: block;
  font-family: var(--font-caps);
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--olive-700);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.field label small { text-transform: none; letter-spacing: .02em; font-family: var(--font-body); color: var(--muted); }
.field input,
.field textarea {
  display: block;
  width: 100%;
  font: 400 17px/1.5 var(--font-body);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--stone-3);
  border-radius: 0;
  padding: 10px 0;
  outline: none;
  transition: border-color .3s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field textarea:focus { border-color: var(--olive-600); }
.field.is-invalid input { border-color: var(--terracotta); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 10px; position: relative; }
.form__status { min-height: 1.6em; margin: 16px 0 0; text-align: center; font-size: 15px; color: var(--olive-700); position: relative; }
.form__status.is-error { color: var(--terracotta); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--olive-900);
  color: rgba(245, 240, 230, .72);
  padding: clamp(60px, 7vw, 90px) 0 0;
  margin-top: clamp(64px, 11vw, 170px);
  font-size: 15.5px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__logo { height: 56px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 20px; }
.footer__brand p { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; max-width: 18rem; color: rgba(245, 240, 230, .8); }
.footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__col h3 {
  font-family: var(--font-caps);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .26em;
  color: var(--olive-200);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--white); }
.footer__tasceken img { width: 190px; filter: brightness(0) invert(1); opacity: .85; transition: opacity .3s; }
.footer__tasceken:hover img { opacity: 1; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(245, 240, 230, .12);
  font-size: 13px;
  color: rgba(245, 240, 230, .5);
}

/* ---------- Mobile CTA bar ---------- */
.cta-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(22, 25, 17, .96);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbIn .35s var(--ease);
  touch-action: pan-y;
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox__stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 90px; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .3s; }
.lightbox__img.is-loading { opacity: .25; }
.lightbox button {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: var(--stone);
  cursor: pointer;
  opacity: .8;
  transition: opacity .3s;
}
.lightbox button:hover { opacity: 1; }
.lightbox button svg { width: 28px; height: 28px; }
.lightbox__close { top: max(10px, env(safe-area-inset-top)); right: 10px; width: 52px; height: 52px; }
.lightbox__nav { top: 50%; width: 64px; height: 96px; margin-top: -48px; }
.lightbox__prev { left: 8px; }
.lightbox__next { right: 8px; }
.lightbox__count {
  position: absolute;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  font-family: var(--font-caps);
  font-size: 12px;
  letter-spacing: .3em;
  color: rgba(245, 240, 230, .7);
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav__list { gap: 26px; }
  .nav { gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header.is-solid { --header-h: 64px; }
  .header__logo img { height: 44px; }
  .header.is-solid .header__logo img { height: 40px; }

  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 36px;
    padding: calc(var(--header-h) + 20px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--stone);
    color: var(--olive-900);
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
    overflow-y: auto;
  }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__list a {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 9vw, 3rem);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.25;
    display: inline-block;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
  }
  .nav__list a::after { display: none; }
  .nav__catalog { color: var(--olive-800); }
  .nav__mobile-foot {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: auto;
    font-size: 16px;
    color: var(--muted);
  }
  .nav__mobile-foot .meander { color: var(--bronze); opacity: .5; margin-bottom: 18px; }

  .menu-open { overflow: hidden; }
  .menu-open .header { color: var(--olive-900); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open .header__logo img { filter: none; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav__list a { opacity: 1; transform: none; }
  .menu-open .nav__list li:nth-child(2) a { transition-delay: .06s; }
  .menu-open .nav__list li:nth-child(3) a { transition-delay: .12s; }
  .menu-open .nav__list li:nth-child(4) a { transition-delay: .18s; }
  .menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

  .project__grid,
  .place__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .project__media { max-width: 560px; width: 100%; margin: 0 auto; }
  .place__grid .arch--place { max-width: 460px; width: 100%; margin: 0 auto; aspect-ratio: 5 / 6; }
  .place__text { order: 2; }

  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--stone-3); }
  .pillar { padding: 40px 8px; }

  .location__grid { grid-template-columns: 1fr; }
  .location__map { min-height: 360px; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 40vw; gap: 10px; }
  .gallery__grid li.is-tall { grid-row: span 1; }
  .gallery__grid li.is-big { grid-row: span 1; }

  .contact__branch { display: none; }

  /* Sticky CTA bar */
  .cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(245, 240, 230, .96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 -1px 0 rgba(65, 75, 48, .12);
    transform: translateY(110%);
    transition: transform .45s var(--ease);
  }
  .cta-bar.is-visible { transform: none; }
  .lb-open .cta-bar, .menu-open .cta-bar { transform: translateY(110%); }
  .cta-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    font-family: var(--font-caps);
    font-size: 12.5px;
    letter-spacing: .2em;
    border: 1px solid var(--olive-700);
    color: var(--olive-800);
    border-radius: var(--radius);
  }
  .cta-bar__btn svg { width: 16px; height: 16px; }
  .cta-bar__btn--primary { background: var(--olive-800); border-color: var(--olive-800); color: var(--stone); }
  .footer { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { align-items: flex-end; }
  .hero__veil {
    background:
      linear-gradient(0deg, rgba(28, 32, 22, .85) 0%, rgba(28, 32, 22, .55) 45%, rgba(28, 32, 22, .15) 75%),
      linear-gradient(180deg, rgba(28, 32, 22, .5) 0%, rgba(28, 32, 22, 0) 25%);
  }
  .hero__media img { object-position: 30% 50%; }
  .hero__content { padding-bottom: clamp(96px, 26vw, 140px); }
  .hero__title { font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
  .hero__lead { margin-bottom: 30px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__actions .btn { padding: 0 12px; letter-spacing: .16em; }
  .hero__scroll { display: none; }
  .hero__branch { top: 90px; right: -90px; width: 300px; }

  .stats__list { grid-template-columns: 1fr 1fr; padding: 22px 0; }
  .stats__list li { padding: 20px 8px; }
  .stats__list li + li::before { display: none; }
  .stats__list li:nth-child(even)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--stone-3);
  }
  .stats__list li:nth-child(n+3) { border-top: 1px solid var(--stone-3); }
  .stats__list span { font-size: 10.5px; letter-spacing: .22em; }

  .project__media { padding-bottom: 50px; }
  .arch--tall { width: 82%; }
  .project__inset { width: 52%; border-width: 6px; }
  .project__sprig { width: 100px; top: -24px; }

  .landscape { min-height: 0; display: block; padding: 0 0 var(--section-y); }
  .landscape__img { position: relative; height: 300px; }
  .landscape::after { display: none; }
  .landscape__card { margin-top: -60px; max-width: none; }

  .gallery__filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 0 calc(var(--gutter) * -1) 28px;
    padding: 2px var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gallery__filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .gallery__grid { grid-auto-rows: 44vw; }
  .gallery__grid li.is-wide,
  .gallery__grid li.is-big { grid-column: span 2; grid-row: span 1; }
  .gallery__grid li.is-big { grid-row: span 1; }

  .place__branch { width: 300px; right: -110px; top: 30px; }
  .legend p { font-size: 1.55rem; }

  .location { padding-bottom: 0; }
  .location .container { padding: 0; width: 100%; max-width: none; }
  .location__grid { box-shadow: none; }
  .location__info { padding: 48px var(--gutter); }
  .location__map { min-height: 320px; }

  .form__row { grid-template-columns: 1fr; }
  .form { padding: 32px 22px; margin: 0 calc(var(--gutter) * -1 + 6px); }
  .contact__direct li { flex-direction: column; gap: 2px; }
  .contact__direct a { text-align: left; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer__brand, .footer__group { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 4px; }

  .lightbox__stage { padding: 60px 0; }
  .lightbox__nav { top: auto; bottom: max(4px, env(safe-area-inset-bottom)); margin-top: 0; height: 56px; }
  .lightbox__count { bottom: calc(max(4px, env(safe-area-inset-bottom)) + 20px); }
}

@media (hover: none) {
  .arch:hover img,
  .gallery__grid button:hover img,
  .film__player:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero__content > * { opacity: 1; transform: none; }
}
