/* =============================================================================
   theme.css · brings the inner pages (case studies, library, résumé, thank-you,
   404) into the homepage's "quiet hospitality" look (Oct 2026).

   Loaded AFTER styles.css and project-page.css. The inner pages were built on
   named tokens, so most of the change is re-pointing those names at the new
   palette: warm linen grounds, green-grey ink, one sea-teal accent. A few
   rules follow for the header, footer and buttons, which carried the old
   look in hard-coded colours.
   ========================================================================== */

:root {
  /* Grounds */
  --porcelain:      #f7f3ec;
  --porcelain-warm: #f3ede3;
  --shell:          #efe7db;
  --shell-deep:     #e5dacb;
  --paper:          #fcfaf6;

  /* Ink */
  --espresso:       #1a2321;
  --espresso-soft:  #38423f;
  --ink-muted:      #58625e;   /* 5.9:1 on linen */

  /* The one accent: sea-teal (old names kept so every page follows) */
  --wine:           #1e5754;
  --wine-deep:      #123c3a;
  --wine-tint:      rgba(30, 87, 84, .08);
  --terracotta:     #1e5754;
  --terracotta-deep:#123c3a;
  --rose:           #276d69;
  --champagne:      #c4dcd5;   /* decorative on light; text-safe on the dark band */
  --champagne-lite: #dfeae6;
  --dark:           #123c3a;
  --dark-deep:      #0d2e2c;
  --dark-soft:      #164542;
  --accent-tint:    rgba(30, 87, 84, .08);

  /* Hairlines in the ink, not wine */
  --stone-100: rgba(26, 35, 33, .12);
  --stone-200: rgba(26, 35, 33, .22);
  --stone-400: rgba(26, 35, 33, .42);
  --border-hair:      1px solid rgba(26, 35, 33, .14);
  --border-champagne: 1px solid rgba(30, 87, 84, .28);

  --shadow-card: 0 1px 3px rgba(18, 40, 38, .06), 0 14px 32px -18px rgba(18, 40, 38, .3);
  --shadow-cta:  0 10px 22px -14px rgba(18, 60, 58, .7);

  /* Headlines in the serif, never the old display face */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

::selection { background: #dfeae6; color: #1a2321; }

h1, h2, h3, h4 {
  font-weight: 360;
  font-optical-sizing: auto;
  letter-spacing: -.018em;
}
h3, h4 { font-weight: 420; }
h1 em, h2 em { font-style: italic; color: var(--wine); }

/* ---------------------------------------------------------------- header
   The frosted pill becomes the homepage's quiet bar: no blur, a linen ground
   and a hairline once the page has scrolled. */
.site-header { --pill-top: 0px; padding-top: 0; background: rgba(247, 243, 236, .94); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: rgba(26, 35, 33, .12); }
.site-header .nav-wrap { min-height: 72px; border-radius: 0; padding-inline: 0; }
.site-header .nav-wrap::before { display: none; }
.site-header .brand-name { font-family: var(--font-accent); font-weight: 420; letter-spacing: -.005em; }
.site-header .brand-role { letter-spacing: .02em; text-transform: none; }
.site-nav a:not(.nav-cta) { color: var(--espresso-soft); }
.site-nav a[aria-current]:not(.nav-cta),
.site-nav a:not(.nav-cta):hover { color: var(--wine); }
.nav-cta { background: var(--wine) !important; color: var(--paper) !important; }
.nav-cta:hover { background: var(--wine-deep) !important; }

/* ---------------------------------------------------------------- buttons */
.button-secondary { color: var(--wine); border-color: rgba(30, 87, 84, .34); }
.button-secondary:hover { border-color: var(--wine); background: var(--paper); }
.button-facebook, .button-instagram { background: var(--wine); color: var(--paper); }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--dark); color: rgba(247, 243, 236, .78); }
.site-footer .brand-name { color: var(--paper); }
.site-footer .brand-role { color: rgba(247, 243, 236, .66); }
.footer-col h3 { color: rgba(247, 243, 236, .7); }
.footer-col a { color: rgba(247, 243, 236, .86); }
.footer-col a:hover { color: var(--champagne); }
.footer-base { border-top-color: rgba(247, 243, 236, .16); color: rgba(247, 243, 236, .7); }

/* Focus: sea on light, mist on the dark band. */
:where(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.site-footer :where(a, button):focus-visible { outline-color: var(--champagne); }

/* ------------------------------------------------- library: personal films
   Moved here from the homepage (Oct 2026). Nothing autoplays and nothing
   downloads until a visitor presses play: preload="none", poster only. */
.sample-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0d2e2c; }

/* Phone number in the footer base line: underlined, light on the dark band. */
.footer-base a { color: rgba(247, 243, 236, .9); text-decoration: underline; text-decoration-color: rgba(247, 243, 236, .35); text-underline-offset: .25em; }
.footer-base a:hover { text-decoration-color: currentColor; }
