/* Citrus Frame Studio — crate-label palette from Riverside's packing-house era */
:root {
  --grove: #1d3a2a;      /* deep grove green: text, headers */
  --grove-2: #2c5440;    /* lighter green for rules on dark */
  --peel: #ef8a1f;       /* navel orange: the one loud color */
  --peel-ink: #8a4300;   /* orange dark enough for text on white */
  --sky: #cfe3ec;        /* foothill sky: quiet panels */
  --paper: #ffffff;
  --ink: #000000;
  --muted: #4b5a51;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.5rem;
  --step-4: clamp(2.75rem, 7vw, 5.5rem);

  --wrap: 72rem;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--grove);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--peel); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.prose { max-width: 38rem; }
.prose p, .prose li { color: var(--grove); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); font-weight: 700; }
p { margin: 0 0 1em; }

/* Header */
.site-header { border-bottom: 2px solid var(--grove); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand svg { width: 2.25rem; height: 2.25rem; flex: none; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: var(--step--1); }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .btn { font-size: var(--step--1); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8em 1.3em;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--grove);
  border-radius: 999px;
  background: var(--peel);
  color: var(--ink);
}
.btn:hover { background: var(--grove); color: var(--paper); }
.btn.secondary { background: transparent; color: var(--grove); }
.btn.secondary:hover { background: var(--grove); color: var(--paper); }
.on-dark .btn.secondary { color: var(--paper); border-color: var(--paper); }
.on-dark .btn.secondary:hover { background: var(--paper); color: var(--grove); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Hero: the crate label */
.hero { background: var(--grove); color: var(--paper); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--gap); align-items: center; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero h1 { color: var(--paper); }
.hero h1 .line2 { display: block; color: var(--peel); }
.hero p.lede { font-size: var(--step-1); max-width: 32rem; color: #e6efe9; }
.hero .meta { margin-top: 1.5rem; font-size: var(--step--1); color: #b9cec1; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* The frame: viewfinder corners around every photo */
.frame { position: relative; padding: 14px; }
.frame::before, .frame::after, .frame > .c1, .frame > .c2 {
  content: ""; position: absolute; width: 34px; height: 34px; border: 0 solid var(--peel);
}
.frame::before { top: 0; left: 0; border-top-width: 4px; border-left-width: 4px; }
.frame::after { bottom: 0; right: 0; border-bottom-width: 4px; border-right-width: 4px; }
.frame > .c1 { top: 0; right: 0; border-top-width: 4px; border-right-width: 4px; }
.frame > .c2 { bottom: 0; left: 0; border-bottom-width: 4px; border-left-width: 4px; }
.frame img, .frame .empty { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.frame.wide img, .frame.wide .empty { aspect-ratio: 3 / 2; }
.frame .empty { display: grid; place-items: center; background: var(--grove-2); }
.frame .empty svg { width: 30%; opacity: 0.9; }
.light .frame .empty { background: var(--sky); }

/* Sections */
section.block { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.block.sky { background: var(--sky); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head p { max-width: 30rem; margin: 0; color: var(--muted); }

/* Service list: rows like a rate sheet, not cards */
.rates { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--grove); }
.rates li { border-bottom: 1px solid #b7c4bc; }
.rates a { display: grid; grid-template-columns: 14rem 1fr auto; gap: 1.5rem; align-items: baseline; padding: 1.25rem 0; text-decoration: none; }
.rates a:hover .rate-name { color: var(--peel-ink); }
.rate-name { font-family: var(--display); font-weight: 800; font-size: var(--step-2); line-height: 1; }
.rate-desc { color: var(--muted); }
.rate-price { font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) { .rates a { grid-template-columns: 1fr auto; } .rate-desc { grid-column: 1 / -1; } }

/* Steps: an actual sequence, so numbers are earned */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.steps li { counter-increment: step; border-top: 4px solid var(--peel); padding-top: 1rem; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: var(--step-3); line-height: 1; display: block; margin-bottom: 0.4rem; }
.steps h3 { font-size: var(--step-1); font-family: var(--body); font-weight: 700; line-height: 1.3; margin-bottom: 0.3rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Area links */
.areas { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.areas a { display: inline-block; padding: 0.55em 1em; border: 2px solid var(--grove); border-radius: 999px; text-decoration: none; font-weight: 600; }
.areas a:hover { background: var(--grove); color: var(--paper); }

/* Two-column detail */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--gap) * 1.5); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.5rem; border-top: 2px solid var(--grove); padding-top: 1rem; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }

.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { padding-left: 1.6rem; position: relative; margin-bottom: 0.5rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.7rem; height: 0.7rem; background: var(--peel); border-radius: 50%; }

details { border-bottom: 1px solid #b7c4bc; padding: 1rem 0; }
details summary { cursor: pointer; font-weight: 700; }
details p { margin: 0.6rem 0 0; color: var(--muted); }

/* Gallery strip */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery .frame img, .gallery .frame .empty { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* CTA band */
.cta-band { background: var(--peel); color: var(--ink); }
.cta-band .wrap { padding-top: 3rem; padding-bottom: 3rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0; color: var(--ink); }
.cta-band .btn { background: var(--grove); color: var(--paper); }
.cta-band .btn:hover { background: var(--paper); color: var(--grove); }
.cta-band .btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }

/* Footer */
.site-footer { background: var(--grove); color: #dbe7df; font-size: var(--step--1); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gap); padding-top: 3rem; padding-bottom: 3rem; }
.site-footer h3 { font-family: var(--body); font-size: var(--step-0); font-weight: 700; color: var(--paper); margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer a { color: #dbe7df; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--grove-2); padding-top: 1rem; color: #a9bfb1; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.page-hero { background: var(--grove); color: var(--paper); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page-hero h1 { color: var(--paper); max-width: 18ch; }
.page-hero p { max-width: 36rem; font-size: var(--step-1); color: #e6efe9; }
.page-hero .price { color: var(--peel); font-family: var(--display); font-weight: 800; font-size: var(--step-2); margin: 0.5rem 0 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero .frame { animation: settle 700ms cubic-bezier(.2,.7,.2,1) both; }
  @keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
}

/* Gallery */
.tabs { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.5rem; }
.tabs button { font:inherit; font-weight:600; padding:.55em 1em; border:2px solid var(--grove); border-radius:999px; background:transparent; color:var(--grove); cursor:pointer; }
.tabs button[aria-pressed="true"] { background:var(--grove); color:var(--paper); }
.grid { columns: 3 260px; column-gap: 1rem; }
.grid figure { margin:0 0 1rem; break-inside: avoid; }
.grid img { width:100%; height:auto; border-radius:2px; }
.hero-img { width:100%; aspect-ratio:4/5; object-fit:cover; }

/* Ambient photo backdrops (images/_ambient) */
.hero.photo-bg {
  background:
    linear-gradient(90deg, rgba(18,36,26,.94) 0%, rgba(18,36,26,.78) 42%, rgba(18,36,26,.25) 75%, rgba(18,36,26,.1) 100%),
    url("images/_ambient/building-sunset.jpg") center 58% / cover no-repeat;
}
.hero.photo-bg .wrap { min-height: min(86vh, 760px); }
.band-photo { position: relative; color: var(--paper); background-size: cover; background-repeat: no-repeat; }
.band-photo h2, .band-photo h3 { color: var(--paper); }
.band-photo .checks li { color: #f1f5f2; }
.band-services {
  background-image: linear-gradient(180deg, rgba(18,36,26,.55), rgba(18,36,26,.85)), url("images/_ambient/beach-sunset.jpg");
  background-position: center 40%;
}
.band-book {
  background-image: linear-gradient(180deg, rgba(18,36,26,.35), rgba(18,36,26,.75)), url("images/_ambient/sand-prints.jpg");
  background-position: center 60%;
  text-align: center;
}
.band-book .wrap { padding-top: clamp(5rem, 14vw, 9rem); padding-bottom: clamp(5rem, 14vw, 9rem); }
.band-book h2 { font-size: var(--step-4); margin-bottom: .3em; }
.band-book p { font-size: var(--step-1); color: #eef3ef; margin: 0 auto 1.5rem; max-width: 30rem; }

.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.strip figcaption { font-size: var(--step--1); color: var(--muted); margin-top: .4rem; }

/* Rate sheet on the dark services band */
.band-photo .rates { border-top-color: var(--peel); margin-top: 1.5rem; }
.band-photo .rates li { border-bottom-color: rgba(255,255,255,.28); }
.band-photo .rates a:hover .rate-name { color: var(--peel); }
.band-photo .rate-desc { color: #d6e2da; }
.rate-price { text-align: right; }
.rate-price small { display: block; font-weight: 400; font-size: var(--step--1); opacity: .8; }
.rates-note { margin: 1.25rem 0 0; color: #e6efe9; max-width: 40rem; }
