/*
  Mahmatlı Köyü — site stilleri.
  Tasarım şablonundan uyarlanmıştır: 8B, https://github.com/8bsite/boutique-hotel-website-template
  MIT License (kod) · Yazı tipleri: Host Grotesk ve Source Serif 4 (SIL OFL 1.1), /fonts altında barındırılır.
  Ayrıntılar: /lisanslar/
*/

/* ---------- Fonts (self-hosted; latin + latin-ext for Turkish) ---------- */
@font-face { font-family: 'Host Grotesk'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/host-grotesk-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Host Grotesk'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/host-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 300 400; font-display: swap; src: url(/fonts/source-serif-4-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 300 400; font-display: swap; src: url(/fonts/source-serif-4-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 300 400; font-display: swap; src: url(/fonts/source-serif-4-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 300 400; font-display: swap; src: url(/fonts/source-serif-4-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@layer tokens, base, atoms, layout, sections, scenes;

/* ---------- tokens ---------- */
@layer tokens {
:root {
  --color-1: #f3efea;
  --color-2: #191615;
  --color-3: #a3401a;
  --color-4: #67625d;
  --color-5: #fbfaf7;
  --font-1: "Source Serif 4", "Source Serif 4 Fallback", Georgia, "Times New Roman", serif;
  --font-2: "Host Grotesk", "Host Grotesk Fallback", Arial, "Helvetica Neue", sans-serif;
  --radius-1: 2px;
  --shadow-1: 0 0 0 1px color-mix(in srgb, var(--color-2) 4%, transparent), 0 10px 34px color-mix(in srgb, var(--color-3) 13%, transparent);
  --shadow-2: 0 0 0 7px var(--color-5);
  --space-1: clamp(16px, 2.4vw, 32px);
  --space-2: clamp(96px, 15vh, 190px);
  --rule: 1px solid color-mix(in srgb, var(--color-2) 14%, transparent);
  color-scheme: light;
}
}

/* ---------- base ---------- */
@layer base {
@font-face { font-family: "Source Serif 4 Fallback"; src: local("Georgia"); font-weight: 100 549; size-adjust: 92.4%; ascent-override: 112.5%; descent-override: 36.8%; line-gap-override: 0%; }
@font-face { font-family: "Host Grotesk Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); font-weight: 100 549; size-adjust: 99.3%; ascent-override: 102.7%; descent-override: 32.2%; line-gap-override: 0%; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--color-1); color: var(--color-2); font-family: var(--font-1); font-size: 17px; font-weight: 400; line-height: 1.55; letter-spacing: 0; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip { position: fixed; left: var(--space-1); top: -80px; z-index: 100; padding: 12px 18px; background: var(--color-2); color: var(--color-5); font-family: var(--font-2); text-decoration: none; }
.skip:focus { top: var(--space-1); }
.skip:focus-visible { outline-color: var(--color-2); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
main { overflow-x: clip; }
}

/* ---------- atoms ---------- */
@layer atoms {
.m-text { font-family: var(--font-1); font-size: 17px; font-weight: 400; line-height: 1.55; letter-spacing: 0; text-transform: none; font-style: normal; }
.m-text-2 { font-family: var(--font-1); font-size: clamp(38px, 6.2vw, 96px); font-weight: 300; line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase; font-style: normal; }
.m-text-3 { font-family: var(--font-2); font-size: clamp(21px, 2.3vw, 32px); font-weight: 500; line-height: 1.16; letter-spacing: -.02em; text-transform: none; font-style: normal; }
.m-text-4 { font-family: var(--font-2); font-size: 12.5px; font-weight: 500; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; font-style: normal; }
.m-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--radius-1); background: var(--color-5); color: var(--color-2); box-shadow: var(--shadow-1); font-family: var(--font-2); font-size: 12.5px; font-weight: 500; line-height: 1; letter-spacing: .08em; text-transform: uppercase; font-style: normal; text-decoration: none; white-space: nowrap; cursor: pointer; transition: color .4s cubic-bezier(.6, 0, .2, 1); }
.m-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-2); clip-path: inset(32% 50% 32% 50%); transition: clip-path .55s cubic-bezier(.7, 0, .2, 1); }
.m-btn__label { position: relative; }
.m-btn:focus-visible { outline: 2px solid var(--color-2); outline-offset: 3px; box-shadow: var(--shadow-2); }
.m-btn[aria-pressed="true"] { color: var(--color-5); }
.m-btn[aria-pressed="true"]::before { clip-path: inset(0 0 0 0); }
@media (hover: hover) {
  .m-btn:hover { color: var(--color-5); }
  .m-btn:hover::before { clip-path: inset(0 0 0 0); }
}
.m-btn-2 { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 0; border-radius: var(--radius-1); background: var(--color-2); color: var(--color-5); font-family: var(--font-2); font-size: 12.5px; font-weight: 500; line-height: 1; letter-spacing: .08em; text-transform: uppercase; font-style: normal; text-decoration: none; white-space: nowrap; cursor: pointer; transition: color .4s cubic-bezier(.6, 0, .2, 1); }
.m-btn-2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-3); clip-path: inset(32% 50% 32% 50%); transition: clip-path .55s cubic-bezier(.7, 0, .2, 1); }
.m-btn-2__label { position: relative; }
.m-btn-2:focus-visible { outline: 2px solid var(--color-2); outline-offset: 3px; }
@media (hover: hover) {
  .m-btn-2:hover::before { clip-path: inset(0 0 0 0); }
}
.m-link { position: relative; color: inherit; text-decoration: none; background: linear-gradient(color-mix(in srgb, currentColor 38%, transparent), color-mix(in srgb, currentColor 38%, transparent)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
.m-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
@media (hover: hover) {
  .m-link:hover::after { transform: scaleX(1); }
}
.m-icon-btn { position: relative; flex: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--radius-1); background: var(--color-5); color: var(--color-2); box-shadow: var(--shadow-1); cursor: pointer; }
.m-icon-btn__bar { position: absolute; left: 14px; top: 23px; width: 20px; height: 2px; background: currentColor; transition: translate .45s cubic-bezier(.7, 0, .2, 1); }
.m-icon-btn__bar:first-child { rotate: 45deg; }
.m-icon-btn__bar:last-child { rotate: -45deg; }
@media (hover: hover) {
  .m-icon-btn:hover .m-icon-btn__bar:first-child { translate: -4px 0; }
  .m-icon-btn:hover .m-icon-btn__bar:last-child { translate: 4px 0; }
}
.m-icon-btn--arrow .m-icon-btn__bar { width: 14px; left: 17px; }
.m-icon-btn--prev .m-icon-btn__bar:first-child { top: 19px; rotate: -45deg; }
.m-icon-btn--prev .m-icon-btn__bar:last-child { top: 27px; rotate: 45deg; }
.m-icon-btn--next .m-icon-btn__bar:first-child { top: 19px; rotate: 45deg; }
.m-icon-btn--next .m-icon-btn__bar:last-child { top: 27px; rotate: -45deg; }
@media (hover: hover) {
  .m-icon-btn--arrow:hover .m-icon-btn__bar:first-child, .m-icon-btn--arrow:hover .m-icon-btn__bar:last-child { translate: 0 0; }
}
.m-surface { background: var(--color-5); color: var(--color-2); border-radius: var(--radius-1); box-shadow: var(--shadow-1); padding: clamp(18px, 2vw, 28px); }
.m-note { color: var(--color-4); font-family: var(--font-2); font-size: 14px; line-height: 1.45; }
.m-note::before { content: "Not · "; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 11.5px; }
}

/* ---------- layout ---------- */
@layer layout {
.ph { position: relative; overflow: hidden; background: color-mix(in srgb, var(--color-2) 8%, var(--color-1)); }
.ph__in { position: absolute; inset: -7% 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.wrap { padding-inline: var(--space-1); }
.cap { display: grid; gap: 4px; color: var(--color-4); }
.cap__credit { font-family: var(--font-2); font-size: 12px; letter-spacing: .02em; color: var(--color-4); }
}

/* ---------- navigation ---------- */
@layer sections {
#navigation { position: fixed; inset: 0 0 auto 0; z-index: 50; pointer-events: none; }
#navigation .nav__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; padding: var(--space-1); transition: transform .5s cubic-bezier(.6, 0, .2, 1); }
#navigation[data-hidden] .nav__bar { transform: translateY(-140%); }
#navigation .nav__bar > * { pointer-events: auto; }
#navigation .nav__menu { justify-self: start; }
#navigation .nav__cta { justify-self: end; }
#navigation .nav__logo { justify-self: center; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px 0 10px; border-radius: var(--radius-1); background: var(--color-5); box-shadow: var(--shadow-1); color: var(--color-2); text-decoration: none; }
#navigation .nav__logo img { width: 56px; height: auto; }
#navigation .nav__logo-word { font-family: var(--font-1); font-size: 22px; font-weight: 400; line-height: 1; letter-spacing: .14em; text-transform: uppercase; }
#navigation .menu { position: fixed; inset: 0; z-index: 2; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; padding: var(--space-1); background: var(--color-1); color: var(--color-2); overflow-y: auto; pointer-events: auto; }
#navigation .menu__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#navigation .menu__head .m-text-4 { color: var(--color-4); }
#navigation .menu nav { display: grid; align-content: center; }
#navigation .menu__list { display: grid; align-content: center; justify-items: center; gap: clamp(6px, 1.4vh, 14px); text-align: center; }
#navigation .menu__link { font-size: clamp(30px, 6vh, 64px); }
#navigation .menu__link[aria-current="page"] { color: var(--color-3); }
#navigation .menu__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; text-align: center; color: var(--color-4); }
#navigation .menu__foot a { color: var(--color-2); }
@media (max-width: 640px) {
  #navigation .nav__logo img { display: none; }
  #navigation .nav__logo { padding: 0 14px; }
}
@media (max-width: 520px) {
  #navigation .nav__bar { grid-template-columns: auto 1fr auto; gap: 8px; }
  #navigation .nav__bar > .m-btn { padding: 0 14px; }
  #navigation .nav__logo { padding: 0 12px; }
  #navigation .nav__logo-word { font-size: 18px; letter-spacing: .1em; }
  #navigation .menu__link { font-size: clamp(28px, 5.2vh, 44px); }
}
@media (max-width: 359px) {
  #navigation .nav__cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #navigation .nav__bar { transition: none; }
}
}

/* ---------- opening (home hero) ---------- */
@layer sections {
#opening { --opening-win-w: clamp(170px, 18vw, 270px); --opening-win-h: clamp(112px, 17svh, 164px); --opening-gap: clamp(14px, 2.2svh, 24px); --opening-fs: min(7.6vw, 10.6svh); position: relative; color: var(--color-2); }
#opening .opening__stage { position: absolute; top: 0; left: 0; z-index: 0; width: 100%; height: 100svh; pointer-events: none; }
#opening .opening__view { --opening-p: 0; position: absolute; inset: 0; overflow: hidden; background: var(--color-2); clip-path: inset(calc((50% - var(--opening-win-h) / 2) * (1 - var(--opening-p))) calc((50% - var(--opening-win-w) / 2) * (1 - var(--opening-p)))); }
#opening .opening__zoom { position: absolute; inset: 0; transform: scale(1.18); }
#opening .opening__drift { position: absolute; inset: 0 -48px; }
#opening .opening__drift img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
#opening .opening__scrim { position: absolute; inset: 0; opacity: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-2) 88%, transparent) 0%, color-mix(in srgb, var(--color-2) 62%, transparent) 42%, color-mix(in srgb, var(--color-2) 18%, transparent) 72%, transparent 100%); }
#opening .opening__first { position: relative; z-index: 1; height: 100svh; min-height: 560px; }
#opening .opening__title { font-size: var(--opening-fs); text-align: center; }
#opening .opening__upper, #opening .opening__lower { position: absolute; left: var(--space-1); right: var(--space-1); display: block; }
#opening .opening__upper { bottom: calc(50% + var(--opening-win-h) / 2 + var(--opening-gap)); }
#opening .opening__lower { top: calc(50% + var(--opening-win-h) / 2 + var(--opening-gap)); }
#opening .opening__line { display: block; }
#opening .opening__title em { font-style: italic; text-transform: none; letter-spacing: -.02em; }
#opening .opening__after { position: absolute; left: var(--space-1); right: var(--space-1); top: calc(50% + var(--opening-win-h) / 2 + var(--opening-gap) * 2.4 + var(--opening-fs) * .95); display: grid; justify-items: center; gap: 20px; text-align: center; }
#opening .opening__lede { max-width: 46ch; }
#opening .opening__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; }
#opening .opening__actions .m-link { font-family: var(--font-2); font-size: 15px; font-weight: 500; }
#opening .opening__second { position: relative; z-index: 1; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(22px, 3.4vh, 36px); padding: 120px var(--space-1) 9svh; background: var(--color-2); color: var(--color-5); }
#opening .opening__statement { max-width: 24ch; font-size: clamp(28px, 3.7vw, 54px); }
#opening .opening__facts { display: flex; flex-wrap: wrap; gap: 10px 40px; max-width: 980px; }
#opening .opening__facts li { padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--color-5) 45%, transparent); }
@media (max-width: 640px) {
  #opening { --opening-win-w: min(62vw, 250px); --opening-win-h: min(30svh, 260px); --opening-gap: 14px; --opening-fs: min(10.4vw, 6.2svh); }
  #opening .opening__facts { flex-direction: column; gap: 12px; }
  #opening .opening__lede { font-size: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  #opening .opening__drift { animation: opening-drift 7s ease-in-out infinite alternate; }
  #opening .opening__drift[data-paused] { animation-play-state: paused; }
}
@keyframes opening-drift { from { transform: translate3d(-40px, 0, 0); } to { transform: translate3d(40px, 0, 0); } }
}

/* ---------- house (Köyümüz) ---------- */
@layer sections {
#hakkinda { padding: var(--space-2) var(--space-1); background: var(--color-1); }
.house__kicker { display: block; margin-bottom: 22px; color: var(--color-3); text-align: center; }
.house__title { max-width: 11em; margin: 0 auto; text-align: center; }
.house__statement { max-width: 32ch; margin: clamp(28px, 5vh, 52px) auto 0; text-align: center; }
.house__ledger { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(16px, 2.2vw, 36px); align-items: end; margin-top: clamp(64px, 11vh, 124px); }
.house__entry { display: grid; gap: 14px; }
.house__entry .cap { max-width: 34ch; }
.house__entry:nth-child(1) .ph { aspect-ratio: 7357 / 2516; }
.house__entry:nth-child(2) .ph { aspect-ratio: 4 / 5; }
.house__entry:nth-child(3) .ph { aspect-ratio: 1; }
.house__body { max-width: 900px; margin: clamp(56px, 9vh, 96px) auto 0; columns: 2 300px; column-gap: clamp(24px, 3.4vw, 56px); }
.house__body p + p { margin-top: 1em; }
.house__more { display: flex; justify-content: center; margin-top: clamp(40px, 6vh, 64px); }
@media (max-width: 760px) {
  .house__ledger { grid-template-columns: 1fr 1fr; align-items: start; }
  .house__entry:nth-child(1) { grid-column: 1 / -1; }
  .house__entry:nth-child(3) { margin-top: 56px; }
}
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--space-1); max-width: 1180px; margin: clamp(64px, 10vh, 120px) auto 0; }
.values li { display: grid; align-content: start; gap: 12px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--color-2) 22%, transparent); }
.values .m-text-4 { color: var(--color-3); }
@media (max-width: 760px) {
  .values { grid-template-columns: 1fr; }
}
}

/* ---------- rooms → places ---------- */
@layer sections {
#rooms { position: relative; padding-top: var(--space-2); background: var(--color-1); }
#rooms .rooms__lede { max-width: 26ch; margin: 0 auto clamp(40px, 7vh, 72px); padding: 0 var(--space-1); text-align: center; }
#rooms .rooms__kicker { display: block; margin-bottom: 18px; color: var(--color-3); }
#rooms .rooms__stage { position: relative; }
#rooms .rooms__line { padding: 0 var(--space-1) clamp(36px, 6vh, 64px); font-size: clamp(38px, 7.2vw, 116px); text-align: center; }
#rooms .rooms__panels { display: grid; }
#rooms .rooms__panel { position: relative; isolation: isolate; height: 100svh; min-height: 600px; overflow: hidden; }
#rooms .rooms__ph { position: absolute; inset: 0; overflow: hidden; background: var(--color-2); }
#rooms .rooms__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
#rooms .rooms__facts { position: absolute; top: 22svh; right: var(--space-1); z-index: 1; display: grid; gap: 12px; width: min(400px, calc(100% - 2 * var(--space-1))); }
#rooms .rooms__kind { color: var(--color-3); }
#rooms .rooms__name-h { font-size: clamp(24px, 2.3vw, 30px); }
#rooms .rooms__facts .m-link { justify-self: start; margin-top: 4px; font-family: var(--font-2); font-size: 15px; font-weight: 500; }
@media (max-width: 640px) {
  #rooms .rooms__facts { top: 17svh; left: var(--space-1); right: var(--space-1); width: auto; gap: 10px; }
  #rooms .rooms__facts .m-text { font-size: 15.5px; line-height: 1.45; }
}
}

/* ---------- hours → timeline ---------- */
@layer sections {
.hours { padding-top: var(--space-2); overflow-x: clip; background: var(--color-1); color: var(--color-2); }
.hours__head { display: grid; justify-items: center; gap: 22px; margin: 0 auto clamp(40px, 7vh, 72px); padding: 0 var(--space-1); text-align: center; }
.hours__head .m-text-4 { color: var(--color-3); }
.hours__title { max-width: 11em; }
.hours__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4fr); align-content: center; gap: 18px var(--space-1); min-height: 72svh; padding: 56px var(--space-1); background: var(--hours-ground); color: var(--hours-ink); }
.hours__time { grid-row: span 2; padding-top: .7em; }
.hours__what { font-size: clamp(38px, 7vw, 116px); }
.hours__note { max-width: 50ch; font-size: clamp(17px, 1.5vw, 20px); }
.hours__foot { padding: clamp(48px, 8vh, 88px) var(--space-1) 0; display: flex; justify-content: center; }
@media (max-width: 640px) {
  .hours__row { grid-template-columns: 1fr; min-height: 64svh; }
  .hours__time { grid-row: auto; padding-top: 0; }
}
/* interactive period bar (Tarih page) */
.tl-nav { position: sticky; bottom: 14px; z-index: 20; display: flex; justify-content: center; margin-top: 14px; padding: 0 var(--space-1); pointer-events: none; }
.tl-nav__in { position: relative; max-width: 100%; overflow: hidden; padding: 6px; border-radius: var(--radius-1); background: var(--color-5); box-shadow: var(--shadow-1); pointer-events: auto; }
.tl-nav ol { display: flex; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tl-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--radius-1); font-family: var(--font-2); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; color: var(--color-4); transition: background-color .3s, color .3s; }
.tl-nav a[aria-current="step"] { background: var(--color-2); color: var(--color-5); }
@media (hover: hover) { .tl-nav a:hover { color: var(--color-2); background: var(--color-1); } .tl-nav a[aria-current="step"]:hover { background: var(--color-2); color: var(--color-5); } }
.tl-nav__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--color-3); transform-origin: 0 50%; transform: scaleX(var(--tl-p, 0)); }
@media (max-width: 420px) { .tl-nav a { padding: 0 10px; font-size: 13px; } }
}

/* ---------- table → culture ---------- */
@layer sections {
.table { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--color-1); }
.table__held { position: sticky; top: 0; height: 100svh; }
.table__held .ph { height: 100%; }
.table__col { display: grid; align-content: start; gap: clamp(40px, 6.5vh, 72px); padding: var(--space-2) var(--space-1); }
.table__col > .m-text-4 { color: var(--color-3); margin-bottom: -24px; }
.table__title { max-width: 9em; }
.table__menu { border-top: var(--rule); }
.table__menu li { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr); gap: 6px 20px; padding: 20px 0; border-bottom: var(--rule); }
.table__menu .m-text-4 { padding-top: .3em; color: var(--color-2); }
.table__dishes { display: grid; gap: 18px; }
.table__dishes h3 { color: var(--color-4); }
.dishes { display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--font-1); font-size: clamp(30px, 3.4vw, 52px); font-weight: 300; line-height: 1.1; letter-spacing: -.01em; }
.dishes li:not(:last-child)::after { content: "·"; margin: 0 .32em; color: var(--color-3); }
.table__col > .m-btn, .table__col > .m-link { justify-self: start; }
@media (max-width: 860px) {
  .table { grid-template-columns: 1fr; }
  .table__held { position: relative; height: 64svh; }
  .table__menu li { grid-template-columns: 1fr; }
}
@media (min-width: 861px) {
  .table__held [data-8b-motion~="drift"] { --motion-drift-end: cover 200svh; }
}
}

/* ---------- sea → seasons ---------- */
@layer sections {
#mevsimler { padding: var(--space-2) var(--space-1); background: var(--color-1); }
.sea__head { display: grid; justify-items: center; gap: 22px; margin: 0 auto clamp(48px, 8vh, 88px); text-align: center; }
.sea__head .m-text-4 { color: var(--color-3); }
.sea__title { max-width: 11em; }
.sea__stack { display: grid; gap: 8svh; padding-bottom: 4svh; }
.sea__plate { position: sticky; top: 11svh; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); height: 76svh; min-height: 460px; overflow: hidden; border-radius: var(--radius-1); background: var(--color-5); box-shadow: var(--shadow-1); transform-origin: 50% 0; }
.sea__plate:nth-child(2) { top: calc(11svh + 18px); }
.sea__plate:nth-child(3) { top: calc(11svh + 36px); }
.sea__plate:nth-child(4) { top: calc(11svh + 54px); }
.sea__ph { position: relative; overflow: hidden; }
.sea__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sea__text { display: grid; align-content: space-between; gap: 24px; padding: clamp(22px, 3vw, 48px); }
.sea__when { color: var(--color-3); }
.sea__name { font-size: clamp(36px, 4.6vw, 72px); }
.sea__body { display: grid; gap: 14px; }
.sea__body .m-text { font-size: clamp(17px, 1.4vw, 19px); }
.sea__cap { color: var(--color-4); }
.sea__note { max-width: 60ch; margin: clamp(32px, 5vh, 56px) auto 0; text-align: center; }
@media (max-width: 760px) {
  .sea__plate { grid-template-columns: 1fr; grid-template-rows: minmax(0, 48%) minmax(0, 1fr); height: 78svh; min-height: 500px; top: 9svh; }
  .sea__plate:nth-child(2) { top: calc(9svh + 12px); }
  .sea__plate:nth-child(3) { top: calc(9svh + 24px); }
  .sea__plate:nth-child(4) { top: calc(9svh + 36px); }
  .sea__text { gap: 14px; padding: 20px; }
  .sea__body .m-text { font-size: 15.5px; line-height: 1.45; }
}
}

/* ---------- harbour → photo field ---------- */
@layer sections {
#galeri { padding: var(--space-2) var(--space-1); overflow-x: clip; background: var(--color-1); }
.harbour__head { display: grid; justify-items: center; gap: 22px; text-align: center; }
.harbour__head .m-text-4 { color: var(--color-3); }
.harbour__title { max-width: 11em; }
.harbour__lede { max-width: 44ch; margin: clamp(24px, 4vh, 40px) auto 0; text-align: center; }
.harbour__field { position: relative; margin-top: clamp(56px, 10vh, 110px); }
.harbour__label { position: sticky; top: 50svh; z-index: 2; display: flex; align-items: center; justify-content: center; height: 0; }
.harbour__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(48px, 9vh, 96px) clamp(24px, 6.4vw, 120px); }
.harbour__tile a { display: grid; gap: 10px; text-decoration: none; }
.harbour__ph { aspect-ratio: 4 / 5; overflow: hidden; background: color-mix(in srgb, var(--color-2) 8%, var(--color-1)); }
.harbour__ph img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s cubic-bezier(.2, .7, .2, 1); }
.harbour__tile .m-text-4 { color: var(--color-4); }
@media (hover: hover) { .harbour__tile a:hover img { scale: 1.04; } }
@media (max-width: 760px) {
  .harbour__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 16px; }
  .harbour__tile .m-text-4 { font-size: 10.5px; letter-spacing: .06em; }
}
@media (max-width: 420px) {
  .harbour__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
}

/* ---------- faq → editorial split ---------- */
@layer sections {
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px clamp(32px, 6vw, 110px); padding: var(--space-2) var(--space-1); background: var(--color-1); }
.split__intro { position: sticky; top: 120px; display: grid; gap: 26px; align-self: start; }
.split__intro > .m-text-4:first-child { color: var(--color-3); }
.split__title { max-width: 8em; }
.split__body { display: grid; gap: 1.1em; align-content: start; padding-top: 18px; border-top: var(--rule); }
.split__body .m-text-3 { max-width: 34ch; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__intro { position: static; }
}
}

/* ---------- guestbook → mission ---------- */
@layer sections {
#amac { padding: var(--space-2) var(--space-1); overflow-x: clip; background: var(--color-1); text-align: center; }
.guestbook__quote { font-size: clamp(30px, 6.6vw, 112px); line-height: .92; }
.guestbook__line { display: block; }
.guestbook__sign { display: grid; justify-items: center; gap: 14px; margin-top: clamp(32px, 6vh, 56px); }
.guestbook__sign h2 { color: var(--color-4); }
}

/* ---------- contact → location ---------- */
@layer sections {
#ulasim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px clamp(32px, 6vw, 110px); padding: var(--space-2) var(--space-1); background: var(--color-1); }
.contact__intro { display: grid; align-content: start; gap: 30px; }
.contact__intro > .m-text-4:first-child { color: var(--color-3); margin-bottom: -8px; }
.contact__title { max-width: 8em; }
.contact__lines { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 26px; align-items: baseline; }
.contact__lines dt { color: var(--color-4); }
.contact__lines dd { font-family: var(--font-2); font-size: 17px; font-weight: 500; }
.contact__lines dd .m-note { display: block; margin-top: 4px; font-weight: 400; }
.contact__ways li { display: grid; gap: 4px; padding: 16px 0; border-top: var(--rule); }
.contact__ways .m-text-4 { color: var(--color-4); }
.contact__card { display: grid; gap: 26px; align-content: start; align-self: start; position: sticky; top: 110px; }
.contact__coords { font-family: var(--font-1); font-weight: 300; font-size: clamp(34px, 4.4vw, 64px); line-height: 1; letter-spacing: -.01em; }
.contact__coords span { display: block; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.contact__card .m-note { padding-top: 14px; border-top: var(--rule); }
@media (max-width: 860px) {
  #ulasim { grid-template-columns: 1fr; }
  .contact__card { position: static; }
}
}

/* ---------- page head (sub pages) ---------- */
@layer sections {
.page-head { display: grid; justify-items: center; gap: clamp(18px, 3vh, 28px); padding: calc(var(--space-1) + 44px + clamp(56px, 11vh, 120px)) var(--space-1) clamp(48px, 8vh, 96px); text-align: center; }
.page-head__kicker { color: var(--color-3); }
.page-head__title { max-width: 14em; }
.page-head__lede { max-width: 36ch; }
.page-head__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; margin-top: 8px; }
.page-photo { margin: 0 var(--space-1); }
.page-photo .ph { height: min(68svh, 760px); min-height: 280px; }
.page-photo .cap { margin-top: 12px; }
.page-photo--pano .ph { height: auto; min-height: 0; aspect-ratio: 7357 / 2516; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; color: var(--color-4); }
.crumbs a { color: var(--color-4); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 10px; color: color-mix(in srgb, var(--color-4) 60%, transparent); }
@media (max-width: 640px) {
  .page-photo .ph { height: 46svh; }
  .page-photo--pano .ph { height: auto; }
}
}

/* ---------- generic content blocks ---------- */
@layer sections {
.sect { padding: var(--space-2) var(--space-1); }
.sect--tight { padding-top: 0; }
.sect__head { display: grid; justify-items: center; gap: 22px; margin: 0 auto clamp(48px, 8vh, 88px); text-align: center; }
.sect__head .m-text-4 { color: var(--color-3); }
.sect__head .m-text-2 { max-width: 12em; }
.sect__head .m-text { max-width: 52ch; }
.prose { max-width: 680px; margin: 0 auto; display: grid; gap: 1.15em; }
.prose > .m-text, .prose > p { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.62; }
.prose--lead > p:first-child { font-family: var(--font-2); font-size: clamp(21px, 2.1vw, 28px); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.callout { padding: 18px 20px; border-left: 2px solid var(--color-3); background: color-mix(in srgb, var(--color-5) 70%, transparent); }
.callout .m-text-4 { display: block; margin-bottom: 6px; color: var(--color-3); }
.callout p { font-size: 16px; line-height: 1.55; }
/* facts */
.facts { display: grid; gap: clamp(56px, 9vh, 96px); max-width: 1180px; margin: 0 auto; }
.facts__group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 20px var(--space-1); }
.facts__group h3 { font-size: clamp(32px, 4vw, 60px); }
@media (min-width: 761px) { .facts__group h3 { position: sticky; top: 110px; align-self: start; } }
.facts__list { border-top: var(--rule); }
.facts__row { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 2.4fr); gap: 6px 20px; padding: 18px 0; border-bottom: var(--rule); }
.facts__row dt { padding-top: .35em; color: var(--color-4); }
.facts__row dd { display: grid; gap: 8px; font-family: var(--font-2); font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; line-height: 1.4; }
.facts__row .m-note { font-weight: 400; }
@media (max-width: 760px) {
  .facts__group { grid-template-columns: 1fr; }
  .facts__row { grid-template-columns: 1fr; }
}
/* cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vh, 56px) var(--space-1); max-width: 1380px; margin: 0 auto; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: grid; align-content: start; gap: 14px; }
.card .ph { aspect-ratio: 3 / 2; }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--color-4); }
.card__meta .is-cat { color: var(--color-3); }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card .m-link { justify-self: start; font-family: var(--font-2); font-size: 15px; font-weight: 500; }
.card .ph img { transition: scale .8s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .card:hover .ph img { scale: 1.035; } }
.card:focus-within { outline: 2px solid var(--color-2); outline-offset: 6px; }
.card:focus-within a:focus-visible { outline: none; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards, .cards--2 { grid-template-columns: 1fr; } }
/* next links */
.next { border-top: var(--rule); }
.next__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.next__list a { position: relative; display: grid; gap: 10px; min-height: 180px; align-content: space-between; padding: clamp(24px, 4vh, 40px) var(--space-1); border-right: var(--rule); text-decoration: none; transition: background-color .4s; }
.next__list li:last-child a { border-right: 0; }
.next__list .m-text-4 { color: var(--color-4); }
.next__list .m-text-3::after { content: " →"; color: var(--color-3); }
@media (hover: hover) { .next__list a:hover { background: var(--color-5); } }
@media (max-width: 760px) {
  .next__list { grid-template-columns: 1fr; }
  .next__list a { min-height: 0; border-right: 0; border-bottom: var(--rule); }
}
/* filters */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto; max-width: 1100px; }
.filters .m-btn { gap: 10px; }
.filters .m-btn small { font-size: 11px; opacity: .7; letter-spacing: .04em; }
.filters__status { margin-top: 18px; color: var(--color-4); text-align: center; }
.filters__text { max-width: 52ch; margin: 10px auto 0; text-align: center; color: var(--color-4); }
}

/* ---------- gallery page + lightbox ---------- */
@layer sections {
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(36px, 6vh, 64px) clamp(16px, 2.4vw, 36px); max-width: 1680px; margin: clamp(40px, 7vh, 72px) auto 0; }
.gal__item { display: grid; align-content: start; gap: 12px; scroll-margin-top: 110px; }
.gal__item--pano { grid-column: 1 / -1; }
.gal__open { display: block; width: 100%; padding: 0; border: 0; background: color-mix(in srgb, var(--color-2) 8%, var(--color-1)); cursor: zoom-in; overflow: hidden; border-radius: var(--radius-1); }
.gal__open img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: scale .8s cubic-bezier(.2, .7, .2, 1); }
.gal__item--pano .gal__open img { aspect-ratio: auto; }
@media (hover: hover) { .gal__open:hover img { scale: 1.03; } }
.gal__open:focus-visible { outline: 2px solid var(--color-2); outline-offset: 4px; }
.gal__cap { display: grid; gap: 4px; }
.gal__cap .m-text-4 { color: var(--color-4); }
.gal__cap strong { font-family: var(--font-2); font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
@media (max-width: 960px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gal { grid-template-columns: 1fr; } }

.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: color-mix(in srgb, var(--color-2) 96%, transparent); color: var(--color-5); overflow: hidden; }
.lightbox::backdrop { background: color-mix(in srgb, var(--color-2) 70%, transparent); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: var(--space-1); }
.lightbox__count { color: color-mix(in srgb, var(--color-5) 72%, transparent); }
.lightbox__stage { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0 var(--space-1); min-height: 0; }
.lightbox__fig { display: grid; place-items: center; height: 100%; min-height: 0; }
.lightbox__fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__fig--pano { overflow-x: auto; place-items: center start; }
.lightbox__fig--pano img { max-width: none; height: min(100%, 70svh); }
.lightbox__foot { display: grid; gap: 6px; padding: 18px var(--space-1) var(--space-1); text-align: center; }
.lightbox__title { font-family: var(--font-2); font-size: clamp(17px, 1.6vw, 22px); font-weight: 500; }
.lightbox__meta { color: color-mix(in srgb, var(--color-5) 72%, transparent); }
.lightbox .m-icon-btn { background: color-mix(in srgb, var(--color-5) 12%, transparent); color: var(--color-5); box-shadow: none; }
.lightbox .m-icon-btn:focus-visible { outline: 2px solid var(--color-5); outline-offset: 3px; }
@media (hover: hover) { .lightbox .m-icon-btn:hover { background: color-mix(in srgb, var(--color-5) 22%, transparent); } }
@media (max-width: 640px) {
  .lightbox__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; padding: 0; }
  .lightbox__fig { grid-row: 1; }
  .lightbox__nav { grid-row: 2; display: flex; justify-content: center; gap: 12px; padding-top: 12px; }
  .lightbox__stage > .lightbox__nav-prev, .lightbox__stage > .lightbox__nav-next { display: none; }
}
@media (min-width: 641px) { .lightbox__nav { display: none; } }
}

/* ---------- article ---------- */
@layer sections {
.article__head { padding-bottom: clamp(36px, 6vh, 64px); }
.article__head .page-head__title { font-size: clamp(36px, 5.4vw, 84px); max-width: 18ch; }
.article__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; color: var(--color-4); }
.article__meta .is-cat { color: var(--color-3); }
.article__body { padding: clamp(56px, 9vh, 104px) var(--space-1) var(--space-2); }
.article__body .prose { gap: 1.25em; }
.figure { margin: 1.2em calc(-1 * min(180px, (100vw - 680px) / 2 - var(--space-1))) ; display: grid; gap: 12px; }
.figure img { width: 100%; }
@media (max-width: 760px) { .figure { margin-inline: 0; } }
.mini-tl { display: grid; gap: 0; border-top: var(--rule); margin: .6em 0; }
.mini-tl li { display: grid; grid-template-columns: minmax(96px, 1fr) minmax(0, 3fr); gap: 6px 20px; padding: 22px 0; border-bottom: var(--rule); }
.mini-tl .m-text-4 { padding-top: .45em; color: var(--color-3); }
.mini-tl h3 { margin-bottom: 6px; }
@media (max-width: 520px) { .mini-tl li { grid-template-columns: 1fr; } }
.seasons-full { display: grid; gap: clamp(56px, 9vh, 96px); margin: 1em 0; }
.season { display: grid; gap: 18px; }
.season__head { display: grid; gap: 8px; }
.season__head .m-text-2 { font-size: clamp(36px, 4.4vw, 64px); }
.season__photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin-inline: calc(-1 * min(180px, (100vw - 680px) / 2 - var(--space-1))); }
.season__photos figure { display: grid; gap: 8px; }
.season__photos .ph { aspect-ratio: 3 / 2; }
@media (max-width: 760px) { .season__photos { margin-inline: 0; } }
}

/* ---------- map page ---------- */
@layer sections {
.map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px clamp(32px, 5vw, 96px); padding: 0 var(--space-1) var(--space-2); align-items: start; }
.map__info { display: grid; gap: 30px; }
.map__frame { position: relative; padding: 10px; }
.map__frame iframe { display: block; width: 100%; aspect-ratio: 4 / 3.2; height: auto; border: 0; background: color-mix(in srgb, var(--color-2) 6%, var(--color-1)); }
.map__frame .m-note { margin-top: 10px; padding: 0 4px 4px; }
@media (max-width: 860px) {
  .map { grid-template-columns: 1fr; }
  .map__frame iframe { aspect-ratio: 1; }
}
}

/* ---------- licence page ---------- */
@layer sections {
.licence { display: grid; gap: clamp(48px, 8vh, 88px); max-width: 860px; margin: 0 auto; }
.licence section { display: grid; gap: 16px; }
.licence pre { margin: 0; padding: 20px; overflow-x: auto; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.55; background: var(--color-5); box-shadow: var(--shadow-1); }
.licence ul { display: grid; gap: 8px; }
}

/* ---------- footer ---------- */
@layer sections {
#footer { overflow-x: clip; padding: clamp(80px, 12vh, 140px) var(--space-1) var(--space-1); background: var(--color-1); color: var(--color-2); border-top: var(--rule); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px var(--space-1); align-items: start; }
.footer__brand { display: grid; gap: 18px; max-width: 460px; }
.footer__brand img { width: 160px; height: auto; }
.footer__brand .m-text { color: var(--color-2); font-size: 16px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col .m-text-4 { color: var(--color-4); }
.footer__col a, .footer__col span { font-family: var(--font-2); font-size: 16px; font-weight: 400; justify-self: start; }
.footer__mark { margin-top: clamp(56px, 9vh, 110px); font-family: var(--font-1); font-weight: 300; line-height: .78; letter-spacing: -.01em; text-transform: uppercase; text-align: center; white-space: nowrap; font-size: min(36vw, calc((100vw - 2 * var(--space-1)) / (var(--len) * .6))); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(28px, 4vh, 44px); padding-top: 16px; border-top: var(--rule); color: var(--color-4); }
.footer__base a { color: var(--color-2); }
@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
}

/* ---------- motion kit (scroll-driven; only with data-8b-live) ---------- */
@layer scenes {
[data-8b-live] [data-8b-motion~="aperture"] { animation-name: motion-aperture-clippath; animation-duration: 1.1s; animation-delay: 0s; animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1); animation-fill-mode: both; animation-play-state: paused; }
[data-8b-live] [data-8b-motion~="aperture"].is-in { animation-play-state: running; }
[data-8b-live] [data-8b-motion~="aperture"] img { animation-name: motion-aperture-img-scale; animation-duration: 1.5s; animation-delay: 0s; animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1); animation-fill-mode: both; animation-play-state: paused; transform: none; }
[data-8b-live] [data-8b-motion~="aperture"].is-in img { animation-play-state: running; }
[data-8b-live] [data-8b-motion~="drift"] { view-timeline: --motion-drift block; view-timeline-inset: 0; }
[data-8b-live] [data-8b-motion~="drift"] .ph__in { animation-name: motion-drift-ph-in-translate; animation-timeline: --motion-drift; animation-range: cover 0% var(--motion-drift-end, cover 100%); animation-timing-function: linear; animation-fill-mode: both; transform: none; }
[data-8b-live] [data-8b-motion~="tide"] .line { --motion-tide-side: -1; animation-name: motion-tide; animation-duration: 1.1s; animation-delay: calc(var(--i) * .09s); animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1); animation-fill-mode: both; animation-play-state: paused; }
[data-8b-live] [data-8b-motion~="tide"] .line:nth-child(even) { --motion-tide-side: 1; }
[data-8b-live] [data-8b-motion~="tide"].is-in .line { animation-play-state: running; }
@keyframes motion-aperture-clippath { 0% { clip-path: inset(34% 32%); } 99.998% { clip-path: inset(0%); } 100% { clip-path: none; } }
@keyframes motion-aperture-img-scale { 0% { scale: 1.22; } 100% { scale: 1; } }
@keyframes motion-tide { 0% { translate: calc(var(--motion-tide-side) * min(90px, 7vw)) 0px; opacity: 0; } 100% { translate: 0px 0px; opacity: 1; } }
@keyframes motion-drift-ph-in-translate { 0% { translate: 0px -6%; } 100% { translate: 0px 6%; } }
}

/* scene: opening */
@property --opening-p { syntax: '<number>'; inherits: true; initial-value: 1; }
@layer scenes {
@media (prefers-reduced-motion: no-preference) {
  [data-8b-live] #opening .opening__stage { position: sticky; }
  [data-8b-live] #opening .opening__first { margin-top: -100svh; }
  [data-8b-live] #opening .opening__second { background: transparent; }
}
[data-8b-live] { --ease-power2-inout: linear(0, 0.0001, 0.0005, 0.0017, 0.004, 0.0078, 0.0135, 0.0214, 0.032, 0.0456, 0.0625, 0.0832, 0.108, 0.1373, 0.1715, 0.2109, 0.256, 0.3071, 0.3645, 0.4287, 0.5, 0.5713, 0.6355, 0.6929, 0.744, 0.7891, 0.8285, 0.8627, 0.892, 0.9168, 0.9375, 0.9544, 0.968, 0.9786, 0.9865, 0.9922, 0.996, 0.9983, 0.9995, 0.9999, 1); }
[data-8b-live] #opening { view-timeline: --opening-t1 block; view-timeline-inset: 0; }
[data-8b-live] #opening .opening__view { animation-name: opening-view-p; animation-timeline: --opening-t1; animation-timing-function: var(--ease-power2-inout); animation-fill-mode: both; }
[data-8b-live] #opening .opening__zoom { animation-name: opening-zoom-scale; animation-timeline: --opening-t1; animation-timing-function: linear; animation-fill-mode: both; transform: none; }
[data-8b-live] #opening .opening__upper, [data-8b-live] #opening .opening__lower, [data-8b-live] #opening .opening__after { animation-timeline: --opening-t1; animation-timing-function: linear; animation-fill-mode: both; transform: none; }
[data-8b-live] #opening .opening__scrim { animation-name: opening-scrim-opacity; animation-timeline: --opening-t1; animation-timing-function: linear; animation-fill-mode: both; }
@keyframes opening-view-p { 0% { --opening-p: 0; } 100% { --opening-p: 1; } }
@keyframes opening-zoom-scale { 0% { scale: 1.18; } 100% { scale: 1; } }
@keyframes opening-upper-translate { 0% { translate: 0px 0px; } 100% { translate: 0px -30vh; } }
@keyframes opening-lower-translate { 0% { translate: 0px 0px; } 100% { translate: 0px 90vh; } }
@keyframes opening-lower-opacity { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes opening-scrim-opacity { 0% { opacity: 0; } 100% { opacity: 1; } }
[data-8b-live] #opening .opening__view { animation-range: cover 100vh cover 158vh; }
[data-8b-live] #opening .opening__zoom { animation-range: cover 100vh cover 200vh; }
[data-8b-live] #opening .opening__upper { animation-name: opening-upper-translate; animation-range: cover 100vh cover 150vh; }
[data-8b-live] #opening .opening__lower, [data-8b-live] #opening .opening__after { animation-name: opening-lower-translate, opening-lower-opacity; }
[data-8b-live] #opening .opening__lower { animation-range: cover 100vh cover 150vh, cover 100vh cover 140vh; }
[data-8b-live] #opening .opening__after { animation-range: cover 100vh cover 150vh, cover 100vh cover 128vh; }
[data-8b-live] #opening .opening__scrim { animation-range: cover 130vh cover 170vh; }
}

/* scene: rooms (places) */
@layer scenes {
@media (prefers-reduced-motion: no-preference) {
  [data-8b-live] #rooms .rooms__track { height: calc(var(--rooms-n) * 100svh); }
  [data-8b-live] #rooms .rooms__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
  [data-8b-live] #rooms .rooms__stage::after { content: ""; position: absolute; inset: auto 0 0 0; z-index: 2; height: 48svh; background: linear-gradient(to top, color-mix(in srgb, var(--color-2) 90%, transparent), color-mix(in srgb, var(--color-2) 55%, transparent) 45%, transparent); pointer-events: none; }
  [data-8b-live] #rooms .rooms__panels { position: absolute; inset: 0; display: block; }
  [data-8b-live] #rooms .rooms__panel { position: absolute; inset: 0; height: auto; min-height: 0; }
  [data-8b-live] #rooms .rooms__line { position: absolute; left: 0; bottom: 0; z-index: 3; padding: 0 var(--space-1) 7svh; white-space: nowrap; text-align: left; color: color-mix(in srgb, var(--color-5) 55%, var(--color-2)); pointer-events: none; }
  [data-8b-live] #rooms .rooms__name { transition: color .5s cubic-bezier(.6, 0, .2, 1); }
  [data-8b-live] #rooms .rooms__name.is-current { color: var(--color-5); }
}
[data-8b-live] #rooms .rooms__track { --rooms-n: 3; }
[data-8b-live] #rooms .rooms__track { view-timeline: --rooms-t1 block; view-timeline-inset: 0; }
[data-8b-live] #rooms .rooms__panels > article:is(:nth-of-type(2), :nth-of-type(3)), [data-8b-live] #rooms .rooms__panels > article > .rooms__ph > img, [data-8b-live] #rooms .rooms__panels > article:nth-of-type(-n+2) > .rooms__facts, [data-8b-live] #rooms .rooms__line { animation-timeline: --rooms-t1; animation-fill-mode: both; }
[data-8b-live] #rooms .rooms__panels > article:nth-of-type(2) { animation-name: rooms-panel-clippath; animation-range: cover 100vh cover 50%; animation-timing-function: var(--ease-power2-inout); }
[data-8b-live] #rooms .rooms__panels > article:nth-of-type(2) > .rooms__ph > img { animation-name: rooms-img-translate; }
[data-8b-live] #rooms .rooms__panels > article > .rooms__ph > img { animation-range-start: cover 100vh; animation-range-end: cover calc(100% - 100vh); animation-timing-function: var(--ease-power2-inout); transform: none; }
[data-8b-live] #rooms .rooms__panels > article:last-of-type > .rooms__ph > img { animation-range-start: cover 50%; }
[data-8b-live] #rooms .rooms__panels > article:first-of-type > .rooms__ph > img { animation-range-end: cover 50%; }
[data-8b-live] #rooms .rooms__panels > article:nth-of-type(1) > .rooms__ph > img { animation-name: rooms-img-translate-2; }
[data-8b-live] #rooms .rooms__panels > article:nth-of-type(1) > .rooms__facts { animation-name: rooms-facts-opacity; animation-range: cover 100vh cover calc(22.5% + 55vh); animation-timing-function: cubic-bezier(0.3333, 0.6667, 0.6667, 1); }
[data-8b-live] #rooms .rooms__line { animation-range: cover 100vh cover calc(100% - 100vh); transform: none; }
[data-8b-live] #rooms .rooms__panels > article:nth-of-type(3) { animation-name: rooms-panel-clippath; animation-range: cover 50% cover calc(100% - 100vh); animation-timing-function: var(--ease-power2-inout); }
[data-8b-live] #rooms .rooms__panels > article:nth-of-type(3) > .rooms__ph > img { animation-name: rooms-img-translate-3; }
[data-8b-live] #rooms .rooms__panels > article:nth-of-type(2) > .rooms__facts { animation-name: rooms-facts-opacity; animation-range: cover 50% cover calc(72.5% - 45vh); animation-timing-function: cubic-bezier(0.3333, 0.6667, 0.6667, 1); }
@keyframes rooms-panel-clippath { 0% { clip-path: inset(0% 0% 0% 100%); } 99.998% { clip-path: inset(0%); } 100% { clip-path: none; } }
@keyframes rooms-img-translate { 0% { translate: 14% 0px; } 50% { translate: 0px 0px; } 100% { translate: -10% 0px; } }
@keyframes rooms-img-translate-2 { 0% { translate: 0px 0px; } 100% { translate: -10% 0px; } }
@keyframes rooms-facts-opacity { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rooms-line-translate { 0% { translate: 0px 0px; } 50% { translate: var(--rooms-x-1) 0px; } 100% { translate: var(--rooms-x-2) 0px; } }
@keyframes rooms-img-translate-3 { 0% { translate: 14% 0px; } 100% { translate: 0px 0px; } }
[data-8b-live] #rooms .rooms__line { animation-name: rooms-line-translate; animation-timing-function: var(--ease-power2-inout); }
/* photos wider than the panel need room for the sideways travel */
[data-8b-live] #rooms .rooms__ph img { width: 124%; max-width: none; margin-left: -12%; }
}

/* scene: timeline rows */
@layer scenes {
[data-8b-live] .hours__list > li { view-timeline: --hours-item block; view-timeline-inset: 0; }
[data-8b-live] .hours__list > li > .m-text-2 { animation-name: hours-what-translate; animation-timeline: --hours-item; animation-range: cover 0% cover 100%; animation-timing-function: linear; animation-fill-mode: both; transform: none; }
@keyframes hours-what-translate { 0% { translate: 4vw 0px; } 100% { translate: -4vw 0px; } }
}

/* scene: seasons (sea plates) */
@layer scenes {
[data-8b-live] #mevsimler { timeline-scope: --sea-t1, --sea-t2, --sea-t3; }
[data-8b-live] #mevsimler .sea__stack > article:nth-of-type(-n+3) { animation-name: sea-plate-scale, sea-plate-filter; animation-timing-function: linear; animation-fill-mode: both; transform: none; }
[data-8b-live] #mevsimler .sea__stack > article:nth-of-type(2) { view-timeline: --sea-t1 block; view-timeline-inset: 0; animation-timeline: --sea-t2; }
[data-8b-live] #mevsimler .sea__stack > article:nth-of-type(3) { view-timeline: --sea-t2 block; view-timeline-inset: 0; animation-timeline: --sea-t3; }
[data-8b-live] #mevsimler .sea__stack > article:nth-of-type(4) { view-timeline: --sea-t3 block; view-timeline-inset: 0; }
[data-8b-live] #mevsimler .sea__stack > article:nth-of-type(1) { animation-timeline: --sea-t1; }
@keyframes sea-plate-scale { 0% { scale: 1; } 100% { scale: 0.9; } }
@keyframes sea-plate-filter { 0% { filter: brightness(1); } 100% { filter: brightness(0.6); } }
@media (min-width: 761px) {
  [data-8b-live] #mevsimler .sea__stack > article:nth-of-type(2) { animation-range: cover 0% cover calc(100vh - 124px); }
  [data-8b-live] #mevsimler .sea__stack > article:nth-of-type(3) { animation-range: cover 0% cover calc(100vh - 142px); }
  [data-8b-live] #mevsimler .sea__stack > article:nth-of-type(1) { animation-range: cover 0% cover calc(100vh - 106px); }
}
@media (max-width: 760px) {
  [data-8b-live] #mevsimler .sea__stack > article:nth-of-type(2) { animation-range: cover 0% cover calc(100vh - 97.1px); }
  [data-8b-live] #mevsimler .sea__stack > article:nth-of-type(3) { animation-range: cover 0% cover calc(100vh - 109.1px); }
  [data-8b-live] #mevsimler .sea__stack > article:nth-of-type(1) { animation-range: cover 0% cover calc(100vh - 85.1px); }
}
}

/* scene: photo field */
@layer scenes {
[data-8b-live] #galeri .harbour__tile { view-timeline: --harbour-tile block; view-timeline-inset: 0; animation-name: harbour-tile-translate; }
[data-8b-live] #galeri .harbour__tile > a { animation-name: harbour-figure-scale; }
[data-8b-live] #galeri .harbour__tile, [data-8b-live] #galeri .harbour__tile > a { animation-timeline: --harbour-tile; animation-range: cover calc(50% - 42vh) cover calc(50% + 42vh); animation-timing-function: linear; animation-fill-mode: both; }
@keyframes harbour-tile-translate { 0% { translate: 0px 0px; animation-timing-function: cubic-bezier(0.3333, 0, 0.6667, 0.3333); } 50% { translate: calc(var(--harbour-side, 0) * min(7.5vw, 120px)) 0px; animation-timing-function: cubic-bezier(0.3333, 0.6667, 0.6667, 1); } 100% { translate: 0px 0px; } }
@keyframes harbour-figure-scale { 0% { scale: 1; animation-timing-function: cubic-bezier(0.3333, 0, 0.6667, 0.3333); } 50% { scale: calc(1 - .42 * var(--harbour-mid, 0)); animation-timing-function: cubic-bezier(0.3333, 0.6667, 0.6667, 1); } 100% { scale: 1; } }
}

/* scene: mission sentence */
@layer scenes {
[data-8b-live] #amac { view-timeline: --guestbook-t1 block; view-timeline-inset: 0; }
[data-8b-live] #amac .guestbook__line .w { --guestbook-d: calc(1 + (var(--guestbook-ln) - 1) * .12); --guestbook-a: calc(var(--guestbook-l) * .12 / var(--guestbook-d)); --guestbook-b: calc((var(--guestbook-l) * .12 + 1) / var(--guestbook-d)); display: inline-block; animation-name: guestbook-word-translate; animation-timeline: --guestbook-t1; animation-range: cover calc(15vh + var(--guestbook-a) * (50% - 20vh)) cover calc(15vh + var(--guestbook-b) * (50% - 20vh)); animation-timing-function: linear(0, 0.1426, 0.271, 0.3859, 0.488, 0.5781, 0.657, 0.7254, 0.784, 0.8336, 0.875, 0.9089, 0.936, 0.9571, 0.973, 0.9844, 0.992, 0.9966, 0.999, 0.9999, 1); animation-fill-mode: both; }
@keyframes guestbook-word-translate { 0% { translate: calc(clamp(-1, (var(--i) + .5 - var(--n) / 2) * 99, 1) * 30vw) 0px; } 100% { translate: 0px 0px; } }
}

/* scene: footer wordmark */
@layer scenes {
[data-8b-live] #footer .footer__mark { view-timeline: --footer-t1 block; view-timeline-inset: 0; animation-name: footer-mark-clippath, footer-mark-scale; animation-timeline: --footer-t1; animation-range: cover 0% cover calc(100% - 100vh); animation-timing-function: cubic-bezier(0.3333, 1, 0.6667, 1); animation-fill-mode: both; transform: none; }
@keyframes footer-mark-clippath { 0% { clip-path: inset(0% 40%); } 99.998% { clip-path: inset(0%); } 100% { clip-path: none; } }
@keyframes footer-mark-scale { 0% { scale: 1.12; } 100% { scale: 1; } }
}
