/* =========================================================================
   Ankara Ofis — editorial / architectural design system

   Ideas the whole site is built on:
   · paper-coloured ground, ink type, hairline rules instead of shadows
   · one display serif (Fraunces) carrying every headline, at large sizes
   · numbered section headers, asymmetric two-column grids
   · photography bleeds to the viewport edge
   Mobile-first; nothing below relies on a viewport wider than 360px.
   ========================================================================= */

/* ----------------------------------------------------------------- tokens */
:root {
  /* ground + ink */
  --paper: #fbf9f6;
  --paper-deep: #f2ede5;
  --paper-card: #ffffff;
  --ink: #0e1a26;
  --ink-soft: #46515e;
  --ink-mute: #7d8793;

  /* brand */
  --navy: #0f2a43;
  --navy-deep: #0a1d2f;
  --navy-soft: #1d466d;
  --accent: #b08d2b;
  --accent-bright: #d9b545;
  --accent-wash: #f6eeda;

  /* lines */
  --rule: #e2dad0;
  --rule-strong: #cfc4b6;
  --rule-dark: rgba(255, 255, 255, .16);

  /* status */
  --ok-bg: #edf6f0;
  --ok-line: #a9cdb8;
  --ok-ink: #1d5f3c;
  --err-bg: #fbeeec;
  --err-line: #e5b0aa;
  --err-ink: #97302a;

  /* type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", "Segoe UI", system-ui, sans-serif;

  /* shape — architectural, so barely any rounding */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-pill: 999px;

  /* layout */
  --container: 1160px;
  --gutter: 20px;
  --header-h: 62px;
  --section-y: 56px;
}

@media (min-width: 900px) {
  :root {
    --gutter: 40px;
    --header-h: 72px;
    --section-y: 84px;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font: 400 15.5px/1.72 var(--sans);
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  margin: 0 0 .44em;
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 72;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.022em;
}

h1 { font-size: clamp(2.05rem, 1.4rem + 2.9vw, 3.7rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.2; }
h4 { font-size: 1rem; line-height: 1.25; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }

::selection { background: var(--accent-wash); color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
}
.skip-link:focus { left: 0; color: var(--paper); }

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

/* ----------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--alt { background: var(--paper-deep); }
.section--paper { background: var(--paper-card); }
.section--navy { background: var(--navy); color: #9fb3c6; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy a { color: #dbe6f0; }
.section--navy a:hover { color: var(--accent-bright); }

/* numbered, ruled section header — the editorial signature of the site */
.section-head {
  position: relative;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  margin-bottom: 36px;
  max-width: 74ch;
}
.section--navy .section-head { border-top-color: var(--rule-dark); }

@media (min-width: 900px) {
  .section-head { margin-bottom: 48px; }
}
.section-head__body { max-width: 62ch; }

.section-head h2 { margin: 0 0 .3em; }
.section-head p {
  margin: 0;
  color: var(--ink-mute);
  font-size: 1.04rem;
  max-width: 58ch;
}
.section--navy .section-head p { color: #92a6ba; }

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin-bottom: 11px;
  font: 500 .7rem/1.4 var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow__num {
  font-family: var(--display);
  font-size: .92rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-mute);
}
.eyebrow__num:empty { display: none; }
.eyebrow__num:empty::after { content: none; }
.eyebrow__num::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  margin: 0 0 .28em 9px;
  background: var(--rule-strong);
  vertical-align: middle;
}
.section--navy .eyebrow { color: var(--accent-bright); }
.section--navy .eyebrow__num { color: #6d8299; }

.grid { display: grid; gap: 1px; }
.grid > *, .split > *, .hero__grid > * { min-width: 0; }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Hairline grids: one shared rule between cells instead of borders per card. */
.grid--ruled {
  background: var(--rule);
  border: 1px solid var(--rule);
}
.grid--ruled > * { background: var(--paper); }
.section--alt .grid--ruled > * { background: var(--paper-deep); }
.section--navy .grid--ruled { background: var(--rule-dark); border-color: var(--rule-dark); }
.section--navy .grid--ruled > * { background: var(--navy); }

/* ----------------------------------------------------------------- logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  white-space: nowrap;
}
.logo--paper { color: #fff; }
.logo__word {
  font: 400 .95rem/1 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  /* Tracking leaves trailing space after the last letter; pull it back so
     the rhombus sits optically centred between the two words. */
  margin-right: -.3em;
  color: currentColor;
}
.logo__dot {
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--accent);
  transform: rotate(45deg);
}
.logo--paper .logo__dot { background: var(--accent-bright); }
.logo--sm .logo__word { font-size: .8rem; letter-spacing: .26em; }
.logo--sm .logo__dot { width: 4px; height: 4px; }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 27px;
  border: 1px solid transparent;
  border-radius: var(--r-xs);
  font: 500 .74rem/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--navy); color: #fff; }

.btn--gold { background: var(--accent); color: #12100a; }
.btn--gold:hover { background: var(--accent-bright); color: #12100a; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .64rem; letter-spacing: .16em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* Stacked CTAs look ragged at phone width, so they share one width. */
@media (max-width: 479px) {
  .btn-row > .btn { flex: 1 1 100%; }
}

/* Underline-on-hover text link with a moving arrow. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rule-strong);
  font: 500 .72rem/1.4 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  transition: border-color .2s ease, color .2s ease;
}
.link-arrow::after { content: "→"; transition: transform .22s ease; }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--rule); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand { flex: none; }

.nav { display: none; }
@media (min-width: 1080px) { .nav { display: block; } }

.nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  color: var(--ink-soft);
  font: 500 .8rem/1 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .18s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .24s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--ink); }

.nav__toggle-icon { width: 11px; height: 11px; opacity: .55; transition: transform .22s ease; }
.nav__item--has-menu:hover .nav__toggle-icon,
.nav__item--has-menu:focus-within .nav__toggle-icon { transform: rotate(180deg); }

.nav__submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: -22px;
  min-width: 300px;
  padding: 10px;
  margin: 0;
  list-style: none;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  box-shadow: 0 24px 60px -30px rgba(14, 26, 38, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav__item--has-menu:hover .nav__submenu,
.nav__item--has-menu:focus-within .nav__submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__submenu a {
  display: block;
  padding: 11px 14px;
  color: var(--ink);
  font-size: .95rem;
  transition: background-color .18s ease;
}
.nav__submenu a:hover { background: var(--paper-deep); color: var(--ink); }
.nav__submenu small {
  display: block;
  margin-top: 2px;
  color: var(--ink-mute);
  font-size: .78rem;
  line-height: 1.45;
}

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font: 400 .92rem/1 var(--sans);
  letter-spacing: .06em;
}
.header__phone svg { width: 16px; height: 16px; color: var(--accent); }
.header__phone:hover { color: var(--accent); }
@media (min-width: 760px) { .header__phone { display: inline-flex; } }
.header__cta { display: none; }
@media (min-width: 1080px) { .header__cta { display: inline-flex; } }

/* menu button — a word, not a hamburger box */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: 500 .72rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-btn__bars { display: grid; gap: 4px; width: 22px; }
.menu-btn__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.menu-btn__bars span:nth-child(2) { width: 14px; margin-left: auto; }
.menu-btn:hover .menu-btn__bars span:nth-child(2) { width: 22px; }
@media (min-width: 1080px) { .menu-btn { display: none; } }

/* ------------------------------------------------- full-screen overlay nav */
.overlay-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.overlay-nav.is-open { opacity: 1; visibility: visible; }
.overlay-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--rule-dark);
}
.overlay-nav__close {
  border: 0;
  background: none;
  color: #fff;
  font: 500 .8rem/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 0;
}
.overlay-nav__close:hover { color: var(--accent-bright); }
.overlay-nav__body {
  overflow-y: auto;
  padding-block: 34px 44px;
  -webkit-overflow-scrolling: touch;
}
.overlay-nav__grid { display: grid; gap: 40px; }
@media (min-width: 860px) {
  .overlay-nav__grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
}

.overlay-nav ul { list-style: none; margin: 0; padding: 0; }
.overlay-nav__primary li { border-bottom: 1px solid var(--rule-dark); }
.overlay-nav__primary a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  color: #fff;
  font: 500 clamp(1.4rem, 1rem + 1.8vw, 2.1rem)/1.15 var(--display);
  letter-spacing: -.02em;
  transition: color .2s ease, padding-left .25s ease;
}
.overlay-nav__primary a:hover { color: var(--accent-bright); padding-left: 10px; }
.overlay-nav__primary .num {
  font: 500 .78rem/1 var(--sans);
  letter-spacing: .12em;
  color: #6f7c8a;
}
.overlay-nav__primary a[aria-current="page"] { color: var(--accent-bright); }

.overlay-nav__side h3 {
  color: #6f7c8a;
  font: 500 .72rem/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.overlay-nav__side ul { display: grid; gap: 11px; margin-bottom: 34px; }
.overlay-nav__side a { color: #c6cfd8; font-size: .98rem; }
.overlay-nav__side a:hover { color: var(--accent-bright); }
.overlay-nav__contact { display: grid; gap: 8px; margin-bottom: 26px; }
.overlay-nav__contact a, .overlay-nav__contact span { color: #c6cfd8; font-size: .95rem; }
.overlay-nav__contact strong {
  display: block;
  color: #6f7c8a;
  font: 500 .7rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.hero__grid { display: grid; }
@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: stretch;
    min-height: min(70vh, 640px);
  }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 44px 38px;
  padding-inline: var(--gutter);
  max-width: calc(var(--container) / 2 + var(--gutter));
  margin-left: auto;
  width: 100%;
}
@media (min-width: 980px) { .hero__copy { padding-block: 62px; padding-right: 56px; } }

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font: 500 .68rem/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero__kicker::before {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--accent);
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 96;
  color: var(--navy);
}
.hero__lead {
  font-size: clamp(.98rem, .94rem + .25vw, 1.08rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 28px;
}

/* min-height together with aspect-ratio would force a 400px min-width and
   push the hero past a 375px viewport, so the two never apply at once. */
.hero__media { position: relative; }
@media (max-width: 979px) { .hero__media { aspect-ratio: 5 / 4; } }
@media (min-width: 980px) { .hero__media { min-height: 320px; } }
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* A thin paper frame so the photo reads as a plate, not a background. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .35);
  pointer-events: none;
}
@media (min-width: 980px) {
  .hero__media::after { inset: 26px; }
}

.hero__figure {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 26px;
  background: linear-gradient(to top, rgba(10, 20, 30, .74), transparent);
  color: #fff;
  font-size: .82rem;
  letter-spacing: .04em;
}

/* stat strip under the hero */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
}
@media (min-width: 860px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }
.hero__stat {
  padding: 20px var(--gutter);
  border-right: 1px solid var(--rule);
}
.hero__stat:last-child { border-right: 0; }
@media (max-width: 859px) {
  .hero__stat:nth-child(2n) { border-right: 0; }
  .hero__stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
.hero__stat b {
  display: block;
  font: 500 clamp(1.4rem, 1.15rem + .9vw, 1.95rem)/1 var(--display);
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.hero__stat span { font-size: .84rem; color: var(--ink-mute); }

/* inner page hero */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #b9c4cf;
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 26, 38, .93) 20%, rgba(14, 26, 38, .55) 100%);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 48px 44px;
  max-width: 760px;
}
@media (min-width: 900px) { .page-hero__inner { padding-block: 76px 68px; } }
.page-hero h1 { color: #fff; margin-bottom: 18px; }
.page-hero p { color: #b9c4cf; font-size: 1rem; max-width: 56ch; margin-bottom: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font: 500 .72rem/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7d8b99;
}
.breadcrumb a { color: #a9b6c3; }
.breadcrumb a:hover { color: var(--accent-bright); }
.breadcrumb li + li::before { content: "/"; margin-right: 9px; opacity: .5; }

/* ----------------------------------------------------------------- cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: background-color .25s ease;
}
.grid--ruled .card:hover { background: var(--paper-card); }
.section--alt .grid--ruled .card:hover { background: var(--paper-card); }

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__index {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 5px 10px;
  background: var(--paper);
  color: var(--ink);
  font: 500 .72rem/1 var(--sans);
  letter-spacing: .12em;
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 22px 26px; }
.card__body h3 { margin-bottom: 8px; }
.card__tagline {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  margin-bottom: 12px;
  color: var(--accent);
  font: 500 .76rem/1.4 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.card__body p { color: var(--ink-mute); font-size: .95rem; }
.card__foot { margin-top: auto; padding-top: 22px; }

.card--invite { background: var(--navy) !important; color: #a8bccf; }
.card--invite .card__body { justify-content: center; }
.card--invite .card__foot { margin-top: 26px; padding-top: 0; }
.card--invite h3 { color: #fff; }
.card--invite p { color: #a8bccf; }

/* icon feature */
.feature { padding: 24px 22px; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  color: var(--accent);
}
.feature__icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 7px; }
.feature p { margin: 0; font-size: .89rem; color: var(--ink-mute); }
.section--navy .feature__icon { border-color: var(--rule-dark); color: var(--accent-bright); }
.section--navy .feature p { color: #92a6ba; }

/* amenity row */
.amenity {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 19px 20px;
}
.amenity__icon { flex: none; color: var(--accent); margin-top: 2px; }
.amenity__icon svg { width: 19px; height: 19px; }
.amenity strong {
  display: block;
  color: var(--ink);
  font-size: .93rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.amenity span { font-size: .82rem; color: var(--ink-mute); line-height: 1.55; }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 24px 20px; }
.stat__value {
  display: block;
  font: 500 clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem)/1 var(--display);
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.stat__label { font-size: .85rem; color: #8ca1b6; }

/* trust logos */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px 52px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.trust img {
  height: 52px;
  width: auto;
  opacity: .8;
  transition: opacity .25s ease;
}
.trust li:hover img { opacity: 1; }

/* asymmetric media + text split */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .split--wide-text { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .split--reverse .split__media { order: 2; }
}
.split__media { position: relative; }
.split__media img { width: 100%; }
/* offset rule frame behind the image */
.split__media::before {
  content: "";
  position: absolute;
  inset: -18px -18px 18px 18px;
  border: 1px solid var(--rule-strong);
  z-index: -1;
}
@media (max-width: 939px) { .split__media::before { display: none; } }

.check-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
  font-size: .97rem;
}
.check-list li:last-child { border-bottom: 1px solid var(--rule); }
.check-list li::before {
  content: "—";
  flex: none;
  color: var(--accent);
  font-weight: 600;
}

/* ----------------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1060px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2, .7, .3, 1);
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 30, .78) 0%, rgba(10, 20, 30, 0) 58%);
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__caption {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  z-index: 2;
  color: #fff;
  font: 500 .84rem/1.35 var(--sans);
  transform: translateY(10px);
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
}
.gallery__item:hover .gallery__caption,
.gallery__item:focus-visible .gallery__caption { opacity: 1; transform: translateY(0); }

.gallery--feature .gallery__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
@media (max-width: 759px) {
  .gallery--feature .gallery__item:first-child { grid-row: span 1; aspect-ratio: 4 / 3; }
}

/* ----------------------------------------------------------------- map */
.map {
  height: 400px;
  border: 1px solid var(--rule);
  background: var(--paper-deep);
  z-index: 1;
}
.map--tall { height: 560px; }
.leaflet-container { font: inherit; background: var(--paper-deep); }
.map-popup strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 3px; }
.map-popup span { color: var(--ink-mute); font-size: .85rem; }
.map-marker { background: none; border: 0; }

.address-card { display: grid; }
.address-row {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}
.address-row:last-of-type { border-bottom: 1px solid var(--rule); }
.address-row__icon { flex: none; color: var(--accent); margin-top: 3px; }
.address-row__icon svg { width: 19px; height: 19px; }
.address-row strong {
  display: block;
  font: 500 .7rem/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-mute);
  margin-bottom: 7px;
}
.address-row a, .address-row p { color: var(--ink); font-size: 1rem; }

.distance-card { padding: 22px 20px; }
.distance-card__icon { color: var(--accent); margin-bottom: 16px; }
.distance-card__icon svg { width: 22px; height: 22px; }
.distance-card__value {
  display: block;
  font: 500 1.45rem/1 var(--display);
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.distance-card__title { display: block; font-size: .95rem; color: var(--ink); font-weight: 600; }
.distance-card__note { display: block; font-size: .84rem; color: var(--ink-mute); }

/* ----------------------------------------------------------------- accordion */
.accordion { border-top: 1px solid var(--rule); }
.accordion__item { border-bottom: 1px solid var(--rule); }
.accordion__trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 19px 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: 500 clamp(1rem, .95rem + .22vw, 1.14rem)/1.4 var(--display);
  letter-spacing: -.01em;
  color: var(--ink);
  transition: color .2s ease;
}
.accordion__trigger:hover { color: var(--accent); }
.accordion__icon {
  flex: none;
  position: relative;
  width: 22px; height: 22px;
  margin-top: 6px;
}
.accordion__icon::before, .accordion__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 15px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .28s ease, opacity .2s ease;
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after {
  transform: translate(-50%, -50%) rotate(0);
  opacity: 0;
}
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.accordion__panel[data-open="true"] { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p {
  padding: 0 46px 26px 0;
  color: var(--ink-mute);
  font-size: .99rem;
  max-width: 68ch;
}

/* ----------------------------------------------------------------- forms */
.form-card {
  padding: 24px 20px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
}
@media (min-width: 720px) { .form-card { padding: 34px 32px; } }

.form-grid { display: grid; gap: 20px; }
@media (min-width: 680px) {
  .form-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .field--full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 8px; }
/* Consent checkboxes are labels too, but they read as sentences. */
.field > label:not(.check) {
  font: 500 .7rem/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field .req { color: var(--accent); }
.field__hint { font-size: .82rem; color: var(--ink-mute); }
.field__error { font-size: .83rem; color: var(--err-ink); font-weight: 500; }

/* Fields are properly bounded boxes: a bare underline read as decoration
   rather than as somewhere to type. The ring on focus carries the accent. */
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-xs);
  background: var(--paper-card);
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
  letter-spacing: .01em;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.input::placeholder, .textarea::placeholder { color: #a9b0b8; letter-spacing: .01em; }
.input:hover, .select:hover, .textarea:hover { border-color: #b9ad9c; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(176, 141, 43, .15);
  background: #fff;
}
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea {
  border-color: var(--err-line);
  background: #fffcfc;
}
.field.has-error .input:focus,
.field.has-error .select:focus,
.field.has-error .textarea:focus {
  border-color: var(--err-ink);
  box-shadow: 0 0 0 3px rgba(151, 48, 42, .13);
}

.textarea { min-height: 112px; resize: vertical; }
.select {
  appearance: none;
  padding-right: 46px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08d2b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 17px;
}
/* Native date/time controls keep their own picker affordance. */
.input[type="date"], .input[type="time"] { min-height: 46px; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: .94rem;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.65;
}
/* Custom box so the tick matches the brand instead of the OS. */
.check input[type="checkbox"] {
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  width: 21px; height: 21px;
  margin: 3px 0 0;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-xs);
  background: var(--paper-card);
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.check input[type="checkbox"]::before {
  content: "";
  width: 11px; height: 11px;
  transform: scale(0);
  transform-origin: center;
  transition: transform .16s cubic-bezier(.3, 1.4, .5, 1);
  background: #fff;
  clip-path: polygon(14% 50%, 0 64%, 39% 100%, 100% 18%, 85% 5%, 37% 71%);
}
.check input[type="checkbox"]:hover { border-color: var(--accent); }
.check input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(176, 141, 43, .22);
}
.check input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.check input[type="checkbox"]:checked::before { transform: scale(1); }
.field.has-error .check input[type="checkbox"] { border-color: var(--err-line); }

.check-grid { display: grid; gap: 10px; }
@media (min-width: 620px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
.check-grid .check {
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--r-xs);
  background: var(--paper-card);
  transition: border-color .18s ease;
}
.check-grid .check:hover { border-color: var(--rule-strong); }
.check-grid .check:has(input:checked) { border-color: var(--accent); background: var(--accent-wash); }

.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.alert {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 17px 20px;
  margin-bottom: 26px;
  border: 1px solid;
  border-left-width: 3px;
  font-size: .95rem;
}
.alert p { margin: 0; }
.alert__icon { flex: none; font-weight: 700; }
.alert--success { background: var(--ok-bg); border-color: var(--ok-line); border-left-color: var(--ok-ink); color: var(--ok-ink); }
.alert--error { background: var(--err-bg); border-color: var(--err-line); border-left-color: var(--err-ink); color: var(--err-ink); }

.notice {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--accent-wash);
  border-left: 2px solid var(--accent);
  color: #6b551a;
  font-size: .93rem;
}
.notice svg { flex: none; width: 19px; height: 19px; margin-top: 3px; }
.notice a { color: #5a470f; text-decoration: underline; }

[data-conditional] { display: none; }
[data-conditional].is-visible { display: grid; }

/* ----------------------------------------------------------------- cta band */
.cta-band {
  position: relative;
  padding: 42px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
    padding: 56px 0;
  }
}
.cta-band h2 { margin-bottom: 14px; max-width: 18ch; }
.cta-band p { margin-bottom: 28px; max-width: 46ch; color: var(--ink-mute); }
@media (min-width: 900px) { .cta-band p { margin-bottom: 0; } }

/* ----------------------------------------------------------------- footer */
.site-footer {
  background: var(--ink);
  color: #8a96a3;
  padding-block: 50px 0;
  font-size: .89rem;
}
.site-footer a { color: #b3bec9; }
.site-footer a:hover { color: var(--accent-bright); }
.site-footer h3 {
  color: #6f7c8a;
  font: 500 .7rem/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-grid { display: grid; gap: 44px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 56px; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-brand .logo { margin-bottom: 22px; }
.footer-brand p { max-width: 36ch; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact svg { flex: none; width: 16px; height: 16px; margin-top: 5px; color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 54px;
  padding-block: 24px;
  border-top: 1px solid var(--rule-dark);
  font-size: .84rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 22px; }

/* ----------------------------------------------------------------- floats */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px 13px 15px;
  border-radius: var(--r-pill);
  background: #128c4b;
  color: #fff;
  font: 500 .86rem/1 var(--sans);
  letter-spacing: .03em;
  box-shadow: 0 10px 30px -12px rgba(18, 140, 75, .8);
  transition: background-color .2s ease, transform .2s ease;
}
.wa-float:hover { background: #0f7540; color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 22px; height: 22px; flex: none; }
.wa-float span { display: none; }
@media (min-width: 560px) { .wa-float span { display: inline; } }
@media (min-width: 900px) { .wa-float { right: 28px; bottom: 28px; } }

/* ----------------------------------------------------------------- reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s cubic-bezier(.2, .7, .3, 1), transform .6s cubic-bezier(.2, .7, .3, 1);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------- prose */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 1.2rem + .9vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul { display: grid; gap: 9px; }

/* team */
.team-card { padding: 22px 18px; text-align: left; }
.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 108px;
  margin-bottom: 14px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
  transition: filter .3s ease;
}
.team-card:hover img { filter: none; }
.team-card strong {
  display: block;
  font: 500 1rem/1.2 var(--display);
  color: var(--ink);
  margin-bottom: 4px;
}
.team-card span { font-size: .85rem; color: var(--ink-mute); }

/* The team grid's closing card stretches across whatever remains of the last
   row, so a partial row never leaves an empty ruled cell. */
.team-card--invite {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 1000px) {
  .team-card--invite { grid-column: span var(--span, 1); }
}
.team-card--invite { align-items: flex-start; }

/* ------------------------------------------------- solution cards (icon) */
/* Photographs made every solution look like the same room; a drawn mark
   keeps the six uses distinguishable and the grid calm. */
.card--icon {
  padding: 30px 26px 28px;
  min-height: 250px;
}
.card--icon .card__body { padding: 0; }
.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  color: var(--accent);
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.card__icon svg { width: 21px; height: 21px; }
.card--icon:hover .card__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.card--icon .card__num {
  position: absolute;
  top: 26px;
  right: 26px;
  font: 400 .72rem/1 var(--sans);
  letter-spacing: .12em;
  color: var(--rule-strong);
}

/* ------------------------------------------------------ "yakında" strip */
.soon {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 620px) { .soon { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .soon { grid-template-columns: repeat(4, 1fr); } }
.soon__item {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  background: var(--paper);
}
.section--alt .soon__item { background: var(--paper-deep); }
.soon__icon { flex: none; color: var(--rule-strong); margin-top: 2px; }
.soon__icon svg { width: 20px; height: 20px; }
.soon__item strong {
  display: block;
  color: var(--ink-mute);
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.soon__item span { display: block; font-size: .82rem; color: var(--ink-mute); }
.soon__item .soon__badge {
  display: inline-block;
  width: auto;
  margin-top: 8px;
  padding: 3px 9px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-pill);
  font: 500 .6rem/1.5 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ------------------------------------------------- travel directions tabs */
.travel { border: 1px solid var(--rule); background: var(--paper-card); }

.travel__tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 720px) { .travel__tabs { grid-template-columns: repeat(4, 1fr); } }

.travel__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 12px;
  border: 0;
  border-right: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-mute);
  font: 500 .72rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.travel__tab:last-child { border-right: 0; }
@media (max-width: 719px) {
  .travel__tab:nth-child(2n) { border-right: 0; }
  .travel__tab:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
.travel__tab:hover { color: var(--ink); background: var(--paper-card); }
.travel__tab.is-active {
  background: var(--paper-card);
  color: var(--ink);
  /* An inset rule reads as a selected tab without shifting the layout. */
  box-shadow: inset 0 -2px 0 var(--accent);
}
.travel__tab-icon { display: inline-flex; color: var(--accent); }
.travel__tab-icon svg { width: 17px; height: 17px; }
@media (max-width: 479px) {
  .travel__tab { flex-direction: column; gap: 7px; font-size: .64rem; }
}

.travel__panel { padding: 26px 22px 24px; }
@media (min-width: 720px) { .travel__panel { padding: 32px 30px 30px; } }

.travel__summary {
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  font: 500 .74rem/1.5 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.travel__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.travel__steps li { display: flex; gap: 16px; }
.travel__step-num {
  flex: none;
  width: 30px;
  font: 500 .95rem/1.5 var(--display);
  color: var(--rule-strong);
}
.travel__steps strong {
  display: block;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.travel__steps span { display: block; color: var(--ink-mute); font-size: .91rem; }

.travel__note {
  display: flex;
  gap: 11px;
  margin: 26px 0 0;
  padding: 15px 17px;
  background: var(--accent-wash);
  border-left: 2px solid var(--accent);
  color: #6b551a;
  font-size: .89rem;
}
.travel__note svg { flex: none; width: 17px; height: 17px; margin-top: 2px; }

/* Fallback float when no WhatsApp number is configured yet. */
.wa-float--phone { background: var(--ink); box-shadow: 0 10px 30px -14px rgba(14, 26, 38, .8); }
.wa-float--phone:hover { background: var(--navy); }
.wa-float--phone svg { width: 18px; height: 18px; }
