/* Third and Market: the site is cut from the same enamel as the sign on the corner. */
:root {
  --enamel: #f2b01e;
  --enamel-ink: #17140f;
  --navy: #1d2a6b;
  --navy-deep: #141e52;
  --tube: #3f63e0;
  --cream: #fbf4e2;
  --cream-2: #f3e8cc;
  --ink: #17140f;
  --ink-soft: #4a4336;
  --on-navy: #fbf4e2;
  --on-navy-soft: #d6daf0;
  --brick: #8e3a25;
  --ok: #1e6b3a;
  --radius-panel: 22px;
  --radius-sign: 14px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --script: "Yellowtail", cursive;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 40px;
}

* { box-sizing: border-box; }
html { background: var(--enamel); color: var(--ink); -webkit-text-size-adjust: 100%; scrollbar-color: var(--navy) var(--enamel); }
body { margin: 0; font: 400 17px/1.6 var(--sans); font-stretch: 100%; background: var(--enamel); }
img, video { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
::selection { background: var(--navy); color: var(--cream); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.on-navy :focus-visible, .panel :focus-visible { outline-color: var(--enamel); }
input, textarea, button { font: inherit; color: inherit; caret-color: var(--navy); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--cream); color: var(--ink); padding: 10px 14px; border-radius: 999px; font-weight: 700; }
.skip:focus { left: 12px; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Type */
.script { font: 400 clamp(60px, 7.2vw, 108px)/0.9 var(--script); margin: 0; }
.caps { font-family: var(--sans); font-weight: 900; font-stretch: 72%; text-transform: uppercase; letter-spacing: 0.005em; line-height: 1.02; text-wrap: balance; }
h1.caps { font-size: clamp(32px, 3.1vw, 46px); margin: 0 0 18px; max-width: 19ch; }
h2.caps { font-size: clamp(30px, 3.4vw, 50px); margin: 0 0 16px; max-width: 18ch; }
h3.caps { font-size: 28px; margin: 0 0 6px; }
.lede { font-size: 18px; max-width: 48ch; margin: 0 0 28px; }

/* Header */
header.site { padding-block: 20px; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font: 400 34px/1 var(--script); color: var(--navy); text-decoration: none; white-space: nowrap; }
nav.main { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 16px; }
nav.main a { color: var(--ink); text-decoration: none; padding-block: 10px; }
nav.main a:hover, nav.main a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.call { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--navy); color: var(--cream); font-weight: 800; text-decoration: none; white-space: nowrap; }
.call:hover { background: var(--navy-deep); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--enamel); color: var(--enamel-ink); font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.btn:hover { background: #ffc233; }
.btn.outline { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }
.btn.outline:hover { background: rgba(251, 244, 226, 0.1); }
.btn.navy { background: var(--navy); color: var(--cream); }
.btn.navy:hover { background: var(--navy-deep); }
.btn.ink { background: var(--ink); color: var(--cream); }
.btn:active, .call:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Enamel panels: navy plate, thin marigold inset line */
.panel { background: var(--navy); color: var(--on-navy); border-radius: var(--radius-panel); padding: 10px; }
.panel-in { border: 2px solid var(--enamel); border-radius: calc(var(--radius-panel) - 7px); overflow: hidden; }
.panel a:not(.btn) { color: var(--enamel); }
.plate { background: var(--cream); color: var(--ink); border-radius: var(--radius-panel); box-shadow: inset 0 0 0 2px var(--ink); }
.plate.ink { background: var(--ink); color: var(--cream); box-shadow: none; }
.plate.ink a:not(.btn) { color: var(--enamel); }
section { margin-block: 0 22px; }

/* Hero panel */
.hero .panel-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(600px, calc(100svh - 230px)); }
.hero-copy { padding: 44px 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.wordmark { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.wordmark svg { flex: none; width: 46px; height: 46px; }
.hero-copy .lede { color: var(--on-navy-soft); }
.hero-copy .actions { margin-top: 6px; }
.hero-photo { margin: 0; position: relative; background: var(--navy-deep); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 26% 45%; }

/* Blade signs */
.blades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.12fr); gap: 16px; margin-bottom: 22px; }
.sign { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px 20px; border-radius: var(--radius-sign); background: var(--cream); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 2px var(--ink); transition: transform 160ms var(--ease-out); }
.sign b { font: 900 30px/1 var(--sans); font-stretch: 70%; text-transform: uppercase; margin-bottom: 4px; }
.sign span { font-size: 15px; font-weight: 600; line-height: 1.35; }
.sign .status { margin-top: 10px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ok); }
.sign.dark { background: var(--ink); color: var(--cream); box-shadow: none; }
.sign.dark .status { color: var(--enamel); }
/* Not lit yet: the enamel sign is up but the tubes are off. Honest status, not decoration. */
.sign.unlit { background: transparent; color: var(--enamel-ink); box-shadow: inset 0 0 0 2px rgba(23, 20, 15, 0.55); }
.sign.unlit b { color: rgba(23, 20, 15, 0.62); }
.sign.unlit .status { color: #6b2716; }
a.sign:hover { transform: translateY(-2px); }
a.sign:active { transform: scale(0.98); }

/* Split section inside a panel or plate */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 44px; align-items: center; }
.split.wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.panel .split p { color: var(--on-navy-soft); }

/* Find us frame: Street View still, the Google aerial plays over it once ready */
.frame { position: relative; margin: 0; }
.frame .view { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 10; background: var(--navy-deep); }
.frame img, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.frame video { opacity: 0; transition: opacity 900ms ease; }
.frame.has-media video { opacity: 1; }
.frame figcaption { margin-top: 10px; font-size: 13px; color: var(--on-navy-soft); }

/* Facts list */
.facts { list-style: none; margin: 0; padding: 0; border-top: 2px solid currentColor; }
.facts li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(23, 20, 15, 0.25); }
.facts .k { font-weight: 800; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.panel .facts li { border-bottom-color: rgba(251, 244, 226, 0.25); }

/* Tenants band */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.checks svg { margin-top: 4px; }
.checks strong { color: var(--enamel); }

/* Downtown gallery straight on the enamel */
.town { padding: 30px 0 10px; }
.town-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 18px; }
.town-head p { max-width: 46ch; margin: 0; font-weight: 500; }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sign); box-shadow: 0 0 0 2px var(--ink); }
.gallery figcaption { margin-top: 8px; font-size: 14px; font-weight: 700; }

/* FAQ */
.faq details { border-bottom: 1px solid rgba(23, 20, 15, 0.25); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 800; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; margin-top: 4px; transition: transform 250ms var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; max-width: 62ch; color: var(--ink-soft); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; opacity: 0; overflow: clip; transition: block-size 250ms var(--ease-out), opacity 250ms var(--ease-out), content-visibility 250ms allow-discrete; }
  .faq details[open]::details-content { block-size: auto; opacity: 1; }
}

/* Contact form on a cream card inside the navy panel */
.form-card { background: var(--cream); color: var(--ink); border-radius: 14px; padding: 28px; }
.form-card a { color: var(--navy) !important; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
label.f { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 10px; background: #fffdf6; font-size: 16px; }
textarea { min-height: 120px; resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; margin: 6px 0 18px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; }
.status { margin-top: 14px; font-weight: 700; min-height: 1.5em; }
.status.ok { color: var(--ok); }
.status.err { color: var(--brick); }

/* Page head for inner pages */
.page-head .panel-in { padding: 44px; }
.page-head h1.caps { font-size: clamp(36px, 4.4vw, 62px); max-width: 16ch; }
.page-head p { color: var(--on-navy-soft); max-width: 54ch; margin: 0; font-size: 18px; }

/* Legal documents */
.doc { padding: 44px; max-width: 860px; }
.doc h1 { font: 900 clamp(34px, 4vw, 54px)/1.02 var(--sans); font-stretch: 72%; text-transform: uppercase; margin: 0 0 6px; }
.doc .updated { margin: 0 0 26px; color: var(--ink-soft); font-weight: 600; }
.doc h2 { font: 900 24px/1.1 var(--sans); font-stretch: 78%; text-transform: uppercase; margin: 34px 0 10px; }
.doc p, .doc li { max-width: 70ch; }
.doc ul { padding-left: 22px; }

/* Footer */
footer.site { background: var(--ink); color: var(--cream); margin-top: 34px; padding: 44px 0 30px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer.site .brand { color: var(--enamel); }
footer.site p { margin: 12px 0 0; color: #d9d1bd; font-size: 15px; }
footer.site a { color: var(--cream); }
footer.site nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 32px; align-content: start; font-weight: 600; }
footer.site nav a { text-decoration: none; padding-block: 4px; }
footer.site nav a:hover { text-decoration: underline; }
footer.site .fine { margin-top: 28px; font-size: 13px; color: #b9b19c; }

/* Signature: signs switch on. Content is visible by default; with JS and motion allowed,
   signs start dark and switch on once, with a short stepped flicker, as they come into view. */
@media (prefers-reduced-motion: no-preference) {
  html.js .switch:not(.unlit) { opacity: 0.35; }
  html.js .switch.on:not(.unlit) { animation: switch-on 760ms steps(1, end) var(--d, 0ms) both; }
  html.js .wordmark .script { animation: switch-on 900ms steps(1, end) 250ms both; }
  @keyframes switch-on { 0% { opacity: 0.35; } 18% { opacity: 1; } 28% { opacity: 0.45; } 40%, 100% { opacity: 1; } }
  .status.ok, .status.err { animation: status-in 200ms var(--ease-out); }
  @keyframes status-in { from { opacity: 0; transform: translateY(4px); } }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .sign, .call { transition: none; }
  .btn:active, .call:active, a.sign:active, a.sign:hover { transform: none; }
}

/* Mobile */
@media (max-width: 960px) {
  :root { --gutter: 16px; }
  header.site { padding-block: 14px 8px; }
  header.site .wrap { flex-wrap: wrap; row-gap: 6px; }
  .brand { font-size: 28px; }
  .call { min-height: 44px; padding: 0 16px; font-size: 15px; }
  nav.main { order: 3; width: 100%; gap: 22px; font-size: 15px; }
  .panel { padding: 7px; border-radius: 18px; }
  .hero .panel-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; height: 240px; }
  .hero-copy { padding: 26px 22px 24px; }
  .hero-copy .actions { margin-top: 0; }
  .wordmark svg { width: 34px; height: 34px; }
  .blades { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .sign { padding: 14px 14px 16px; }
  .sign b { font-size: 24px; }
  .split, .split.wide-left { grid-template-columns: 1fr; padding: 24px 20px; gap: 24px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .town-head { flex-direction: column; align-items: start; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 20px; }
  .page-head .panel-in, .doc { padding: 26px 20px; }
}

/* Small layout helpers */
.split.top { align-items: start; }
#faq .split { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); }
@media (max-width: 960px) { #faq .split { grid-template-columns: 1fr; } }
.gap-top { margin-top: 24px; }
.gap-bottom { margin: 0 0 24px; }
.flush { margin: 0; }
.blades.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blades.three .sign span { font-weight: 500; font-size: 16px; }
.blades.three .sign a { color: var(--navy); }
.blades.three .sign.dark a { color: var(--enamel); }
.page-head .wordmark { margin-bottom: 18px; }
.page-head p.script { font-size: clamp(56px, 6vw, 96px); color: var(--cream); margin: 0; max-width: none; }
.page-head .panel-in.with-photo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: 0; }
.page-head .with-photo .page-copy { padding: 44px; }
.page-head .with-photo figure { margin: 0; }
.page-head .with-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 88% 40%; }
a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 960px) {
  .page-head .panel-in.with-photo { grid-template-columns: 1fr; }
  .page-head .with-photo figure { order: -1; height: 200px; }
  .page-head .with-photo .page-copy { padding: 26px 20px; }
}
.page-head .panel-in a:not(.btn) { color: var(--enamel); }
@media (max-width: 960px) { .blades.three { grid-template-columns: 1fr; } }

/* Finish-review fixes */
/* Lit signs carry a tube line inside the enamel edge; unlit signs have none. */
.sign { position: relative; }
.sign:not(.unlit)::after { content: ""; position: absolute; inset: 6px; border: 2px solid var(--tube); border-radius: 9px; pointer-events: none; }
.sign.dark::after { border-color: var(--enamel); }
.wordmark .chev-r { transform: scaleX(-1); }
.hero .script { font-size: clamp(52px, 4.9vw, 82px); white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  /* Replace the whole-card fade: the card stays put, the tube flickers on. */
  html.js .switch:not(.unlit) { opacity: 1; }
  html.js .switch.on:not(.unlit) { animation: none; }
  html.js .sign.switch:not(.unlit)::after { opacity: 0; }
  html.js .sign.switch.on:not(.unlit)::after { animation: switch-on 760ms steps(1, end) var(--d, 0ms) both; }
  html.js .panel.switch .panel-in { border-color: rgba(242, 176, 30, 0.22); }
  html.js .panel.switch .wordmark svg { opacity: 0.3; }
  html.js .panel.switch.on .panel-in { animation: tube-on 900ms steps(1, end) both; }
  html.js .panel.switch.on .wordmark svg { animation: switch-on 900ms steps(1, end) 120ms both; }
  html.js .wordmark .script { animation: none; }
  @keyframes tube-on { 0% { border-color: rgba(242, 176, 30, 0.22); } 18% { border-color: var(--enamel); } 28% { border-color: rgba(242, 176, 30, 0.35); } 40%, 100% { border-color: var(--enamel); } }
}

/* Stacked plates: heading over a full-width list, no dead column */
.stacked { padding: 44px; }
.stacked > h2 { margin-bottom: 22px; }
.stacked .faq, .stacked .facts { max-width: 980px; }

/* Gallery: one row height */
.gallery img { aspect-ratio: auto; height: 320px; }

/* Tenant tasks: one plate, three rows with their own action */
.tasks { list-style: none; margin: 0; padding: 0; }
.tasks li { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(23, 20, 15, 0.25); }
.tasks li:first-child { border-top: 2px solid var(--ink); }
.tasks h3 { margin: 0; }
.tasks p { margin: 0; max-width: 60ch; }
.page-head .actions { margin-top: 26px; }
.page-head .with-photo img { object-position: 0% 40%; }

@media (max-width: 960px) {
  .hero .script { font-size: 42px; }
  .hero-photo { height: 180px; }
  .hero-copy { padding: 20px 18px 22px; }
  .hero h1.caps { font-size: 27px; margin-bottom: 12px; }
  .hero .lede { font-size: 16px; margin-bottom: 18px; }
  .wordmark { gap: 10px; margin-bottom: 14px; }
  .wordmark svg { width: 26px; height: 26px; }
  .page-head p.script { font-size: 44px; }
  .stacked { padding: 24px 20px; }
  .gallery img { height: 220px; }
  .gallery figure:not(:first-child) img { height: 150px; }
  .tasks li { grid-template-columns: 1fr; gap: 8px; }
}
