/* ==========================================================================
   Peak Height Fit — stylesheet
   Lowcountry marsh-and-sand aesthetic: deep marsh green, driftwood brown,
   tide-blue accent, warm sand paper. System fonts only — no external font
   requests, no CDN, no build step.
   ========================================================================== */

:root {
  --phf-marsh:       #243d31;
  --phf-marsh-deep:  #162820;
  --phf-marsh-mid:   #33513f;
  --phf-tide:        #3c7d86;
  --phf-tide-soft:   #6ba3aa;
  --phf-driftwood:   #9c7a54;
  --phf-driftwood-lt:#c9a877;
  --phf-sand:        #ece1c6;
  --phf-sand-deep:   #ddcda1;
  --phf-paper:        #faf6ec;
  --phf-ink:         #21281f;
  --phf-slate:       #566056;
  --phf-slate-soft:  #7c8579;
  --phf-line:        #dcd2b4;
  --phf-line-soft:   #e9e1c8;
  --phf-good:        #3c6b4f;

  --phf-serif: "Big Caslon", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --phf-sans:  "Trebuchet MS", Verdana, Tahoma, sans-serif;

  --phf-max: 1180px;
  --phf-radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.phf-body {
  margin: 0;
  font-family: var(--phf-sans);
  color: var(--phf-ink);
  background: var(--phf-paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--phf-serif);
  font-weight: 700;
  color: var(--phf-marsh);
  line-height: 1.16;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.15rem, 4.3vw, 3.4rem); letter-spacing: -0.005em; }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.1rem); }
h3 { font-size: 1.2rem; margin-bottom: 10px; }

p { margin: 0 0 16px; color: var(--phf-slate); }
a { color: var(--phf-tide); text-decoration: none; }
a:hover { color: var(--phf-driftwood); }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

.phf-skip {
  position: absolute; left: -999px; top: auto;
  background: var(--phf-marsh); color: var(--phf-sand);
  padding: 10px 18px; z-index: 999; border-radius: var(--phf-radius);
}
.phf-skip:focus { left: 12px; top: 12px; }

.phf-wrap { max-width: var(--phf-max); margin: 0 auto; padding: 0 24px; }

/* ---- tide info line ------------------------------------------------- */
.phf-tideline {
  background: var(--phf-marsh-deep);
  color: var(--phf-sand-deep);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.phf-tideline__inner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 24px;
}
.phf-tideline a { color: var(--phf-sand-deep); }
.phf-tideline a:hover { color: #fff; }
.phf-tideline__sep { opacity: 0.5; }

/* ---- header ------------------------------------------------------------ */
.phf-header {
  background: var(--phf-paper);
  border-bottom: 1px solid var(--phf-line);
  position: sticky; top: 0; z-index: 60;
  transition: box-shadow .25s ease;
}
.phf-header.is-condensed { box-shadow: 0 8px 22px rgba(22, 40, 32, 0.12); }
.phf-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 24px;
}
.phf-brand { display: flex; align-items: center; gap: 12px; }
.phf-brand__mark { color: var(--phf-marsh); flex-shrink: 0; }
.phf-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.phf-brand__name { font-family: var(--phf-serif); font-weight: 700; font-size: 1.18rem; color: var(--phf-marsh); }
.phf-brand__tag { font-size: 0.72rem; color: var(--phf-slate-soft); letter-spacing: 0.03em; }

.phf-nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: 1px solid var(--phf-marsh);
  background: transparent; cursor: pointer; border-radius: var(--phf-radius);
}
.phf-nav-toggle span { display: block; width: 18px; height: 2px; background: var(--phf-marsh); margin: 0 auto; }

.phf-nav { display: flex; align-items: center; gap: 26px; }
.phf-nav__list { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.phf-nav__item a {
  font-size: 0.9rem; color: var(--phf-marsh); font-weight: 700;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.phf-nav__item.is-active a,
.phf-nav__item a:hover { border-bottom-color: var(--phf-driftwood); color: var(--phf-marsh); }

/* ---- buttons ---------------------------------------------------------- */
.phf-btn {
  display: inline-block; padding: 12px 24px; font-weight: 700; font-size: 0.9rem;
  border-radius: var(--phf-radius); border: 1.5px solid transparent; cursor: pointer;
  letter-spacing: 0.01em; font-family: var(--phf-sans);
}
.phf-btn--primary { background: var(--phf-marsh); border-color: var(--phf-marsh); color: var(--phf-sand); }
.phf-btn--primary:hover { background: var(--phf-marsh-deep); border-color: var(--phf-marsh-deep); color: #fff; }
.phf-btn--ghost { background: transparent; border-color: rgba(250,246,236,0.6); color: var(--phf-paper); }
.phf-btn--ghost:hover { border-color: var(--phf-driftwood-lt); color: var(--phf-driftwood-lt); }
.phf-btn--panel { background: transparent; border-color: var(--phf-marsh); color: var(--phf-marsh); }
.phf-btn--panel:hover { background: var(--phf-marsh); color: var(--phf-sand); }
.phf-btn--block { display: block; width: 100%; text-align: center; }

/* ---- hero --------------------------------------------------------------- */
.phf-hero { padding: 58px 0 46px; background: linear-gradient(180deg, var(--phf-sand) 0%, var(--phf-paper) 100%); }
.phf-hero__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 50px; align-items: center; }
.phf-hero__eyebrow {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--phf-driftwood); font-weight: 700; margin-bottom: 14px;
}
.phf-hero__lede { font-size: 1.08rem; max-width: 54ch; }
.phf-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

/* ---- flight window readout panel --------------------------------------- */
.phf-window {
  background: var(--phf-marsh); color: var(--phf-sand);
  border-radius: var(--phf-radius); padding: 24px 24px 20px; position: relative;
  border: 1px solid var(--phf-marsh-mid);
}
.phf-window__head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(236,225,198,0.2); padding-bottom: 12px; margin-bottom: 18px;
}
.phf-window__title { font-family: var(--phf-serif); font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--phf-sand-deep); }
.phf-window__badge {
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--phf-tide-soft); border-radius: 999px; padding: 3px 10px; color: var(--phf-tide-soft);
  display: inline-flex; align-items: center; gap: 6px;
}
.phf-window__badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--phf-tide-soft);
}
.phf-window-row { margin-bottom: 15px; }
.phf-window-row:last-child { margin-bottom: 0; }
.phf-window-row__label { display: flex; justify-content: space-between; font-size: 0.84rem; margin-bottom: 6px; }
.phf-window-row__label strong { color: var(--phf-driftwood-lt); font-family: var(--phf-serif); }
.phf-window-row__bar {
  position: relative; height: 8px; border-radius: 4px;
  background: rgba(236,225,198,0.14);
}
.phf-window-row__fill { height: 100%; border-radius: 4px; background: var(--phf-tide-soft); width: 0; transition: width 1.1s ease; }
.js-on .phf-rise.is-up .phf-window-row__fill,
body:not(.js-on) .phf-window-row__fill { width: var(--fill, 60%); }
.phf-window-meta { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 6px 0; color: rgba(250,246,236,0.8); border-top: 1px dashed rgba(236,225,198,0.18); margin-top: 4px; }
.phf-window-meta:first-of-type { border-top: none; margin-top: 14px; }

/* ---- stats strip -------------------------------------------------------- */
.phf-stats { background: var(--phf-sand-deep); border-top: 1px solid var(--phf-line); border-bottom: 1px solid var(--phf-line); }
.phf-stats__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.phf-stat { padding: 22px 18px; text-align: center; border-left: 1px solid var(--phf-line); }
.phf-stat:first-child { border-left: none; }
.phf-stat__num { display: block; font-family: var(--phf-serif); font-size: 1.7rem; color: var(--phf-marsh); font-weight: 700; }
.phf-stat__label { display: block; font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--phf-slate-soft); margin-top: 4px; }

/* ---- sections ------------------------------------------------------- */
.phf-section { padding: 62px 0; }
.phf-section--alt { background: var(--phf-sand); }
.phf-section__head { max-width: 700px; margin-bottom: 32px; }
.phf-eyebrow {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--phf-driftwood); font-weight: 700; margin-bottom: 10px;
}
.phf-page-header { padding: 44px 0 28px; background: var(--phf-sand); border-bottom: 1px solid var(--phf-line); }
.phf-breadcrumb { display: inline-block; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--phf-slate-soft); margin-bottom: 10px; }
.phf-lede { font-size: 1.04rem; max-width: 62ch; }

/* ---- generic grid ---------------------------------------------------- */
.phf-grid { display: grid; gap: 22px; }
.phf-grid--2 { grid-template-columns: repeat(2, 1fr); }
.phf-grid--3 { grid-template-columns: repeat(3, 1fr); }
.phf-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- card ------------------------------------------------------------ */
.phf-card {
  background: var(--phf-paper); border: 1px solid var(--phf-line);
  border-radius: var(--phf-radius); padding: 24px; position: relative;
  border-left: 3px solid var(--phf-driftwood);
}
.phf-card p:last-child, .phf-card ul:last-child { margin-bottom: 0; }
.phf-card__icon {
  width: 38px; height: 38px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--phf-serif); font-weight: 700; color: var(--phf-marsh);
  background: var(--phf-sand-deep); border-radius: var(--phf-radius);
}
.phf-card__link { font-weight: 700; display: inline-block; margin-top: 4px; }

/* ---- split (two-column) ------------------------------------------------ */
.phf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.phf-split--reverse .phf-split__media { order: -1; }

/* ---- comparison bars ------------------------------------------------- */
.phf-bars { display: flex; flex-direction: column; gap: 16px; }
.phf-bar-row__label { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 6px; }
.phf-bar-row__label strong { color: var(--phf-marsh); font-family: var(--phf-serif); }
.phf-bar-track { height: 10px; background: var(--phf-sand-deep); border-radius: 5px; overflow: hidden; }
.phf-bar-fill { height: 100%; background: var(--phf-tide); border-radius: 5px; }
.phf-bar-fill--muted { background: var(--phf-slate-soft); }

/* ---- timeline ----------------------------------------------------------- */
.phf-timeline { position: relative; padding-left: 6px; counter-reset: phf-step; }
.phf-timeline__item {
  position: relative; padding-left: 54px; padding-bottom: 32px; border-left: 2px dashed var(--phf-line);
  margin-left: 20px;
}
.phf-timeline__item:last-child { padding-bottom: 4px; }
.phf-timeline__num {
  position: absolute; left: -21px; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--phf-marsh); color: var(--phf-sand); border: 2px solid var(--phf-driftwood);
  display: flex; align-items: center; justify-content: center; font-family: var(--phf-serif); font-weight: 700;
}
.phf-timeline__num::before { counter-increment: phf-step; content: counter(phf-step); }
.phf-timeline__item h3 { margin-bottom: 6px; }
.phf-timeline__item p { margin-bottom: 0; max-width: 56ch; }

/* ---- testimonials --------------------------------------------------- */
.phf-stars { color: var(--phf-driftwood); letter-spacing: 2px; display: block; margin-bottom: 10px; }
.phf-testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.phf-avatar {
  width: 42px; height: 42px; border-radius: var(--phf-radius);
  background: var(--phf-marsh); color: var(--phf-sand);
  display: flex; align-items: center; justify-content: center; font-family: var(--phf-serif); font-weight: 700; font-size: 0.85rem;
  flex-shrink: 0;
}
.phf-testimonial__author div span { display: block; font-size: 0.82rem; color: var(--phf-slate-soft); }

/* ---- brand tiles ------------------------------------------------------ */
.phf-brand-tile {
  border: 1px solid var(--phf-line); border-radius: var(--phf-radius); padding: 20px;
  text-align: center; background: var(--phf-paper);
}
.phf-brand-tile__mark {
  width: 44px; height: 44px; margin: 0 auto 10px;
  border: 1.5px solid var(--phf-driftwood); display: flex; align-items: center; justify-content: center;
  font-family: var(--phf-serif); font-weight: 700; color: var(--phf-marsh);
  transform: rotate(45deg);
}
.phf-brand-tile__mark span { transform: rotate(-45deg); display: block; }
.phf-brand-tile strong { display: block; font-family: var(--phf-serif); color: var(--phf-marsh); margin-bottom: 2px; }
.phf-brand-tile span.phf-brand-tile__note { font-size: 0.8rem; color: var(--phf-slate-soft); }

/* ---- pricing ------------------------------------------------------------ */
.phf-price-card { position: relative; text-align: left; }
.phf-price-card--featured { border-left-color: var(--phf-marsh); box-shadow: 0 14px 30px rgba(22, 40, 32, 0.14); }
.phf-price-card--featured::before {
  content: "Most Booked"; position: absolute; top: -12px; right: 18px;
  background: var(--phf-marsh); color: var(--phf-sand); font-size: 0.68rem; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.phf-price { font-family: var(--phf-serif); font-size: 2.05rem; color: var(--phf-marsh); margin: 8px 0 10px; }
.phf-price span { font-size: 0.94rem; color: var(--phf-slate-soft); font-family: var(--phf-sans); }
.phf-check-list li { position: relative; padding: 6px 0 6px 26px; color: var(--phf-slate); }
.phf-check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--phf-good); font-weight: 700; }

.phf-table-wrap { overflow-x: auto; border: 1px solid var(--phf-line); border-radius: var(--phf-radius); }
.phf-table { width: 100%; border-collapse: collapse; background: var(--phf-paper); }
.phf-table th, .phf-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--phf-line-soft); }
.phf-table th { background: var(--phf-marsh); color: var(--phf-sand); font-family: var(--phf-serif); font-weight: 700; }
.phf-table tr:last-child td { border-bottom: none; }

/* ---- team --------------------------------------------------------------- */
.phf-team-card { text-align: center; border-left: none; border-top: 3px solid var(--phf-driftwood); }
.phf-team-photo {
  width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--phf-marsh); color: var(--phf-sand); display: flex; align-items: center; justify-content: center;
  font-family: var(--phf-serif); font-weight: 700; font-size: 1.05rem; border: 2px solid var(--phf-driftwood);
}
.phf-team-role { display: block; font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--phf-driftwood); margin-bottom: 4px; }

/* ---- FAQ ------------------------------------------------------------- */
.phf-faq-item { border-bottom: 1px solid var(--phf-line); padding: 18px 0; }
.phf-faq-item summary {
  font-family: var(--phf-serif); font-weight: 700; color: var(--phf-marsh); cursor: pointer; font-size: 1.04rem;
  list-style: none; position: relative; padding-right: 26px;
}
.phf-faq-item summary::-webkit-details-marker { display: none; }
.phf-faq-item summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.3rem; color: var(--phf-driftwood); }
.phf-faq-item[open] summary::after { content: "\2212"; }
.phf-faq-item p { margin-top: 12px; margin-bottom: 0; }

/* ---- forms ---------------------------------------------------------- */
.phf-form-card { background: var(--phf-sand); border: 1px solid var(--phf-line); border-radius: var(--phf-radius); padding: 28px; }
.phf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.phf-form-field { margin-bottom: 18px; }
.phf-form-field label { display: block; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--phf-slate); margin-bottom: 6px; }
.phf-form-field input, .phf-form-field select, .phf-form-field textarea {
  width: 100%; border: none; border-bottom: 1.5px solid var(--phf-marsh); background: transparent;
  padding: 9px 2px; font-size: 1rem; font-family: var(--phf-sans); color: var(--phf-ink);
}
.phf-form-field input:focus, .phf-form-field select:focus, .phf-form-field textarea:focus {
  outline: none; border-bottom-color: var(--phf-driftwood);
}
.phf-form-field textarea { resize: vertical; }
.phf-form-note { font-size: 0.84rem; color: var(--phf-slate-soft); }

/* ---- locate panel ------------------------------------------------------ */
.phf-locate {
  position: relative; height: 220px; border-radius: var(--phf-radius); overflow: hidden;
  background: var(--phf-marsh);
  display: flex; align-items: flex-end; padding: 16px;
}
.phf-locate--lg { height: 280px; }
.phf-locate__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(236,225,198,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(236,225,198,0.12) 1px, transparent 1px);
  background-size: 26px 26px;
}
.phf-locate__pin {
  position: absolute; top: 46%; left: 50%; width: 14px; height: 14px; border-radius: 50%;
  background: var(--phf-tide-soft); box-shadow: 0 0 0 6px rgba(107,163,170,0.25);
}
.phf-locate__label { position: relative; z-index: 2; color: var(--phf-sand); font-weight: 700; font-size: 0.92rem; }
.phf-locate__coords { position: absolute; bottom: 16px; right: 16px; color: var(--phf-sand-deep); font-size: 0.76rem; z-index: 2; }

/* ---- CTA band ------------------------------------------------------- */
.phf-cta { background: var(--phf-marsh); color: var(--phf-sand); padding: 56px 0; }
.phf-cta__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.phf-cta h2 { color: var(--phf-sand); }
.phf-cta p { color: var(--phf-sand-deep); }
.phf-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---- error / 404 ------------------------------------------------------- */
.phf-error { padding: 90px 0; text-align: center; }
.phf-error-code { display: block; font-family: var(--phf-serif); font-weight: 700; font-size: 5.2rem; color: var(--phf-driftwood); line-height: 1; }

/* ---- blog ------------------------------------------------------------ */
.phf-post-card { border-left-color: var(--phf-tide); }
.phf-post-meta { display: inline-block; font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--phf-tide); margin-bottom: 8px; }
.phf-article { max-width: 720px; margin: 0 auto; }
.phf-article h2 { margin-top: 32px; }
.phf-article blockquote {
  border-left: 3px solid var(--phf-driftwood); margin: 24px 0; padding: 4px 0 4px 20px;
  font-family: var(--phf-serif); font-style: italic; color: var(--phf-marsh); font-size: 1.06rem;
}

/* ---- scroll reveal (progressive enhancement) --------------------------
   Content stays fully visible without JS; .js-on gates the hidden state so
   a scripting failure never hides copy from users or crawlers. ---------- */
.js-on .phf-rise { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js-on .phf-rise.is-up { opacity: 1; transform: none; }

/* ---- utility ------------------------------------------------------------ */
.phf-text-center { text-align: center; }
.phf-tag {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--phf-driftwood); color: var(--phf-driftwood-lt); border-radius: 999px; padding: 4px 11px;
}

/* ---- footer ------------------------------------------------------------- */
.phf-footer { background: var(--phf-marsh-deep); color: var(--phf-sand); padding-top: 52px; border-top: 3px solid var(--phf-driftwood); }
.phf-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 40px; }
.phf-footer__brand { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.phf-footer__brand p { color: rgba(250,246,236,0.7); font-size: 0.92rem; }
.phf-footer__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.phf-footer h3 { color: var(--phf-driftwood-lt); font-size: 0.96rem; margin-bottom: 14px; }
.phf-footer address { font-style: normal; color: rgba(250,246,236,0.75); margin-bottom: 10px; }
.phf-footer a { color: rgba(250,246,236,0.82); }
.phf-footer a:hover { color: var(--phf-driftwood-lt); }
.phf-hours { display: flex; flex-direction: column; gap: 6px; font-size: 0.86rem; }
.phf-hours li { display: flex; justify-content: space-between; color: rgba(250,246,236,0.75); }
.phf-footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.phf-footer__bottom { border-top: 1px solid rgba(156,122,84,0.3); margin-top: 8px; }
.phf-footer__bottom-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 18px 24px; font-size: 0.8rem; color: rgba(250,246,236,0.55);
}

/* ---- mobile nav panel --------------------------------------------------- */
@media (max-width: 960px) {
  .phf-nav-toggle { display: flex; }
  .phf-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--phf-paper); border-bottom: 1px solid var(--phf-line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .phf-nav.is-open { max-height: 640px; }
  .phf-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px; }
  .phf-nav__item { border-bottom: 1px solid var(--phf-line-soft); }
  .phf-nav__item a { display: block; padding: 12px 2px; border-bottom: none; }
  .phf-nav__cta { margin: 14px 24px 18px; }
}

/* ---- responsive ----------------------------------------------------- */
@media (max-width: 980px) {
  .phf-hero__grid, .phf-split { grid-template-columns: 1fr; }
  .phf-split__media { order: -1; }
  .phf-grid--3, .phf-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .phf-stats__row { grid-template-columns: repeat(2, 1fr); }
  .phf-stat:nth-child(3) { border-left: none; }
  .phf-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .phf-tideline__inner { font-size: 0.7rem; flex-wrap: wrap; }
  .phf-grid--2, .phf-grid--3, .phf-grid--4 { grid-template-columns: 1fr; }
  .phf-stats__row { grid-template-columns: 1fr 1fr; }
  .phf-form-row { grid-template-columns: 1fr; }
  .phf-footer__top { grid-template-columns: 1fr; }
  .phf-error-code { font-size: 3.4rem; }
}
