@font-face { font-family: "Saira Condensed"; src: url(../fonts/saira-condensed-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url(../fonts/saira-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url(../fonts/saira-condensed-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(../fonts/public-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(../fonts/public-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(../fonts/public-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --brick: #ECEAE4;
  --brick-2: #E0DDD5;
  --ink: #12231B;
  --muted: #4A5A51;
  --board: #0E6E48;
  --board-deep: #0A3D29;
  --on-board: #E4EFE8;
  --on-board-muted: #B5CEC0;
  --yellow: #F2C200;

  --pad: clamp(16px, 2.4vw, 32px);
  --anchor: 42%;
  --nav-h: 64px;
  --gap-section: clamp(88px, 12vw, 200px);

  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --text: "Public Sans", system-ui, sans-serif;

  --settle: cubic-bezier(.22, 1, .36, 1);
  --inout: cubic-bezier(.65, 0, .25, 1);
  --t-control: 220ms;
  --t-enter: 900ms;
  --t-scene: 1200ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--brick); color: var(--ink); font: 400 17px/1.55 var(--text); caret-color: var(--board); }
::selection { background: var(--yellow); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.6rem, 5.6vw, 5.5rem); margin-bottom: clamp(24px, 3vw, 40px); }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--pad); top: -60px; z-index: 30; background: var(--yellow); color: var(--ink); padding: 12px 16px; font-weight: 600; }
.skip:focus { top: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.need { font-size: 14px; font-weight: 600; color: var(--muted); }

/* Buttons: flat, square like the sign board */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.3em; min-height: 48px; padding: 0 22px; font: 700 18px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; border: 0; border-radius: 0; cursor: pointer; transition: transform 160ms ease-out, background-color 200ms ease; white-space: nowrap; }
.btn--call { background: var(--yellow); color: var(--ink); font-variant-numeric: tabular-nums; }
.btn:active, .motion:active, .job:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn--call:hover { background: #FFD21F; } .link:hover { text-decoration-thickness: 2px; } }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }

/* Nav sits on the board green */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; height: var(--nav-h); padding: 0 var(--pad); background: var(--board); color: #fff; }
.nav__mark { font: 800 26px/1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: 0.02em; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { font-size: 15px; font-weight: 500; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { text-decoration: underline; } }
.motion { min-height: 44px; padding: 0 4px; background: none; border: 0; color: inherit; font: 500 15px/1 var(--text); cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; transition: transform 160ms ease-out; }
.nav__call { min-height: 44px; }

/* Hero: the photo at its own ratio, the sign continuing below as the board */
.hero__photo { margin: 0; overflow: hidden; background: var(--board); }
.hero__photo img { width: 100%; height: min(calc(100svh - var(--nav-h) - 300px), 740px); min-height: 360px; object-fit: cover; object-position: 50% 45%; }
.hero__board { display: grid; grid-template-columns: 1fr minmax(320px, 0.9fr); gap: 24px 48px; align-items: end; padding: 28px var(--pad) 36px; background: var(--board); color: #fff; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 8.4rem); line-height: 0.86; letter-spacing: 0.005em; }
.spaced { margin: 14px 0 0; font: 600 clamp(14px, 1.4vw, 20px)/1 var(--display); text-transform: uppercase; letter-spacing: 0.42em; color: #fff; }
.hero__line { font-size: 19px; line-height: 1.4; max-width: 34ch; margin-bottom: 12px; }
.hero__meta { margin-bottom: 18px; }
.hero__cta, .visit__cta, .note__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.hero .link { color: #fff; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-variant-numeric: tabular-nums; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--on-board-muted); }
.status.is-open .status__dot { background: var(--yellow); }
.status--ink .status__dot { background: var(--muted); }
.status--ink.is-open .status__dot { background: var(--board); }

/* What's it in for: the posted notice and the go-ahead note */
.infor { display: grid; grid-template-columns: var(--anchor) 1fr; gap: 0 clamp(32px, 5vw, 80px); padding: var(--gap-section) var(--pad) 0; }
.lede { max-width: 38ch; font-size: 19px; }
.jobs { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 28px; }
.job { min-height: 52px; padding: 6px 0; background: none; border: 0; color: var(--muted); font: 700 clamp(26px, 2.6vw, 38px)/1 var(--display); text-transform: uppercase; text-align: left; cursor: pointer; transition: color 200ms ease, transform 160ms ease-out; }
.job::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.4em; background: transparent; vertical-align: 0.08em; transition: background-color 200ms ease; }
.job[aria-selected="true"] { color: var(--ink); }
.job[aria-selected="true"]::before { background: var(--board); }
@media (hover: hover) and (pointer: fine) { .job:hover { color: var(--ink); } }
.notice-wrap { display: grid; grid-template-columns: 1fr; gap: 0; align-self: start; }
.notice { background: #F6F5F1; padding: 0 0 28px; }
.notice > :not(.notice__head) { margin-left: clamp(20px, 2.4vw, 36px); margin-right: clamp(20px, 2.4vw, 36px); max-width: 60ch; }
.notice__head { padding: 14px clamp(20px, 2.4vw, 36px); margin-bottom: 24px; background: var(--board); color: #fff; font-size: clamp(24px, 2.4vw, 34px); line-height: 1; }
.notice__head--yellow { background: var(--yellow); color: var(--ink); }
.notice__head--red { background: var(--ink); color: #fff; }
.notice__big { font: 800 clamp(64px, 8vw, 112px)/0.9 var(--display); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.notice__sub { font: 700 24px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 20px; }
.notice__said { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; }
.notice__quote { margin-top: 20px; margin-bottom: 0; }
.notice__quote p { font-size: 19px; line-height: 1.45; margin-bottom: 6px; }
.notice__quote footer { color: var(--muted); font-size: 14px; }
.rights { padding-left: 1.3em; margin-top: 0; font-size: 19px; }
.rights li { margin-bottom: 8px; }
.note { background: var(--brick-2); padding: 24px clamp(20px, 2.4vw, 36px) 28px; }
.note label { display: block; font: 700 20px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.note input { width: 100%; max-width: 420px; min-height: 48px; padding: 10px 14px; border: 0; border-radius: 0; background: #F6F5F1; color: var(--ink); font: 400 17px var(--text); }
.note input::placeholder { color: #6B776F; }
.note__text { margin: 18px 0 16px; font-size: 19px; line-height: 1.45; max-width: 52ch; }
.note .small { margin: 14px 0 0; }

/* Posted in the bay */
.posted { margin-top: var(--gap-section); }
.posted__photo { margin: 0; }
.posted__photo img { width: 100%; aspect-ratio: 16 / 9; max-height: 82svh; object-fit: cover; object-position: 50% 40%; }
.posted__photo figcaption { padding: 10px var(--pad) 0; color: var(--muted); font-size: 14px; }
.posted__body { display: grid; grid-template-columns: var(--anchor) 1fr; gap: 0 clamp(32px, 5vw, 80px); padding: clamp(56px, 7vw, 104px) var(--pad) 0; }
.posted__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.posted__list dt { font: 800 clamp(24px, 2.2vw, 32px)/1 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.posted__list dd { margin: 0; max-width: 40ch; }

/* Father and son */
.reviews { margin-top: var(--gap-section); padding: var(--gap-section) var(--pad); background: var(--board-deep); color: var(--on-board); }
.reviews h2 { color: var(--on-board); }
.reviews__grid { display: grid; grid-template-columns: var(--anchor) 1fr; gap: 48px clamp(32px, 5vw, 80px); }
.reviews__lead { margin: 0; }
.reviews__lead p { font-size: clamp(22px, 2vw, 30px); line-height: 1.3; font-weight: 400; max-width: 34ch; }
.reviews__lead footer, .quotes span { color: var(--on-board-muted); font-size: 15px; }
.rating { display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.rating__n { font: 800 clamp(88px, 10vw, 150px)/0.8 var(--display); color: var(--on-board); font-variant-numeric: tabular-nums; }
.rating__t { font-size: 17px; color: var(--on-board-muted); max-width: 14ch; }
.quotes { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 24px; }
.quotes p { font-size: 19px; line-height: 1.45; margin-bottom: 4px; max-width: 52ch; }
.link--light { color: var(--on-board); }

/* Visit */
.visit { padding: var(--gap-section) var(--pad); }
.visit__addr { margin: 0 0 40px; font: 800 clamp(3.4rem, 13.6vw, 15.5rem)/0.84 var(--display); text-transform: uppercase; letter-spacing: -0.005em; color: var(--board); }
.visit__num { display: block; }
.visit__street { display: block; }
.visit__grid { display: grid; grid-template-columns: var(--anchor) 1fr; gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.visit__city { font-size: 19px; max-width: 34ch; }
.visit .status { margin-bottom: 18px; }
.hours { border-collapse: collapse; width: 100%; max-width: 520px; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font: 700 20px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; padding-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 10px 14px; font-weight: 400; }
.hours tr:nth-child(odd) { background: var(--brick-2); }
.hours tr.is-today { background: var(--board); color: #fff; }
.hours tr.is-today th { font-weight: 600; }

/* Footer: the sign line */
.foot { padding: clamp(72px, 9vw, 140px) var(--pad) 120px; background: var(--board); color: #fff; }
.foot__sign { margin: 0; font: 800 clamp(3rem, 10.4vw, 12rem)/0.86 var(--display); text-transform: uppercase; }
.spaced--foot { margin: 18px 0 48px; }
.foot__ko { font-size: 17px; }
.foot__facts { font-size: 17px; }
.foot__note { margin-top: 32px; font-size: 14px; color: var(--on-board); max-width: 60ch; }

/* Phone call bar */
.bar { display: none; }

@media (max-width: 899px) {
  .nav__links { display: none; }
  .motion { margin-left: auto; }
  .hero__board { grid-template-columns: 1fr; }
  .infor, .posted__body, .reviews__grid, .visit__grid { grid-template-columns: 1fr; }
  .notice-wrap { margin-top: 32px; }
}
@media (max-width: 699px) {
  :root { --nav-h: 56px; }
  body { font-size: 17px; }
  .nav { gap: 12px; }
  .nav__mark { font-size: 22px; }
  .hide-s { display: none; }
  .nav__call { padding: 0 16px; }
  .hero__photo img { height: min(44svh, 487px); min-height: 0; aspect-ratio: auto; object-position: 50% 50%; }
  .hero__board { padding: 20px var(--pad) 24px; gap: 12px; }
  .hero__line { margin-bottom: 8px; }
  .hero__meta { margin-bottom: 12px; }
  .hero__cta { gap: 4px 20px; }
  .hero h1 { font-size: clamp(2.9rem, 14.4vw, 4rem); }
  .spaced { letter-spacing: 0.32em; }
  .hero__line { font-size: 17px; }
  .notice > :not(.notice__head) { margin-left: 20px; margin-right: 20px; }
  .posted__photo img { aspect-ratio: 4 / 3; }
  .posted__list { grid-template-columns: 1fr; gap: 24px; }
  .jobs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .job { font-size: 20px; min-height: 48px; padding: 8px 14px; background: var(--brick-2); color: var(--ink); }
  .job::before { display: none; }
  .job[aria-selected="true"] { background: var(--board); color: #fff; }
  .visit__addr { font-size: clamp(2.4rem, 14.6vw, 4.2rem); }
  .foot { padding-bottom: 112px; }
  .bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; gap: 16px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: var(--board-deep); color: var(--on-board); transition: transform 250ms var(--settle); }
  .bar .btn { flex: 1; }
  .bar__dir { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
  .bar.is-away { transform: translateY(110%); transition-duration: 150ms; }
}

/* Motion: the hero settles once; notices cross-fade */
.hero__photo img { transition: transform var(--t-scene) var(--settle), opacity var(--t-scene) var(--settle); }
html.is-loading .hero__photo img { transform: scale(1.04); opacity: 0.6; }
.notice.is-in { animation: notice-in 260ms var(--settle); }
@keyframes notice-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html.still *, html.still *::before, html.still *::after { animation: none !important; transition-duration: 0ms !important; }
html.still .hero__photo img { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html.is-loading .hero__photo img { transform: none; }
  .notice.is-in { animation: none; }
}

/* Scroll-linked, no script: the bay photo settles in, the posted notices and the address rise into place as they enter. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not(.still) .posted__photo img { animation: settle-photo linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    html:not(.still) .posted__list > div, html:not(.still) .quotes li, html:not(.still) .visit__addr span { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
  }
}
@keyframes settle-photo { from { transform: scale(1.06); } to { transform: none; } }
@keyframes rise { from { opacity: 0.2; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.posted__photo { overflow: hidden; }
