/* ============================================================
   Outside In — Refined Coastal design system
   Cohasset, MA outdoor apparel & lifestyle boutique
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Neutrals — warm sand & stone */
  --sand:        #FAF6EF;
  --sand-2:      #F3ECE0;
  --stone:       #ECE3D4;
  --linen:       #FFFFFF;

  /* Ink — warm near-black */
  --ink:         #23271F;
  --ink-2:       #55584E;
  --ink-3:       #86887E;

  /* Harbor — deep slate-blue (from the storefront trim) */
  --harbor:      #34546A;
  --harbor-2:    #557489;
  --harbor-ink:  #24384A;

  /* Ember — refined OSI orange (from the logo & door) */
  --ember:       #C15A2B;
  --ember-deep:  #A2451D;
  --ember-soft:  #E7A57F;

  --border:      #E4DACA;
  --border-2:    #D6CAB4;

  /* Effects */
  --shadow-sm:  0 1px 2px rgba(35,39,31,.06), 0 1px 3px rgba(35,39,31,.05);
  --shadow-md:  0 6px 20px -8px rgba(35,39,31,.18), 0 2px 8px -4px rgba(35,39,31,.10);
  --shadow-lg:  0 24px 60px -22px rgba(35,39,31,.34), 0 8px 24px -12px rgba(35,39,31,.16);
  --ring:       0 0 0 3px rgba(52,84,106,.35);

  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);

  --header-h: 76px;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-optical-sizing: auto;
}
.h-hero  { font-size: clamp(2.75rem, 7vw, 5.25rem); line-height: 1.02; letter-spacing: -0.025em; }
.h-1     { font-size: clamp(2.15rem, 5vw, 3.6rem); }
.h-2     { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.h-3     { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember-deep);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--ember);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.lead { font-size: clamp(1.075rem, 1.6vw, 1.28rem); color: var(--ink-2); line-height: 1.65; }
.muted { color: var(--ink-2); }
.serif-accent { font-family: var(--font-display); font-style: italic; font-weight: 400; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--sand2 { background: var(--sand-2); }
.section--ink { background: var(--ink); color: #EDE7DA; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #FBF7EF; }

.stack > * + * { margin-top: 1.15rem; }
.measure { max-width: 60ch; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Section heading block */
.sec-head { max-width: 42rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .h-2 { margin-top: 1rem; }
.sec-head p { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--sand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .975rem;
  letter-spacing: .01em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
              background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn .ico { transition: transform .35s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }

.btn--ember { --btn-bg: var(--ember-deep); --btn-fg: #FFF; }
.btn--ember:hover { --btn-bg: var(--ember); }

.btn--harbor { --btn-bg: var(--harbor); --btn-fg: #FFF; }
.btn--harbor:hover { --btn-bg: var(--harbor-ink); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-2);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(35,39,31,.03); }

.btn--light {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Text link with animated underline */
.tlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--ember-deep);
  position: relative;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink .ico { transition: transform .35s var(--ease-out); }
.tlink:hover .ico { transform: translateX(3px); }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--ink); color: #fff; padding: .75rem 1.1rem;
  border-radius: 8px; z-index: 2000; transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
.btn:focus-visible, .nav-link:focus-visible { box-shadow: var(--ring); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease),
              backdrop-filter .4s var(--ease), height .4s var(--ease);
}
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250,246,239,0); backdrop-filter: blur(0px);
  transition: background-color .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.scrolled { height: 66px; box-shadow: 0 1px 0 rgba(35,39,31,.06), var(--shadow-sm); }
.site-header.scrolled::after { background: rgba(250,246,239,.82); backdrop-filter: blur(14px) saturate(1.4); }

/* transparent-over-hero variant */
.site-header.on-dark:not(.scrolled) .nav-link,
.site-header.on-dark:not(.scrolled) .brand-name,
.site-header.on-dark:not(.scrolled) .menu-toggle { color: #fff; }
.site-header.on-dark:not(.scrolled) .brand-sub { color: rgba(255,255,255,.75); }
.site-header.on-dark:not(.scrolled)::after {
  background: linear-gradient(to bottom, rgba(20,24,18,.34), rgba(20,24,18,0));
}
.site-header.on-dark:not(.scrolled) .nav-link::after { background: #fff; }

.header-inner {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 50px; width: auto; aspect-ratio: 1021 / 691; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.22rem;
  letter-spacing: -.01em; color: var(--ink); transition: color .4s var(--ease);
}
.brand-sub {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 3px; transition: color .4s var(--ease);
}

.primary-nav { display: flex; align-items: center; gap: 2.2rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  position: relative; font-weight: 500; font-size: .97rem; color: var(--ink);
  padding: .35rem 0; transition: color .3s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1.5px;
  background: var(--ember); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--ember-deep); }
.site-header.on-dark:not(.scrolled) .nav-link[aria-current="page"] { color: #fff; }

.menu-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  color: var(--ink); border-radius: 10px;
}
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle .ico-close { display: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 990;
  background: var(--sand);
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  display: flex; flex-direction: column;
  transform: translateY(-8%); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease-out), visibility .4s;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
body.menu-open .menu-toggle .ico-menu { display: none; }
body.menu-open .menu-toggle .ico-close { display: block; }

.mobile-links { display: flex; flex-direction: column; gap: .25rem; margin-top: 1rem; }
.mobile-links a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 500;
  padding: .55rem 0; border-bottom: 1px solid var(--border);
  color: var(--ink);
  opacity: 0; transform: translateY(14px);
}
body.menu-open .mobile-links a { animation: menuItemIn .5s var(--ease-out) forwards; }
.mobile-links a[aria-current="page"] { color: var(--ember-deep); }
@keyframes menuItemIn { to { opacity: 1; transform: translateY(0); } }
.mobile-menu-foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1rem; }
.mobile-menu-foot .btn { width: 100%; }
.mobile-contact { color: var(--ink-2); font-size: .95rem; display: grid; gap: .3rem; }
.mobile-contact a { color: var(--ink); font-weight: 500; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 92vh; min-height: 92svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
  padding-bottom: clamp(3rem, 8vh, 6rem);
}
.hero--page { min-height: 62vh; min-height: 62svh; align-items: center; padding-block: calc(var(--header-h) + 3rem) 3.5rem; }

.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 22s ease-out infinite alternate;
  transform-origin: 60% 40%;
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translateY(-1.5%); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(14,18,13,.86) 0%, rgba(14,18,13,.5) 34%, rgba(14,18,13,.28) 60%, rgba(14,18,13,.5) 100%),
    linear-gradient(90deg, rgba(14,18,13,.62) 0%, rgba(14,18,13,.22) 46%, rgba(14,18,13,0) 78%);
}
.hero--page .hero__media::after {
  background:
    linear-gradient(to top, rgba(14,18,13,.72) 0%, rgba(14,18,13,.46) 45%, rgba(14,18,13,.42) 100%),
    radial-gradient(125% 80% at 50% 42%, rgba(14,18,13,.12), rgba(14,18,13,.52) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow { color: #fff; }
.hero__eyebrow::before { background: var(--ember-soft); }
.hero .h-hero { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.28); max-width: 16ch; }
.hero__sub { color: rgba(255,255,255,.9); max-width: 44ch; margin-top: 1.4rem; font-size: clamp(1.05rem,1.7vw,1.3rem); }
.hero .btn-row { margin-top: 2.2rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.5rem; z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.8); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.hero__scroll span { width: 1px; height: 42px; background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,0)); }
.hero__scroll span::before {
  content: ""; display: block; width: 100%; height: 12px; background: #fff;
  animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot { 0%{transform:translateY(-12px);opacity:0} 30%{opacity:1} 100%{transform:translateY(42px);opacity:0} }

/* Page hero (interior) */
.hero--page .h-1 { color: #fff; max-width: 20ch; }
.hero--page .hero__sub { margin-inline: auto; }
.hero--page.center { text-align: center; }
.hero--page.center .hero__sub, .hero--page.center .h-1 { margin-inline: auto; }

/* breadcrumb */
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: rgba(255,255,255,.8); margin-bottom: 1rem; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; opacity: .7; }

/* ============================================================
   Reveal animations
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.96); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__media img { animation: none; }
  .hero__scroll span::before { animation: none; }
  .marquee__track { animation: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ============================================================
   Intro / ethos strip
   ============================================================ */
.ethos { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.ethos__quote {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.28; letter-spacing: -.01em;
}
.ethos__quote em { color: var(--ember-deep); font-style: italic; }
/* Mission statement (Our Story) — body font for cohesion, serif tagline flourish */
.story-statement {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.6; letter-spacing: -.003em;
  color: var(--ink-2);
}
.story-statement b { color: var(--ember-deep); font-weight: 600; }
.story-statement .tagline {
  display: block; margin-top: 1.35rem;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 1.4em; line-height: 1.2; letter-spacing: -.01em; color: var(--ink);
}
.ethos__sign { margin-top: 1.6rem; display: flex; align-items: center; gap: .9rem; }
.ethos__sign b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.ethos__sign span { font-size: .85rem; color: var(--ink-3); }
.ethos__sign .line { width: 34px; height: 1.5px; background: var(--border-2); }

.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: .5rem; }
.stat { }
.stat b { font-family: var(--font-display); font-size: clamp(2rem,4vw,2.9rem); font-weight: 500; color: var(--harbor); display: block; line-height: 1; }
.stat span { font-size: .82rem; color: var(--ink-2); letter-spacing: .02em; margin-top: .5rem; display: block; }

/* ============================================================
   Category grid (bento)
   ============================================================ */
.cat-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
}
.cat {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  display: block; color: #fff; isolation: isolate;
  box-shadow: var(--shadow-sm);
}
.cat img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .9s var(--ease-out);
}
.cat::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(18,22,16,.72) 8%, rgba(18,22,16,.15) 55%, rgba(18,22,16,.05));
  transition: background .5s var(--ease);
}
.cat:hover img { transform: scale(1.07); }
.cat:hover::after { background: linear-gradient(to top, rgba(18,22,16,.78) 8%, rgba(18,22,16,.28) 60%, rgba(140,74,40,.12)); }
.cat__body { position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.5rem; z-index: 1; }
.cat__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; }
.cat__meta { font-size: .82rem; color: rgba(255,255,255,.82); margin-top: .2rem; display: flex; align-items: center; gap: .4rem; }
.cat__meta .ico { transition: transform .4s var(--ease-out); }
.cat:hover .cat__meta .ico { transform: translateX(4px); }
.cat--tall { grid-row: span 2; }
.cat--wide { grid-column: span 3; }
.cat--w2 { grid-column: span 2; }
.cat--w3 { grid-column: span 3; }
.cat--w4 { grid-column: span 4; }

/* No-image category card (eyewear) */
.cat--plain { background: var(--harbor); }
.cat--plain::after { background: linear-gradient(135deg, rgba(52,84,106,.2), rgba(36,56,74,.55)); }
.cat--plain .cat__body { inset: 0; display: flex; flex-direction: column; justify-content: flex-end; }

/* ============================================================
   Brand marquee
   ============================================================ */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500;
  color: var(--ink); white-space: nowrap; opacity: .55;
  transition: opacity .3s var(--ease), color .3s var(--ease);
  display: flex; align-items: center; gap: 3.5rem;
}
.marquee__item::after { content: "•"; color: var(--ember); font-size: .6em; opacity: .8; }
.marquee__item:hover { opacity: 1; color: var(--ember-deep); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Split feature (story / rentals teaser)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.split__media:hover img { transform: scale(1.05); }
.split__badge {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  background: rgba(250,246,239,.92); backdrop-filter: blur(8px);
  border-radius: 14px; padding: .8rem 1.1rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .7rem;
}
.split__badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #4CAF7D; box-shadow: 0 0 0 4px rgba(76,175,125,.18); }
.split__badge b { font-size: .92rem; }
.split__badge span { font-size: .78rem; color: var(--ink-2); display: block; }

/* Feature list */
.feature-list { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feature-list .fi {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; background: var(--stone); color: var(--harbor-ink);
}
.feature-list .fi svg { width: 20px; height: 20px; }
.feature-list b { font-weight: 600; display: block; }
.feature-list p { color: var(--ink-2); font-size: .95rem; margin-top: .1rem; }

/* ============================================================
   Rentals CTA banner
   ============================================================ */
.banner {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  color: #fff; padding: clamp(2.5rem, 6vw, 5rem);
  box-shadow: var(--shadow-lg);
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(20,32,42,.82) 20%, rgba(20,32,42,.45) 60%, rgba(20,32,42,.15)); }
.banner .h-2 { color: #fff; max-width: 18ch; }
.banner p { color: rgba(255,255,255,.9); max-width: 46ch; margin-top: 1rem; }

/* ============================================================
   Cards / grids (brands, features, hours)
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.card {
  background: var(--linen); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.card__icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--stone); color: var(--harbor-ink); margin-bottom: 1.1rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--ink-2); margin-top: .5rem; font-size: .97rem; }

/* Brand chips */
.brand-cats { display: grid; gap: 2.5rem; }
.brand-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: .9rem; margin-bottom: 1.4rem; }
.brand-cat__head h3 { font-size: 1.5rem; }
.brand-cat__head span { font-size: .85rem; color: var(--ink-3); letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
  padding: .6rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--border-2);
  background: var(--linen); font-weight: 500; font-size: .95rem; color: var(--ink);
  transition: transform .35s var(--ease-out), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { transform: translateY(-2px); background: var(--ink); color: var(--sand); border-color: var(--ink); }
a.chip { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
a.chip::after {
  content: ""; width: 12px; height: 12px; flex: none; opacity: .45;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: opacity .3s var(--ease), transform .3s var(--ease-out);
}
a.chip:hover::after { opacity: 1; transform: translate(1px,-1px); }
.chip--static { cursor: default; }
.chip--static:hover { transform: none; background: var(--linen); color: var(--ink); border-color: var(--border-2); }

/* Category row with image (alternating sides) */
.brand-cats { gap: clamp(2.75rem, 5vw, 4.5rem); }
.bcat { display: grid; grid-template-columns: minmax(0, 0.82fr) 1fr; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center; }
.bcat:nth-child(even) .bcat__media { order: 2; }
.bcat__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--stone);
  align-self: center;
}
.bcat__media img { width: 100%; height: auto; display: block; transition: transform .9s var(--ease-out); }
.bcat:hover .bcat__media img { transform: scale(1.04); }
.bcat__media--plain { display: grid; place-items: center; background: linear-gradient(140deg, var(--harbor), var(--harbor-ink)); color: var(--ember-soft); }
.bcat__media--plain svg { width: 88px; height: 88px; }
.bcat__info { min-width: 0; }
@media (max-width: 860px) {
  .bcat { grid-template-columns: 1fr; gap: 1.3rem; }
  .bcat:nth-child(even) .bcat__media { order: 0; }
}

/* Feature image card (brands page) */
.showcase { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.shot { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); color: #fff; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease-out); }
.shot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18,22,16,.7), rgba(18,22,16,0) 55%); }
.shot:hover img { transform: scale(1.06); }
.shot__cap { position: absolute; left: 0; bottom: 0; padding: 1.3rem 1.4rem; }
.shot__cap b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; display: block; }
.shot__cap span { font-size: .82rem; color: rgba(255,255,255,.82); }
.shot--wide { aspect-ratio: auto; grid-column: span 3; min-height: 300px; }

/* ============================================================
   Info / Visit page
   ============================================================ */
.info-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.info-card {
  background: var(--linen); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.info-card__body { padding: clamp(1.6rem, 3vw, 2.4rem); }
.info-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.info-row:last-child { border-bottom: none; }
.info-row .fi { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--stone); color: var(--harbor-ink); display: grid; place-items: center; }
.info-row .fi svg { width: 22px; height: 22px; }
.info-row .k { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.info-row .v { font-weight: 500; margin-top: .15rem; }
.info-row .v a:hover { color: var(--ember-deep); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: .85rem 0; }
.hours-table td:first-child { font-weight: 500; }
.hours-table td:last-child { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours-table tr.today td:first-child { color: var(--ember-deep); }
.hours-table tr.today td:first-child::after { content: "Today"; font-size: .68rem; background: var(--ember); color: #fff; padding: .12rem .5rem; border-radius: 999px; margin-left: .6rem; letter-spacing: .04em; vertical-align: middle; }

.map-embed { border: 0; width: 100%; height: 100%; min-height: 340px; filter: saturate(.92) contrast(1.02); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); aspect-ratio: 4/3; }

/* ============================================================
   Rentals page specifics
   ============================================================ */
.step-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; counter-reset: step; }
.step { background: var(--linen); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.7rem; position: relative; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num { font-family: var(--font-display); font-size: 2.6rem; color: var(--ember-soft); line-height: 1; font-weight: 500; }
.step h3 { font-size: 1.2rem; margin-top: .6rem; }
.step p { color: var(--ink-2); font-size: .95rem; margin-top: .4rem; }

.price-card {
  background: var(--ink); color: #EDE7DA; border-radius: var(--radius-lg);
  padding: clamp(2rem,4vw,3rem); box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; top: -40%; right: -20%; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(193,90,43,.35), transparent 70%);
}
.price-card h3 { color: #fff; }
.price-note { color: rgba(237,231,218,.7); font-size: .9rem; }

/* ============================================================
   FAQ / accordion
   ============================================================ */
.faq { display: grid; gap: .75rem; max-width: 780px; margin-inline: auto; }
.faq details {
  background: var(--linen); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 1.4rem; transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--border-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 0; font-weight: 600; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 24px; height: 24px; position: relative; transition: transform .4s var(--ease-out); color: var(--ember-deep); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq summary .plus::before { left: 0; top: 11px; width: 24px; height: 2px; }
.faq summary .plus::after { top: 0; left: 11px; width: 2px; height: 24px; transition: transform .4s var(--ease-out); }
.faq details[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq details[open] summary .plus { transform: rotate(180deg); }
.faq details p { padding: 0 0 1.35rem; color: var(--ink-2); margin: 0; max-width: 62ch; }

/* ============================================================
   CTA strip
   ============================================================ */
.cta-strip { text-align: center; }
.cta-strip .h-1 { max-width: 20ch; margin-inline: auto; }
.cta-strip .btn-row { justify-content: center; margin-top: 2rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); color: #C9C7BC; padding-block: clamp(3.5rem,7vw,5.5rem) 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.footer-brand img { height: 52px; width: auto; aspect-ratio: 1021 / 691; }
.footer-brand b { font-family: var(--font-display); font-size: 1.3rem; color: #FBF7EF; }
.site-footer p { color: #A9A79D; font-size: .95rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #85837A; font-weight: 600; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { color: #C9C7BC; font-size: .97rem; transition: color .25s var(--ease); display: inline-flex; align-items: center; gap: .5rem; }
.footer-col a:hover { color: var(--ember-soft); }
.footer-col svg { width: 18px; height: 18px; flex: none; opacity: .8; }
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #D9D7CD; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease-out); }
.socials a:hover { background: var(--ember); color: #fff; transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: .85rem; color: #85837A; }
.footer-bottom .tag { font-family: var(--font-display); font-style: italic; color: var(--ember-soft); }
.footer-bottom a { color: #A9A79D; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255,255,255,.25); transition: color .25s var(--ease); }
.footer-bottom a:hover { color: var(--ember-soft); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .cat--wide, .cat--w4, .cat--w3 { grid-column: span 2; }
  .cat--w2 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav-links, .primary-nav .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .ethos, .split, .split--reverse .split__media, .info-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid-3, .step-grid, .showcase { grid-template-columns: 1fr 1fr; }
  .info-grid { gap: 2rem; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .cat--wide, .cat--w2, .cat--w3, .cat--w4 { grid-column: span 2; }
  .cat--tall { grid-row: span 1; }
  .grid-3, .grid-2, .step-grid, .showcase { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr 1fr; gap: .75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .shot--wide { grid-column: span 1; }
  .btn { width: 100%; }
  .hero .btn-row .btn { width: 100%; }
  .banner .btn-row .btn, .cta-strip .btn-row .btn { width: auto; }
  .hero__scroll { display: none; }
}
