/* ===================================================================
   Plaza Blanca Sotogrande
   Design concept — Zafiro
   ===================================================================
   The palette is taken from the buildings themselves: whitewash, the
   turquoise of the joinery, the sage-green dado that runs along every
   terrace at street level, terracotta paving and blue glazed planters.
   =================================================================== */

:root {
  --paper: #ffffff;
  --paper-warm: #f8f6f2;
  --paper-sage: #eff4f1;

  --ink: #14222a;
  --ink-mid: #4c6069;
  --ink-soft: #78888f;

  --blue: #0d7383;          /* primary — the turquoise, darkened for text */
  --blue-bright: #16a2b8;   /* the door colour */
  --blue-deep: #0a4b58;     /* footer, deep moments */
  --sage: #c7d9ce;
  --sage-pale: #e4ece7;
  --terracotta: #bf7450;

  --line: #e3dfd8;
  --line-strong: #cfc9bf;

  --serif: 'Cormorant Garamond', 'Hoefler Text', Georgia, serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 76px);
  --maxw: 1480px;
  --rhythm: clamp(68px, 9vw, 150px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------------ */
/* Reset & base                                                        */
/* ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@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);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 350;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--sage); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ------------------------------------------------------------------ */
/* Primitives                                                          */
/* ------------------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.1em;
  display: block;
}
.eyebrow--muted { color: var(--ink-soft); }

.lede {
  font-size: clamp(1.1rem, 1.55vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-mid);
  font-weight: 350;
  max-width: 34ch;
}

.prose { max-width: 62ch; }
.prose p { color: var(--ink-mid); }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem;
}
.skip:focus { left: 0; }

/* Text link with a rule that retracts on hover */
.tlink {
  display: inline-block;
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 5px;
  background-image: linear-gradient(var(--blue), var(--blue));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .45s var(--ease), color .3s;
}
.tlink:hover { background-size: 0% 1px; color: var(--blue); }

.arrowlink {
  display: inline-flex; align-items: baseline; gap: .55em;
  text-decoration: none; color: var(--blue);
  font-size: 0.8125rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
}
.arrowlink span:last-child { transition: transform .35s var(--ease); }
.arrowlink:hover span:last-child { transform: translateX(5px); }

/* Photography ------------------------------------------------------- */

figure { margin: 0; }

.ph {
  position: relative;
  overflow: hidden;
  background: var(--paper-warm);
}
.ph img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
a:hover > .ph img, .ph--zoom:hover img { transform: scale(1.035); }

/* Where a business has no photography of its own, its own mark on paper —
   never a borrowed or generic photograph. */
.ph--mark {
  display: grid;
  place-items: center;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  padding: clamp(18px, 3vw, 42px);
}
.ph--mark .ph__logo {
  width: 100%; max-width: 230px; height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
}
.ph--mark img { transition: none; }
a:hover > .ph--mark img { transform: none; }
.ph__initial {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--sage);
  line-height: 1;
}

.ph--3x4 { aspect-ratio: 3/4; }
.ph--4x5 { aspect-ratio: 4/5; }
.ph--1x1 { aspect-ratio: 1/1; }
.ph--3x2 { aspect-ratio: 3/2; }
.ph--16x9 { aspect-ratio: 16/9; }

.cap {
  font-size: 0.75rem;
  letter-spacing: 0.055em;
  color: var(--ink-soft);
  margin-top: .9rem;
  line-height: 1.45;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.93);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-head__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}
@media (max-width: 900px) { .site-head__in { min-height: 64px; } .mobile-nav { inset: 64px 0 0; } }

.wordmark {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.wordmark b { font-weight: 400; }
.wordmark i { font-style: normal; color: var(--blue); }

.nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.6rem); }
.nav a {
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mid);
  padding: .4rem 0;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); border-bottom-color: var(--blue); }

.lang {
  text-decoration: none;
  font-size: 0.6875rem; letter-spacing: 0.15em; font-weight: 500;
  border: 1px solid var(--line-strong);
  padding: .42rem .62rem .38rem;
  color: var(--ink-mid);
  transition: border-color .25s, color .25s;
}
.lang:hover { border-color: var(--blue); color: var(--blue); }

.burger {
  display: none;
  background: none; border: 0; padding: .5rem; margin-right: -.5rem;
  cursor: pointer;
}
.burger span {
  display: block; width: 24px; height: 1px; background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s;
}
.burger span + span { margin-top: 6px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 74px 0 0; z-index: 55;
  background: var(--paper);
  padding: clamp(28px, 7vw, 48px) var(--gutter);
  display: none;
  flex-direction: column;
  gap: 0;
}
body.menu-open .mobile-nav { display: flex; }
body.menu-open { overflow: hidden; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: 2rem;
  text-decoration: none;
  padding: .55em 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .lang { align-self: flex-start; margin-top: 2rem; font-family: var(--sans); font-size: .75rem; }

@media (max-width: 900px) {
  .nav, .site-head .lang { display: none; }
  .burger { display: block; }
}

/* ------------------------------------------------------------------ */
/* Home — opening                                                      */
/* ------------------------------------------------------------------ */

.opening {
  display: grid;
  grid-template-columns: minmax(0, 4.6fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  padding-top: clamp(40px, 6vw, 86px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.opening__text { padding-bottom: clamp(4px, 2vw, 28px); }

.opening h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  letter-spacing: 0.035em;
  text-transform: uppercase;
  line-height: 1.0;
  margin-bottom: .34em;
}
.opening h1 em { font-style: normal; display: block; color: var(--blue); }

.opening .lede { max-width: 30ch; margin-bottom: 2.2rem; }

.opening__media {
  /* bleeds to the right edge of the viewport on wide screens */
  margin-right: calc(-1 * var(--gutter));
}
.opening__media .ph { aspect-ratio: 16/10; }

.factbar {
  display: flex; flex-wrap: wrap;
  gap: 0 clamp(1.4rem, 3vw, 3rem);
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.factbar div {
  font-size: 0.75rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
}
.factbar b { color: var(--ink); font-weight: 500; }

@media (max-width: 860px) {
  .opening {
    grid-template-columns: 1fr;
    padding-top: 28px;
    gap: 30px;
  }
  .opening__media {
    order: -1;
    margin-inline: calc(-1 * var(--gutter));
  }
  .opening__media .ph { aspect-ratio: 5/4; }
  .opening__media .cap { padding-inline: var(--gutter); }
}

/* ------------------------------------------------------------------ */
/* Section scaffolding                                                 */
/* ------------------------------------------------------------------ */

.sec { padding-block: var(--rhythm); }
.sec--tight { padding-block: clamp(46px, 6vw, 86px); }
.sec--warm { background: var(--paper-warm); }
.sec--sage { background: var(--paper-sage); }

.sechead {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, 2vw, 28px);
  margin-bottom: clamp(34px, 4.5vw, 64px);
}
.sechead h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  max-width: 16ch;
}
.sechead__aside { padding-top: .5rem; }
.sechead__aside p { color: var(--ink-mid); max-width: 46ch; }

@media (max-width: 760px) {
  .sechead { grid-template-columns: 1fr; gap: 18px; }
}

/* ------------------------------------------------------------------ */
/* Home — the story block                                              */
/* ------------------------------------------------------------------ */

.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: center;
}
.story__media { position: relative; }
.story__media .ph { aspect-ratio: 4/5; }
.story__sketch {
  margin-top: clamp(26px, 3vw, 44px);
  max-width: 420px;
  mix-blend-mode: multiply;
}
.story h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); margin-bottom: .7em; max-width: 14ch; }
.story p { color: var(--ink-mid); max-width: 48ch; }
.story .tlink { margin-top: 1.4rem; }

@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; gap: 28px; }
  .story__media { order: 2; }
}

/* ------------------------------------------------------------------ */
/* Featured businesses — an even three-up, aligned on a shared grid     */
/* ------------------------------------------------------------------ */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 3.4vw, 54px) clamp(20px, 2.4vw, 36px);
  border-top: 1px solid var(--line-strong);
  padding-top: clamp(26px, 3vw, 40px);
}

.feature {
  text-decoration: none;
  display: grid;
  grid-template-rows: auto auto 1fr;   /* image · name+meta · line */
  align-content: start;
}
.feature .ph { aspect-ratio: 4/5; }

.feature__name {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  margin-top: 1.15rem;
  line-height: 1.18;
}
.feature__meta {
  font-size: 0.7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue); margin-top: .5rem; font-weight: 500;
}
.feature__line {
  color: var(--ink-mid);
  font-size: .9375rem;
  line-height: 1.55;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .features { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .feature .ph { aspect-ratio: 3/2; }
}

/* ------------------------------------------------------------------ */
/* Category index (home)                                               */
/* ------------------------------------------------------------------ */

.catindex { border-top: 1px solid var(--line-strong); }
.catindex a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.1rem, 2.4vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left .4s var(--ease);
}
.catindex a:hover { padding-left: 14px; }
.catindex__name {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1;
}
.catindex__note { color: var(--ink-soft); font-size: .875rem; margin-top: .45rem; }
.catindex__n {
  font-size: .8125rem; letter-spacing: .12em; color: var(--blue);
  font-variant-numeric: tabular-nums; font-weight: 500;
}

/* ------------------------------------------------------------------ */
/* Atmosphere strip                                                    */
/* ------------------------------------------------------------------ */

.strip {
  display: flex;
  gap: clamp(14px, 1.6vw, 26px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.4rem;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.strip > figure {
  flex: 0 0 auto;
  width: clamp(230px, 30vw, 390px);
  scroll-snap-align: start;
}
.strip > figure:nth-child(even) .ph { aspect-ratio: 3/4; }
.strip > figure:nth-child(odd) .ph { aspect-ratio: 4/5; }
.strip > figure:nth-child(3n) { margin-top: clamp(18px, 3vw, 54px); }

/* ------------------------------------------------------------------ */
/* Visit teaser / panels                                               */
/* ------------------------------------------------------------------ */

.panel {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.panel h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); margin-bottom: .6em; }
.panel p { color: var(--ink-mid); }
@media (max-width: 820px) { .panel { grid-template-columns: 1fr; gap: 26px; } }

.addr {
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-mid);
}
.addr strong { color: var(--ink); font-weight: 500; }

.deflist { border-top: 1px solid var(--line); margin-top: 2rem; }
.deflist > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.6fr) minmax(0, 1.4fr);
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
}
.deflist dt {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500; padding-top: .28em;
}
.deflist dd { margin: 0; color: var(--ink-mid); font-size: .96rem; }
.deflist dd a { color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--sage); }
.deflist dd a:hover { border-bottom-color: var(--blue); }
@media (max-width: 560px) {
  .deflist > div { grid-template-columns: 1fr; gap: .25rem; }
}

/* ------------------------------------------------------------------ */
/* Directory                                                           */
/* ------------------------------------------------------------------ */

.pagehead { padding-top: clamp(38px, 5vw, 72px); padding-bottom: clamp(26px, 3vw, 44px); }
.pagehead h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  max-width: 19ch;
  margin-bottom: .4em;
}
.pagehead .lede { max-width: 44ch; }

.filters {
  position: sticky; top: 74px; z-index: 40;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(150%) blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filters__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding-block: .85rem;
}
.tabs { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.tabs button {
  background: none; border: 0; cursor: pointer;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: var(--ink-soft);
  padding: .35rem 0;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
  white-space: nowrap;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--blue); }
.tabs button sup { color: var(--blue); font-size: .62rem; margin-left: .35em; letter-spacing: 0; }

@media (max-width: 760px) {
  /* A tall sticky filter bar would eat a phone screen, so it scrolls away.
     The tabs stay on one line and scroll sideways instead of wrapping. */
  .filters { position: static; }
  .filters__in { gap: .6rem; padding-block: .7rem; }
  .tabs {
    overflow-x: auto;
    width: 100%;
    gap: 1.3rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .resultcount { display: none; }
  .searchbox { flex: 1 1 100%; }
}

.searchbox { position: relative; flex: 0 1 280px; min-width: 190px; }
.searchbox input {
  width: 100%;
  font: inherit; font-size: .875rem;
  border: 0; border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: .45rem 0 .42rem 1.4rem;
  color: var(--ink);
}
.searchbox input::placeholder { color: var(--ink-soft); }
.searchbox input:focus { outline: none; border-bottom-color: var(--blue); }
.searchbox svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }

.resultcount {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
}

/* Category band: a couple of large entries, then a compact index ---- */

.catband { padding-top: clamp(40px, 5vw, 76px); }
.catband__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: .9rem;
  margin-bottom: clamp(26px, 3vw, 44px);
}
.catband__head h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.catband__head p { color: var(--ink-soft); font-size: .875rem; margin: 0; }

.leads {
  display: grid;
  /* fixed three-up so a band with one worked-up profile does not stretch it
     across the whole page */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 38px);
  margin-bottom: clamp(30px, 3.4vw, 52px);
}
@media (max-width: 900px) { .leads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .leads { grid-template-columns: minmax(0, 1fr); } }
.leads a { text-decoration: none; display: block; }
.leads .ph { aspect-ratio: 4/5; }
.leads .feature__name { font-size: clamp(1.15rem, 1.6vw, 1.45rem); }

/* The index list — the bulk of the directory */

.index { border-top: 1px solid var(--line); }
.index__row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color .3s;
}
.index__row:hover { background: var(--paper-warm); }
.index__thumb {
  width: 62px; height: 62px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  overflow: hidden;
}
.index__thumb img { width: 100%; height: 100%; object-fit: cover; }
.index__thumb--mark {
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.5rem; color: var(--blue);
  background: var(--paper-sage); border-color: var(--sage);
}
.index__name {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.15;
}
.index__kick {
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: .35rem; font-weight: 500;
}
.index__kick em { font-style: normal; color: var(--blue); }
.index__go {
  font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500; white-space: nowrap;
  transition: color .3s, transform .35s var(--ease);
}
.index__row:hover .index__go { color: var(--blue); transform: translateX(4px); }

@media (max-width: 640px) {
  .index__row { grid-template-columns: 52px minmax(0, 1fr); padding: .95rem 0; }
  .index__thumb { width: 52px; height: 52px; }
  .index__go { display: none; }
}

.empty {
  padding: clamp(50px, 8vw, 100px) 0;
  text-align: center;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.5rem;
}

/* ------------------------------------------------------------------ */
/* Business profile                                                    */
/* ------------------------------------------------------------------ */

.crumb {
  padding-top: clamp(22px, 3vw, 36px);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500;
}
.crumb a { color: var(--ink-soft); text-decoration: none; }
.crumb a:hover { color: var(--blue); }

.biz-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: end;
  padding-top: clamp(22px, 3.5vw, 48px);
  padding-bottom: clamp(34px, 4.5vw, 60px);
}
.biz-head__text { padding-bottom: clamp(0px, 1.5vw, 22px); }
.biz-head h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  margin-bottom: .3em;
}
.biz-head .lede { max-width: 28ch; }
.biz-head__media { margin-right: calc(-1 * var(--gutter)); }
.biz-head__media .ph { aspect-ratio: 16/11; }

.biz-head--plain {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: center;
  background: #e8f0ec;
  margin-inline: calc(-1 * var(--gutter));
  padding: clamp(40px, 6vw, 92px) var(--gutter);
}
.biz-head--plain .biz-head__media { margin-right: 0; }
.biz-logo {
  width: min(260px, 60%);
  border: 1px solid var(--line);
  background: #fff;
}
.biz-head--plain .biz-logo { width: min(280px, 100%); margin-left: auto; }

@media (max-width: 860px) {
  .biz-head, .biz-head--plain { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .biz-head__media { order: -1; margin-inline: calc(-1 * var(--gutter)); }
  .biz-head__media .ph { aspect-ratio: 4/3; }
  .biz-head--plain .biz-logo { margin-left: 0; }
}

.biz-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(30px, 5vw, 88px);
  align-items: start;
  padding-bottom: var(--rhythm);
}
.biz-body__main p {
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.68;
  color: var(--ink-mid);
  max-width: 56ch;
}
.biz-body__main p:first-child {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  line-height: 1.42;
  color: var(--ink);
  letter-spacing: -0.008em;
  max-width: 34ch;
}
.biz-aside {
  border-top: 1px solid var(--ink);
  padding-top: 1.1rem;
}
@media (max-width: 860px) { .biz-body { grid-template-columns: 1fr; } }

.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.actions a {
  text-decoration: none;
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--line-strong);
  padding: .72rem 1.05rem .66rem;
  color: var(--ink);
  transition: background-color .3s, border-color .3s, color .3s;
}
.actions a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.actions a.is-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.actions a.is-primary:hover { background: var(--blue); border-color: var(--blue); }

.biz-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.biz-gallery .ph { aspect-ratio: 4/5; }
.biz-gallery > *:first-child:nth-last-child(1) .ph { aspect-ratio: 16/9; }

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}
.related a { text-decoration: none; display: block; }
.related .ph { aspect-ratio: 1/1; }
.related .feature__name { font-size: 1.15rem; }

/* ------------------------------------------------------------------ */
/* Leasing note                                                        */
/* ------------------------------------------------------------------ */

.leasing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(34px, 4.5vw, 62px);
}
.leasing h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.leasing p { color: var(--ink-mid); margin: 0; max-width: 50ch; }
@media (max-width: 760px) { .leasing { grid-template-columns: 1fr; gap: 18px; } }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.site-foot {
  background: var(--blue-deep);
  color: #dbe9ec;
  padding-block: clamp(50px, 6vw, 86px) clamp(26px, 3vw, 40px);
}
.site-foot a { color: #fff; }
.site-foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 70px);
  padding-bottom: clamp(34px, 4vw, 56px);
}
.site-foot .wordmark { color: #fff; display: inline-block; margin-bottom: 1.2rem; }
.site-foot .wordmark i { color: var(--sage); }
.site-foot p { color: rgba(255,255,255,.72); font-size: .9375rem; max-width: 34ch; }
.foot-h {
  font-size: .68rem; letter-spacing: .17em; text-transform: uppercase;
  color: rgba(255,255,255,.52); margin-bottom: 1.1rem; font-weight: 500;
}
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin-bottom: .55rem; }
.foot-list a {
  text-decoration: none; font-size: .9375rem;
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.foot-list a:hover { border-bottom-color: var(--sage); }
.site-foot__base {
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: clamp(18px, 2vw, 26px);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  font-size: .72rem; letter-spacing: .07em;
  color: rgba(255,255,255,.5);
}
@media (max-width: 760px) {
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .site-foot__grid > *:first-child { grid-column: span 2; }
}

/* ------------------------------------------------------------------ */
/* Entrance motion — restrained                                        */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
  /* Only hidden when scripting is actually running, so the page is never
     blank if site.js fails to load. */
  .js .rise { opacity: 0; transform: translateY(16px); }
  .js .rise.is-in {
    opacity: 1; transform: none;
    transition: opacity .8s var(--ease), transform .8s var(--ease);
  }
}
