/* ============================================================================
   site.css - shared chrome for the inner pages (Services, Portfolio, Contact).
   Brand tokens + nav + footer + buttons + typography match the cinematic
   homepage (index.html) exactly, so the whole site reads as one piece. These
   pages are content-forward (packages, a filterable grid, contact details),
   so unlike the homepage they don't pin/scrub - they just fade in as you
   scroll, using the same ScrollCraft engine (assets/cinematic/scrollcraft.js)
   in its plain "flow reveal" mode ([data-sc-in]).
   ========================================================================== */

:root {
  --sc-canvas:     #0e0c0b;
  --sc-surface:    #181513;
  --sc-ink:        #fbf7f4;
  --sc-ink-soft:   #cdbfb8;
  --sc-accent:     #f58b8c;
  --sc-accent-ink: #1c1a19;
  --sc-font-display: "Cormorant Garamond", Georgia, serif;
  --sc-font-text:    "Work Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sc-shadow-color: 20 30% 3%;
  --sc-r-sm: 2px; --sc-r-md: 2px;

  --ink-dark: #1c1a19;
  --ink-dark-soft: #4f4541;
  --cream: #fbf7f4;
  --blush: #f6e3e0;
  --nav-h: 64px;
}
@media (max-width: 860px) { :root { --nav-h: 60px; } }

body { background: var(--sc-canvas); color: var(--sc-ink); font-family: var(--sc-font-text); font-weight: 400; margin: 0; }
img { max-width: 100%; }
a { color: inherit; }
.display { font-family: var(--sc-font-display); font-style: italic; font-weight: 500; letter-spacing: -0.01em; line-height: 1.02; text-wrap: balance; margin: 0; }
.kicker { font-family: var(--sc-font-text); font-size: var(--sc-t-xs); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 var(--sc-3); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--cream); color: var(--ink-dark); padding: 10px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 0 1.6rem; font: 500 0.82rem/1 var(--sc-font-text); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--sc-r-sm); white-space: nowrap; cursor: pointer; border: 0;
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--fill { background: var(--sc-accent); color: var(--sc-accent-ink); border: 1px solid var(--sc-accent); }
.btn--line { border: 1px solid color-mix(in oklab, var(--cream) 55%, transparent); color: var(--cream); background: transparent; }
.btn--line-dark { border: 1px solid #b44e50; color: #b44e50; background: transparent; padding: 0 1.3rem; min-height: 42px; }
@media (hover: hover) and (pointer: fine) {
  .btn--fill:hover { background: #f7a1a2; border-color: #f7a1a2; }
  .btn--line:hover { border-color: var(--cream); background: color-mix(in oklab, var(--cream) 8%, transparent); }
  .btn--line-dark:hover { background: #b44e50; color: #fff; }
}

/* ---------------------------------------------------------------- nav --- */
.site-bar {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: var(--sc-z-chrome);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sc-5);
  padding-inline: var(--sc-gutter); background: var(--sc-canvas);
}
.site-bar__logo { display: block; line-height: 0; }
.site-bar__logo img { height: 34px; width: auto; }
.site-bar nav { display: flex; align-items: center; gap: var(--sc-6); }
.site-bar ul { list-style: none; display: flex; gap: var(--sc-5); margin: 0; padding: 0; }
.site-bar ul a { display: inline-block; padding: 10px 2px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--sc-ink-soft); transition: color 160ms var(--sc-ease-out); }
.site-bar ul a[aria-current="page"] { color: var(--sc-ink); }
@media (hover: hover) and (pointer: fine) { .site-bar ul a:hover { color: var(--sc-ink); } }
.has-drop { position: relative; }
.site-bar .drop { position: absolute; top: 100%; left: -14px; min-width: 15rem; padding: 8px 0; background: var(--sc-surface); box-shadow: var(--sc-e2); display: none; flex-direction: column; gap: 0 !important; }
.drop a { display: block !important; padding: 10px 14px !important; letter-spacing: 0.08em !important; }
.site-bar .has-drop:hover .drop, .site-bar .has-drop:focus-within .drop { display: flex; }
.site-bar .btn { min-height: 40px; padding: 0 1.2rem; }
.menu-toggle { display: none; background: none; border: 0; color: var(--sc-ink); width: 46px; height: 46px; margin-right: -10px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 22px; height: 1.5px; background: currentColor; margin: auto; position: relative; transition: transform 200ms var(--sc-ease-out), opacity 150ms; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; } .menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-bar nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: var(--sc-5);
    padding: var(--sc-5) var(--sc-gutter) var(--sc-7); background: var(--sc-canvas);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out), visibility 0s 200ms;
  }
  .site-bar nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out); }
  .site-bar ul { flex-direction: column; gap: 0; }
  .site-bar ul a { padding: 13px 0; font-size: 0.9rem; }
  .site-bar .drop { position: static; display: flex; background: none; box-shadow: none; padding: 0 0 6px 14px; }
  .drop a { padding: 10px 0 !important; }
  .site-bar nav .btn { min-height: 48px; }
}

/* ------------------------------------------------------------ page-hero --
   A small, static "cold open" band for inner pages - same dark canvas, matte
   framing and italic display type as the homepage hero, without the pinned
   parallax (these pages don't have bespoke plate/couple/bouquet photography
   per page, so this is the honest, non-pinned version of the same signature). */
.page-hero {
  position: relative;
  background: var(--sc-canvas) center / cover no-repeat;
  padding: calc(var(--nav-h) + clamp(3.5rem, 9vw, 7rem)) var(--sc-gutter) clamp(3.5rem, 8vw, 6rem);
  text-align: center;
  border-bottom: 1px solid color-mix(in oklab, var(--sc-ink) 10%, transparent);
  overflow: hidden;
}
/* A photo behind the title band, same as the homepage hero but without the
   parallax planes (these pages don't have bespoke cut-up photography per
   page) - a scrim keeps the kicker/heading legible over whatever image sits
   behind it. */
.page-hero__scrim {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(14,12,11,0.90) 0%, rgba(14,12,11,0.74) 38%, rgba(14,12,11,0.88) 100%);
}
.page-hero__copy { position: relative; z-index: 1; }
.page-hero .kicker { color: var(--sc-accent); }
.page-hero h1 { font-size: var(--sc-t-4xl); max-width: 30ch; margin-inline: auto; }
.page-hero p { color: var(--sc-ink-soft); max-width: 46ch; margin: var(--sc-4) auto 0; font-size: var(--sc-t-lg); line-height: 1.55; }

/* ----------------------------------------------------------- light scenes -
   Paper sections (cream/blush) for content-dense areas, matching the About
   and Testimonials treatment on the homepage. */
.paper { background: var(--cream); color: var(--ink-dark); }
.paper .kicker { color: #b44e50; }
.paper--blush { background: var(--blush); }
.sc-section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

.section-head { text-align: center; margin-bottom: var(--sc-8); }
.section-head h2 { font-size: var(--sc-t-3xl); }
.section-head p { color: var(--ink-dark-soft); max-width: 50ch; margin: var(--sc-4) auto 0; font-size: var(--sc-t-base); line-height: 1.6; }

/* --------------------------------------------------------------- footer -- */
.site-footer { background: var(--sc-canvas); border-top: 1px solid color-mix(in oklab, var(--sc-ink) 12%, transparent); padding-block: clamp(2rem, 5vw, 3rem); }
.credits { width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--sc-5) var(--sc-7); font-size: 0.78rem; color: var(--sc-ink-soft); }
.credits img { height: 30px; width: auto; display: block; }
.credits nav { display: flex; gap: var(--sc-5); justify-content: center; flex-wrap: wrap; }
.credits a { text-decoration: none; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 0; display: inline-block; transition: color 160ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .credits a:hover { color: var(--sc-ink); } }
.credits__small { display: flex; gap: var(--sc-5); align-items: center; }
@media (max-width: 860px) {
  .credits { grid-template-columns: 1fr; justify-items: center; gap: var(--sc-3); text-align: center; }
  .credits nav { gap: var(--sc-4); }
}

.textlink { display: inline-block; padding: 8px 0; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: var(--sc-ink); border-bottom: 1px solid var(--sc-accent); transition: color 160ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .textlink:hover { color: var(--sc-accent); } }

/* ------------------------------------------------------- mobile hardening --
   Phone-specific tidy-ups shared by every inner page: no sideways scroll,
   long words/emails wrap instead of pushing the layout, comfortable tap
   targets and gutters, and text sizes that fit a 320-390px screen. */
html, body { overflow-x: clip; }
h1, h2, h3, p, li, a { overflow-wrap: break-word; }
@media (max-width: 700px) {
  .page-hero { padding-top: calc(var(--nav-h) + 2.5rem); padding-bottom: 3rem; }
  .page-hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .page-hero p { font-size: 1.05rem; line-height: 1.5; max-width: 32ch; }
  .section-head h2 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .btn { min-height: 48px; }
  .credits a { padding: 10px 6px; }
}
@media (max-width: 360px) {
  .site-bar__logo img { height: 30px; }
  .btn { padding: 0 1.1rem; letter-spacing: 0.12em; }
}
