/* Presidio Stays — site styles
   Tokens first; components below. No build step required. */

:root {
  /* Palette */
  --presidio-blue: #1F3A4D;   /* Deep Warm Blue — primary anchor */
  --blue-700: #2B4A60;
  --blue-100: #DCE4E8;
  --terracotta: #B4553A;      /* Warm Terracotta — actions */
  --terracotta-700: #96432C;
  --clay: #D8A585;            /* Soft Clay */
  --sand: #ECE1CF;            /* Sand */
  --cream: #F5ECDF;           /* Cream */
  --warm-white: #FBF7F0;      /* Warm White — page */
  --sage: #8D9B85;            /* Muted Sage */
  --charcoal: #2A2725;        /* Dark Charcoal — text */
  --muted: #625A53;
  --line: #DCCFBC;

  /* Type */
  --font-display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem);
  --step-5: clamp(2.5rem, 1.6rem + 3.6vw, 4.1rem);

  /* Space & shape */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 8vw, 7.5rem);
  --max: 1240px;
  --radius-s: 6px;
  --radius-m: 12px;
  --arch: 999px 999px var(--radius-m) var(--radius-m);
  --shadow: 0 1px 2px rgba(42, 39, 37, .06), 0 8px 24px -12px rgba(31, 58, 77, .25);
}

*, *::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: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--presidio-blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--terracotta); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--presidio-blue); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--presidio-blue); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.25; }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.55; max-width: 58ch; }
.small { font-size: var(--step--1); color: var(--muted); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--cream { background: var(--cream); }
.section--blue { background: var(--presidio-blue); color: var(--warm-white); }
.section--blue h2, .section--blue h3 { color: var(--warm-white); }
.section--blue .lede, .section--blue p { color: #D6DEE2; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p:last-child { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font: 600 1rem/1.2 var(--font-body); letter-spacing: .01em;
  border-radius: var(--radius-s); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--terracotta); color: #fff; }
.btn--primary:hover { background: var(--terracotta-700); color: #fff; }
.btn--secondary { background: transparent; color: var(--presidio-blue); border-color: var(--presidio-blue); }
.btn--secondary:hover { background: var(--presidio-blue); color: var(--warm-white); }
.btn--light { background: var(--warm-white); color: var(--presidio-blue); }
.btn--light:hover { background: var(--sand); color: var(--presidio-blue); }
.btn--ghost-light { color: var(--warm-white); border-color: rgba(251, 247, 240, .6); background: transparent; }
.btn--ghost-light:hover { background: var(--warm-white); color: var(--presidio-blue); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font-weight: 600; text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 240, .94); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--presidio-blue); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .06em; line-height: 1; }
.brand-name span { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .28em; color: var(--muted); margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav a { text-decoration: none; color: var(--charcoal); font-weight: 500; padding-block: .5rem; border-bottom: 1.5px solid transparent; }
.nav a:hover { color: var(--presidio-blue); border-bottom-color: var(--clay); }
.nav a[aria-current="page"] { color: var(--presidio-blue); border-bottom-color: var(--terracotta); }
.nav .btn { padding-inline: 1.1rem; min-height: 44px; border-bottom: 1.5px solid transparent; color: #fff; }
.nav .btn:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; color: var(--presidio-blue); cursor: pointer; min-width: 48px; min-height: 48px; }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--warm-white); padding: .5rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--terracotta); }
  .nav .btn { margin-top: 1rem; border: 0; }
}

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lede { margin-bottom: 2rem; }
.hero-note { margin-top: 1.5rem; font-size: var(--step--1); color: var(--muted); }
.arch { border-radius: var(--arch); overflow: hidden; background: var(--sand); position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure { position: relative; }
.hero-figure .arch { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(31, 58, 77, .45); }
.hero-figure::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 1.5px solid var(--clay); border-radius: var(--arch); z-index: -1; }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 420px; width: 88%; margin-inline: auto; }
  .hero-figure .arch { aspect-ratio: 5 / 5.2; }
}

/* Facts band */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 1.6rem 1.5rem; display: flex; gap: .9rem; align-items: flex-start; }
.facts li + li { border-left: 1px solid var(--line); }
.facts svg { flex: none; width: 28px; height: 28px; color: var(--terracotta); margin-top: .1rem; }
.facts strong { display: block; font-weight: 600; color: var(--presidio-blue); }
.facts span { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 980px) { .facts ul { grid-template-columns: 1fr 1fr; } .facts li:nth-child(3) { border-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .facts ul { grid-template-columns: 1fr; } .facts li + li { border-left: 0; border-top: 1px solid var(--line); } .facts li { padding: 1.1rem 0; } }

/* Who we host */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.audience { padding: 1.75rem 1.75rem 1.75rem 0; border-bottom: 1px solid var(--line); }
.audience:not(:nth-child(3n+1)) { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.audience h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.audience p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 880px) {
  .audiences { grid-template-columns: 1fr 1fr; }
  .audience:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .audience:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) { .audiences { grid-template-columns: 1fr; } .audience:nth-child(even) { padding-left: 0; border-left: 0; } .audience { padding-right: 0; } }

/* Property cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (max-width: 980px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); border-color: var(--clay); color: inherit; }
.card-media { aspect-ratio: 4 / 3; background: var(--sand); position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.status { position: absolute; left: .9rem; top: .9rem; background: var(--warm-white); color: var(--presidio-blue); font-size: .8rem; font-weight: 600; padding: .3rem .65rem; border-radius: 999px; }
.status--soon { background: var(--presidio-blue); color: var(--warm-white); }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-loc { font-size: var(--step--1); color: var(--muted); margin: 0; }
.card h3 { font-size: 1.35rem; margin: 0; }
.specs { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; padding: 0; margin: .45rem 0 0; font-size: .95rem; color: var(--charcoal); }
.specs li { display: inline-flex; align-items: center; gap: .4rem; }
.specs svg { width: 18px; height: 18px; color: var(--sage); }
.card-foot { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); margin-top: 1rem; font-size: .95rem; }
.card-foot .go { font-weight: 600; color: var(--terracotta); }

/* Steps (a true sequence, so numbered) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.steps li { counter-increment: step; position: relative; padding-top: 4.25rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 3rem; height: 3.4rem; display: grid; place-items: center; padding-top: .35rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--presidio-blue); border: 1.5px solid var(--clay); border-radius: var(--arch); }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li { padding: 0 0 0 4.25rem; min-height: 3.4rem; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split .arch { aspect-ratio: 4 / 4.6; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } .split .arch { max-width: 460px; aspect-ratio: 1 / 1; } }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; margin-top: .3rem; border-radius: 999px 999px 3px 3px; background: var(--clay); }
.section--blue .check-list li::before { background: var(--clay); }
.section--blue .check-list li { color: #E8EDF0; }

/* Partner band */
.partner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 880px) { .partner { grid-template-columns: 1fr; } }

/* Closing CTA */
.closing { text-align: center; }
.closing h2 { max-width: 22ch; margin-inline: auto; }
.closing p { margin-inline: auto; }
.closing .btn-row { justify-content: center; margin-top: 1.75rem; }

/* Page header */
.page-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: var(--step-4); max-width: 20ch; }
.crumbs { font-size: var(--step--1); color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }

/* Search */
.search { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem; display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: .75rem; align-items: end; box-shadow: var(--shadow); }
.search .field { margin: 0; }
@media (max-width: 880px) { .search { grid-template-columns: 1fr 1fr; } .search .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .search { grid-template-columns: 1fr; } }
.results-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin: 2.5rem 0 1.25rem; }
.results-bar p { margin: 0; color: var(--muted); }
.empty { padding: 2.5rem; text-align: center; background: var(--cream); border-radius: var(--radius-m); border: 1px dashed var(--line); }
.empty p { margin-inline: auto; }

/* Amenities */
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem; list-style: none; padding: 0; margin: 0; }
.amenities li { display: flex; gap: .8rem; align-items: flex-start; }
.amenities svg { flex: none; width: 26px; height: 26px; color: var(--terracotta); }
.amenities strong { display: block; color: var(--presidio-blue); font-weight: 600; }
.amenities span { font-size: .93rem; color: var(--muted); }
@media (max-width: 980px) { .amenities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .amenities { grid-template-columns: 1fr; } }

/* Comparison */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); font-size: .98rem; }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--presidio-blue); color: var(--warm-white); font-weight: 600; }
.compare thead th:nth-child(2) { background: var(--terracotta); }
.compare tbody th { font-weight: 600; color: var(--presidio-blue); width: 28%; }
.compare tr:last-child > * { border-bottom: 0; }
.compare td:nth-child(2) { background: #FDF8F2; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-m); }
@media (max-width: 640px) { .compare { min-width: 600px; } }

/* Forms */
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label, .field legend { font-weight: 600; font-size: .95rem; color: var(--charcoal); }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--charcoal);
  background: var(--warm-white); border: 1.5px solid var(--line); border-radius: var(--radius-s);
  padding: .75rem .85rem; min-height: 48px; width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
input[type="date"] { height: 48px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--presidio-blue); box-shadow: 0 0 0 3px rgba(31, 58, 77, .15); background: #fff; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--terracotta); }
.error-text { color: var(--terracotta-700); font-size: .85rem; }
.hp { position: absolute; left: -9999px; }
.segmented { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0 0 1.5rem; }
.segmented legend { margin-bottom: .6rem; font-weight: 600; width: 100%; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .95rem; background: var(--warm-white); }
.segmented input:checked + span { background: var(--presidio-blue); border-color: var(--presidio-blue); color: var(--warm-white); }
.segmented input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 1rem 0 0; }
.form-status { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius-s); display: none; }
.form-status.is-success { display: block; background: #EEF1EB; color: #3F4D3A; border: 1px solid #C9D1C3; }
.form-status.is-error { display: block; background: #F8E9E3; color: var(--terracotta-700); border: 1px solid #E8C3B4; }
[data-show-for] { display: none; }
[data-show-for].is-visible { display: flex; }
.form-grid > [data-show-for].is-visible.full { display: flex; }

/* Property detail */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: .6rem; height: clamp(320px, 48vw, 560px); border-radius: var(--radius-m); overflow: hidden; }
.gallery button { padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; }
.gallery button:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .more { position: relative; }
.gallery .more span { position: absolute; right: .8rem; bottom: .8rem; background: var(--warm-white); color: var(--presidio-blue); padding: .4rem .8rem; border-radius: 999px; font-weight: 600; font-size: .9rem; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; grid-template-rows: none; height: auto; } .gallery button { aspect-ratio: 4 / 3; } .gallery button:not(:first-child) { display: none; } .gallery button:first-child { grid-row: auto; position: relative; } }
.detail { display: grid; grid-template-columns: 1fr 380px; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: 2.5rem; }
.detail-aside { position: sticky; top: 96px; }
@media (max-width: 980px) { .detail { grid-template-columns: 1fr; } .detail-aside { position: static; } }
.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; margin: 1.75rem 0 2.25rem; }
.keyfacts div { padding: 1rem 1.1rem; }
.keyfacts div + div { border-left: 1px solid var(--line); }
.keyfacts dt { font-size: .85rem; color: var(--muted); }
.keyfacts dd { margin: 0; font-family: var(--font-display); font-size: 1.45rem; color: var(--presidio-blue); }
@media (max-width: 620px) { .keyfacts { grid-template-columns: 1fr 1fr; } .keyfacts div:nth-child(3) { border-left: 0; } .keyfacts div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.detail h2 { font-size: var(--step-3); margin-top: 2.5rem; }
.feature-list { columns: 2; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.feature-list li { break-inside: avoid; padding: .45rem 0 .45rem 1.6rem; position: relative; border-bottom: 1px solid var(--line); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .95rem; width: .6rem; height: .6rem; border-radius: 999px 999px 2px 2px; background: var(--clay); }
@media (max-width: 560px) { .feature-list { columns: 1; } }
.stay-guide { background: var(--cream); border-radius: var(--radius-m); padding: 1.25rem 1.5rem; border-left: 4px solid var(--terracotta); }
.stay-guide p { margin: 0; }
.inquiry-card h2 { font-size: var(--step-2); margin: 0 0 .25rem; }
.inquiry-card .avail { color: var(--muted); font-size: .95rem; margin-bottom: 1.25rem; }
.inquiry-card .form-grid { grid-template-columns: 1fr; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(31, 33, 35, .86); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius-s); }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; color: #fff; padding: .75rem 0; gap: 1rem; }
.lightbox-bar button { background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 999px; min-width: 44px; min-height: 44px; padding: 0 1rem; cursor: pointer; font: 600 .95rem var(--font-body); }

/* Mobile sticky inquiry bar on property pages */
.mobile-cta { display: none; }
@media (max-width: 980px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom)); background: var(--warm-white); border-top: 1px solid var(--line); gap: .75rem; align-items: center; justify-content: space-between; }
  .mobile-cta p { margin: 0; font-size: .9rem; color: var(--muted); }
  .mobile-cta .btn { white-space: nowrap; flex: none; }
  body.has-mobile-cta { padding-bottom: 84px; }
}

/* About */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.principles > div { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.principles > div:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
.principles p { color: var(--muted); margin: 0; }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } .principles > div:nth-child(even) { padding-left: 0; border-left: 0; } .principles > div { padding-right: 0; } }
.owner-note { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2rem; align-items: center; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--warm-white); }
.owner-note img { width: 56px; height: 56px; }
.owner-note h2 { font-size: var(--step-2); margin: 0 0 .3rem; }
.owner-note p { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .owner-note { grid-template-columns: 1fr; } }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-detail { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.25rem; }
.contact-detail li { display: flex; gap: 1rem; }
.contact-detail svg { width: 24px; height: 24px; flex: none; color: var(--terracotta); margin-top: .2rem; }
.contact-detail strong { display: block; color: var(--presidio-blue); }
.contact-detail a { font-size: 1.1rem; }
.response { background: var(--cream); border-radius: var(--radius-m); padding: 1.5rem; }
.response h2 { font-size: var(--step-1); margin-bottom: .5rem; }
.response dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; font-size: .95rem; }
.response dt { font-weight: 600; }
.response dd { margin: 0; color: var(--muted); }

/* Prose (legal) */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.25rem; }
.prose li { margin-bottom: .4rem; }

/* Footer */
.site-footer { background: #1A3142; color: #C9D3D9; padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: .95rem; }
.site-footer a { color: #E9EEF1; text-decoration: none; }
.site-footer a:hover { color: var(--clay); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: 1rem; letter-spacing: .01em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-name span { color: #9FB0BB; }
.footer-brand p { color: #AEBBC4; max-width: 34ch; }
.social { display: flex; gap: .5rem; margin-top: 1rem; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #3B5568; border-radius: 999px; }
.social svg { width: 18px; height: 18px; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #304A5C; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: #93A4B0; font-size: .875rem; }
.footer-base ul { list-style: none; display: flex; gap: 1.25rem; padding: 0; margin: 0; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Page-load: the single orchestrated moment — the hero arch settles in. */
@keyframes arch-in { from { clip-path: inset(18% 0 0 0 round 999px 999px 12px 12px); opacity: 0; } to { clip-path: inset(0 0 0 0 round 999px 999px 12px 12px); opacity: 1; } }
.hero-figure .arch { animation: arch-in 1.1s cubic-bezier(.2, .7, .2, 1) both; }
