/* ============================================================
   562 Aerials — Shared Stylesheet
   All pages link to this file. Edit here, not in individual pages.
   ============================================================ */

:root {
  /* Backgrounds */
  --bg:        #0a0a0a;
  --bg-2:      #131110;
  --bg-elev:   #1a1714;

  /* Text */
  --ink:       #f5f1ea;
  --ink-dim:   #a8a29a;
  --ink-faint: #5a5550;

  /* Accent — Long Beach sunset amber */
  --accent:      #e8743c;
  --accent-2:    #f4a261;
  --accent-deep: #b85628;

  /* Lines & borders */
  --rule:        rgba(245, 241, 234, 0.12);
  --rule-strong: rgba(245, 241, 234, 0.22);

  /* Type stacks */
  --serif: "Fraunces", ui-serif, Georgia, serif;
  --sans:  "Inter Tight", ui-sans-serif, system-ui, sans-serif;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Film-grain texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }

img, video { max-width: 100%; display: block; }

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.85), rgba(10,10,10,0));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-style: italic;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links a {
  color: var(--ink-dim);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

/* Hamburger toggle — visible only on mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s ease;
}

/* Hamburger → X when open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8.25px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8.25px) rotate(-45deg);
}

/* Full-screen mobile menu overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.nav-overlay.open { display: flex; }

.nav-overlay a {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(36px, 7vw, 56px);
  color: var(--ink-dim);
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.nav-overlay a:hover,
.nav-overlay a.active { color: var(--ink); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ============ SECTION HEADER (shared across all sections) ============ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 24px;
}

.section-num {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.section-title em { font-style: italic; color: var(--accent); }

.section-aside {
  font-size: 14px;
  color: var(--ink-dim);
  max-width: 32ch;
  text-align: right;
}

@media (max-width: 720px) {
  .section-aside { text-align: left; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #1a0e08;
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(245, 241, 234, 0.04);
}

.btn-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============ TAGS / PILLS ============ */
.tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}

/* ============ DECORATIVE MARK ============ */
.deco-mark {
  position: absolute;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(280px, 38vw, 560px);
  color: var(--ink);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(232, 116, 60, 0.18), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(244, 162, 97, 0.08), transparent 50%),
    linear-gradient(180deg, #0d0b0a 0%, #0a0a0a 100%);
}

.hero-mark {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(280px, 38vw, 560px);
  line-height: 0.85;
  color: var(--ink);
  opacity: 0.04;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  font-style: italic;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 14ch;
  animation: fadeUp 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-dim);
  max-width: 52ch;
  margin-bottom: 48px;
  line-height: 1.55;
  animation: fadeUp 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeUp 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s both;
}

.hero-meta {
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  animation: fadeUp 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s both;
}

.hero-meta-item { display: flex; align-items: center; gap: 10px; }

.hero-meta-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

@media (max-width: 640px) {
  .hero-meta { flex-direction: column; gap: 12px; align-items: flex-start; bottom: 20px; }
}

/* ============ REEL SECTION ============ */
.reel {
  padding: 140px 0 120px;
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
  position: relative;
}

.reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TODO: When reel is ready, delete .reel-placeholder and uncomment the
   <iframe> in index.html. Replace VIDEO_ID with your YouTube video ID. */
.reel-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background:
    radial-gradient(ellipse at center, rgba(232, 116, 60, 0.15), transparent 60%),
    linear-gradient(180deg, #1a1410, #0a0a0a);
  cursor: pointer;
  transition: background 0.3s ease;
}

.reel-placeholder:hover {
  background:
    radial-gradient(ellipse at center, rgba(232, 116, 60, 0.25), transparent 60%),
    linear-gradient(180deg, #1a1410, #0a0a0a);
}

.play-btn {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  animation: pulse 2.5s ease-out infinite;
}

.reel-placeholder:hover .play-btn { transform: scale(1.08); }

.play-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #1a0e08;
  margin-left: 6px;
}

.reel-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-dim);
  text-align: center;
}

.reel-meta {
  margin-top: 32px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.reel-meta strong { color: var(--ink); font-weight: 600; }

/* ============ SERVICES ============ */
.services {
  padding: 140px 0;
  border-top: 1px solid var(--rule);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}

@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  padding: 48px 36px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background 0.3s ease;
}

.service-card:last-child { border-right: none; }

@media (max-width: 880px) {
  .service-card { border-right: none; }
}

.service-card:hover { background: rgba(232, 116, 60, 0.04); }

.service-num {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  display: block;
}

.service-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.service-desc {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin-bottom: 32px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}

/* ============ ABOUT (home preview) ============ */
.about {
  padding: 140px 0;
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.about-mark {
  position: absolute;
  bottom: -20%;
  left: -5%;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(220px, 30vw, 440px);
  color: var(--ink);
  opacity: 0.025;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

.about-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.about-heading {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about-heading em { font-style: italic; color: var(--accent); }

.about-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-dim);
  margin-bottom: 24px;
}

.about-body p:first-child {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 300;
}

.about-body p:first-child::first-letter {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 64px;
  float: left;
  line-height: 0.85;
  margin: 8px 12px 0 0;
  color: var(--accent);
}

.credentials {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

@media (max-width: 640px) {
  .credentials { grid-template-columns: 1fr 1fr; }
}

.credential-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.credential-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
}

/* ============ CONTACT CTA ============ */
.contact {
  padding: 140px 0;
  border-top: 1px solid var(--rule);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232, 116, 60, 0.08), transparent 60%);
  pointer-events: none;
}

.contact-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.contact h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}

.contact h2 em { font-style: italic; color: var(--accent); }

.contact-sub {
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 48ch;
  margin: 0 auto 56px;
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.contact-divider {
  width: 60px;
  height: 1px;
  background: var(--rule);
  margin: 0 auto 32px;
}

.contact-direct {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-faint);
}

.contact-direct a {
  color: var(--ink-dim);
  border-bottom: 1px solid var(--ink-faint);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-direct a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ============ FOOTER ============ */
.footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-faint);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232, 116, 60, 0.5); }
  70%  { box-shadow: 0 0 0 24px rgba(232, 116, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 116, 60, 0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ NAV CTA (contact link pill) ============ */
.nav-links a.nav-cta {
  color: var(--ink);
  padding: 8px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-links a.nav-cta:hover {
  border-color: var(--ink-dim);
  background: rgba(245, 241, 234, 0.04);
  color: var(--ink);
}

/* ============ PAGE HERO (compact, inner pages ~60vh) ============ */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 65% 20%, rgba(232, 116, 60, 0.12), transparent 50%),
    linear-gradient(180deg, #0d0b0a 0%, #0a0a0a 100%);
}

.page-hero-eyebrow {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin-bottom: 28px;
  animation: fadeUp 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
}

.page-hero h1 em { font-style: italic; color: var(--accent); }

.page-hero-intro {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--ink-dim);
  max-width: 52ch;
  line-height: 1.6;
  animation: fadeUp 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both;
}

@media (max-width: 720px) {
  .page-hero { padding: 140px 0 64px; }
}

/* ============ SERVICE DETAIL SECTIONS (services.html) ============ */
.svc-section {
  padding: 140px 0;
  border-top: 1px solid var(--rule);
}

.svc-section--alt { background: var(--bg-2); }

.svc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 880px) {
  .svc-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 720px) {
  .svc-section { padding: 96px 0; }
}

.svc-num {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  display: block;
}

.svc-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}

.svc-title em { font-style: italic; color: var(--accent); }

.svc-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-dim);
  margin-bottom: 20px;
  max-width: 58ch;
}

.svc-body p:last-child { margin-bottom: 0; }

/* What you get — 2×2 checklist */
.svc-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

@media (max-width: 640px) {
  .svc-checklist { grid-template-columns: 1fr; }
}

.svc-checklist-label {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.svc-checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-dim);
}

.svc-checklist-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Ideal for — single-column list */
.svc-ideal {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

.svc-ideal-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

.svc-ideal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-ideal li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-dim);
}

.svc-ideal li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Community/school callout note */
.svc-note {
  margin-top: 48px;
  padding: 24px 28px;
  border-left: 2px solid var(--accent);
  background: rgba(232, 116, 60, 0.04);
}

.svc-note p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 1.6;
}

.svc-note a {
  color: var(--accent);
  border-bottom: 1px solid rgba(232, 116, 60, 0.35);
  transition: border-color 0.2s ease;
}

.svc-note a:hover { border-color: var(--accent); }

/* ============ PRICING CARD ============ */
.pricing-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  padding: 40px 36px;
}

.pricing-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 32px;
}

.pricing-tier {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.pricing-tier:first-of-type { padding-top: 0; }
.pricing-tier:last-of-type { border-bottom: none; padding-bottom: 0; }

.pricing-tier-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}

.pricing-tier-desc {
  font-size: 13px;
  color: var(--ink-dim);
  margin-bottom: 10px;
  line-height: 1.5;
}

.pricing-tier-price {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
}

.pricing-note {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.65;
}

.pricing-custom {
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 1.7;
}

.pricing-card .btn { margin-top: 28px; }

/* ============ PROCESS SECTION ============ */
.process {
  padding: 140px 0;
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
}

@media (max-width: 720px) {
  .process { padding: 96px 0; }
}

/*
  7-column grid: step | arrow | step | arrow | step | arrow | step
  Arrow columns are auto-sized (shrink to content + padding).
  No absolute positioning needed — arrows live in their own columns.
*/
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  border-top: 1px solid var(--rule);
  margin-top: 64px;
}

.process-step {
  padding: 48px 0;
}

/*
  32px padding on each side = 32px clear space between arrow and card text.
  padding-top: 62px aligns the 24px icon center (62 + 12 = 74px) with the
  step number center (48px top-pad + half of 52px = 74px from card top).
*/
.process-arrow {
  padding: 62px 32px 0;
  display: flex;
  justify-content: center;
  align-self: start;
  color: var(--ink-dim);
}

/* Mobile — single column, down-pointing arrows */
@media (max-width: 720px) {
  .process-steps { grid-template-columns: 1fr; }

  .process-step { padding: 28px 0; }

  .process-arrow {
    padding: 4px 0;
    justify-content: center;
  }

  .process-arrow svg { transform: rotate(90deg); }
}

.process-step-num {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 52px;
  line-height: 1;
  color: var(--ink);
  opacity: 0.15;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.process-step-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.process-step-desc {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.65;
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============ CONTACT PAGE — TWO-COLUMN LAYOUT ============ */
.contact-page {
  padding: 140px 0;
  border-top: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .contact-page { padding: 96px 0; }
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 1024px) {
  .contact-page-grid { gap: 48px; }
}

@media (max-width: 880px) {
  .contact-page-grid { grid-template-columns: 1fr; gap: 64px; }
}

/* ============ CONTACT FORM ============ */
.form-row {
  margin-bottom: 24px;
}

.form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .form-row--half { grid-template-columns: 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.form-required { color: var(--accent); }

.form-optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
  color: var(--ink-faint);
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: var(--accent-deep);
}

.form-field textarea {
  resize: vertical;
  min-height: 144px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-faint);
}

/* Select with custom dropdown arrow */
.form-select-wrap { position: relative; }

.form-select-wrap select { padding-right: 40px; cursor: pointer; }

/* The blank/disabled first option reads as placeholder */
.form-field select:invalid { color: var(--ink-faint); }
.form-field select:valid   { color: var(--ink); }

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-faint);
  pointer-events: none;
}

/* Inline field error injected by main.js */
.field-error {
  font-size: 12px;
  color: var(--accent);
  margin-top: 4px;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 12px;
}

.form-note {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
}

/* ============ FORM SUCCESS STATE ============ */
.form-success {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  padding: 72px 48px;
  text-align: center;
}

.form-success-inner {
  max-width: 38ch;
  margin: 0 auto;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(232, 116, 60, 0.1);
  border: 1px solid rgba(232, 116, 60, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--accent);
}

.form-success h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.65;
}

.form-success a {
  color: var(--accent);
  border-bottom: 1px solid rgba(232, 116, 60, 0.3);
  transition: border-color 0.2s ease;
}

.form-success a:hover { border-color: var(--accent); }

/* ============ FORM ERROR STATE ============ */
.form-error {
  background: rgba(184, 86, 40, 0.07);
  border: 1px solid rgba(184, 86, 40, 0.22);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.6;
}

.form-error a {
  color: var(--accent);
  border-bottom: 1px solid rgba(232, 116, 60, 0.3);
}

/* ============ DIRECT CONTACT CARD ============ */
.contact-card-inner {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  padding: 48px 40px;
  position: sticky;
  top: 104px;
}

@media (max-width: 880px) {
  .contact-card-inner { position: static; }
}

@media (max-width: 480px) {
  .contact-card-inner { padding: 36px 28px; }
}

.contact-card-label {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

.contact-card-body {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 36ch;
}

.contact-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.contact-card-actions .btn {
  width: 100%;
  justify-content: center;
}

/* Shared label style for card metadata rows */
.contact-card-meta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

.contact-card-hours {
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  margin-bottom: 32px;
}

.contact-card-meta-value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-dim);
}

/* Service area list */
.contact-card-area {
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}

.area-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.area-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-dim);
}

.area-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-faint);
  border: 1px solid var(--rule-strong);
  flex-shrink: 0;
}

.area-item--home::before {
  background: var(--accent);
  border-color: var(--accent);
}

.area-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 3px 8px;
  border: 1px solid rgba(232, 116, 60, 0.3);
  border-radius: 999px;
}

.contact-card-area-note {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
}

/* ============ FAQ ACCORDION ============ */
.contact-faq {
  padding: 140px 0;
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
}

@media (max-width: 720px) {
  .contact-faq { padding: 96px 0; }
}

.faq-list {
  border-top: 1px solid var(--rule);
  max-width: 860px;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  transition: color 0.2s ease;
  user-select: none;
}

/* Remove browser default disclosure triangle */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ink-faint);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.2s ease;
}

details[open] .faq-icon { transform: rotate(180deg); }
.faq-question:hover .faq-icon { color: var(--accent); }

.faq-answer {
  padding: 0 40px 28px 0;
  max-width: 68ch;
}

.faq-answer p {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.75;
}

@media (max-width: 640px) {
  .faq-answer { padding-right: 0; }
}

/* ============ SOFT CTA (contact.html only — different copy than standard CTA) ============ */
.contact-soft-cta {
  padding: 140px 0 120px;
  border-top: 1px solid var(--rule);
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 720px) {
  .contact-soft-cta { padding: 96px 0 80px; }
}

/* Decorative "562" mark behind soft CTA (design system requires it on contact page) */
.soft-cta-mark {
  position: absolute;
  bottom: -15%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(200px, 28vw, 420px);
  color: var(--ink);
  opacity: 0.025;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.soft-cta-pre {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

.soft-cta-heading {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.soft-cta-heading em { font-style: italic; color: var(--accent); }

/* Elevate content above the .contact-bg radial glow and .soft-cta-mark */
.contact-soft-cta .container { position: relative; z-index: 1; }

/* ============ ABOUT PAGE — Story section ============ */
.about-story {
  padding: 140px 0;
  border-top: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .about-story { padding: 96px 0; }
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 880px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Portrait slot — sticky on desktop so it tracks alongside bio scroll */
.about-portrait {
  position: sticky;
  top: 104px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(150deg, var(--bg-elev) 0%, #0d0b09 100%);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

/* Landscape on mobile — avoids a 500px-tall blank block above the bio */
@media (max-width: 880px) {
  .about-portrait {
    position: static;
    aspect-ratio: 16 / 9;
  }
}

/* Ambient glow inside placeholder — matches overall brand atmosphere */
.about-portrait-inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 65%, rgba(232, 116, 60, 0.08), transparent 55%),
    radial-gradient(ellipse at 50% 0%,  rgba(232, 116, 60, 0.04), transparent 45%);
}

.about-portrait-label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Bio text column */
.about-bio p {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
  color: var(--ink-dim);
  margin-bottom: 24px;
}

/* Opening paragraph — lead size, serif, full ink */
.about-bio p:first-child {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink);
}

/* Drop cap — large serif "I" floated left, accent color */
.about-bio p:first-child::first-letter {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 72px;
  float: left;
  line-height: 0.82;
  margin: 8px 14px 0 0;
  color: var(--accent);
}

/* ============ CREDENTIALS STRIP ============ */
.creds-strip {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
}

@media (max-width: 720px) {
  .creds-strip { padding: 72px 0; }
}

.creds-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 720px) {
  .creds-strip-grid { grid-template-columns: 1fr; }
}

.cred-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 0 48px;
  border-right: 1px solid var(--rule);
}

.cred-item:first-child { padding-left: 0; }
.cred-item:last-child  { border-right: none; }

@media (max-width: 720px) {
  .cred-item {
    padding: 0 0 40px;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .cred-item:last-child { border-bottom: none; padding-bottom: 0; }
}

.cred-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 4px;
}

.cred-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.cred-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.cred-detail {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.5;
}

/* ============ WHY 562 ============ */
.about-why {
  padding: 140px 0;
  border-top: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

@media (max-width: 720px) {
  .about-why { padding: 96px 0; }
}

/* Giant "562" behind content — opacity 0.025, clipped by overflow:hidden */
.about-why-mark {
  position: absolute;
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(280px, 38vw, 560px);
  color: var(--ink);
  opacity: 0.025;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

/* Keep container text above the mark */
.about-why .container { position: relative; z-index: 1; }

.about-why-body { max-width: 74ch; }

.about-why-body p {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
  color: var(--ink-dim);
  margin-bottom: 24px;
}

.about-why-body p:last-child { margin-bottom: 0; }

/* ============ EQUIPMENT SECTION ============ */
.about-equipment {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
}

@media (max-width: 720px) {
  .about-equipment { padding: 72px 0; }
}

/* Reuses .faq-item / .faq-question / .faq-icon / .faq-answer from contact page styles */
.equipment-list {
  border-top: 1px solid var(--rule);
  margin-top: 48px;
  max-width: 860px;
}

/* ============ PORTFOLIO PAGE ============ */
.portfolio-section {
  padding: 96px 0 120px;
  border-top: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .portfolio-section { padding: 72px 0 96px; }
}

/* Filter chips — hidden by default until ≥3 items per category exist */
.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.filter-chip {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 8px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: none;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-chip:hover {
  color: var(--ink-dim);
  border-color: var(--rule-strong);
}

.filter-chip.active {
  color: var(--ink);
  border-color: var(--accent);
  background: rgba(232, 116, 60, 0.08);
}

/* ── Portfolio grid ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* ── Portfolio tile (shared base) ── */
.portfolio-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
  aspect-ratio: 4 / 3;
}

/* Featured tile: Queen Mary — spans 2 columns, wider aspect ratio */
.portfolio-item--featured {
  grid-column: span 2;
  aspect-ratio: 3 / 2;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Real tiles are interactive — show intent before JS wires the click */
.portfolio-item:not(.portfolio-item--placeholder) {
  cursor: zoom-in;
}

/* Hover: image pulls back slightly, overlay fades in */
.portfolio-item:not(.portfolio-item--placeholder):hover img {
  transform: scale(1.04);
}

/* Gradient overlay — slides up title/caption on hover */
.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.18) 50%,
    transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 28px 32px;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.portfolio-item:not(.portfolio-item--placeholder):hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-cat {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.portfolio-item-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(17px, 1.8vw, 26px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.1;
}

.portfolio-item-caption {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.5;
}

/* ── Placeholder tiles ── */
.portfolio-item--placeholder {
  cursor: default;
}

.portfolio-placeholder-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #161210 0%, #0d0b09 60%, #0a0a0a 100%);
}

.portfolio-placeholder-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}

.portfolio-coming-soon {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}

.portfolio-placeholder-title {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 21px);
  letter-spacing: -0.02em;
  color: var(--ink-faint);
}

/* Category label inside placeholders uses the faint color */
.portfolio-item--placeholder .portfolio-item-cat {
  color: var(--ink-faint);
  font-size: 10px;
}

/* ── "More work" note ── */
.portfolio-more {
  margin-top: 80px;
  text-align: center;
}

.portfolio-more-eyebrow {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.portfolio-more-line {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--ink-dim);
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.portfolio-more-line a {
  color: var(--accent);
  border-bottom: 1px solid rgba(232, 116, 60, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.portfolio-more-line a:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

/* ── Portfolio responsive ── */

/* Tablet: 2-column, featured remains full-width */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-item--featured {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
}

/* Mobile: single column, overlay always visible (no hover on touch) */
@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .portfolio-item,
  .portfolio-item--featured {
    grid-column: span 1;
    aspect-ratio: 3 / 2;
  }
  .portfolio-item-overlay {
    opacity: 1;
  }
  .portfolio-more {
    margin-top: 56px;
  }
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s cubic-bezier(0.2, 0.7, 0.2, 1),
    visibility 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Film-grain texture on the backdrop — matches site-wide body::before */
.lightbox::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Close button — top-right corner, large tap target */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  color: var(--ink-dim);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.lightbox-close:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: rgba(245, 241, 234, 0.06);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Inner container — clicking here does NOT close the lightbox */
.lightbox-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
}

/* The full-size image */
.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 88px); /* leave room for caption row */
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--rule);
}

/* Caption row below the image */
.lightbox-meta {
  width: 100%;
  padding: 16px 0 0;
}

.lightbox-cat {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}

.lightbox-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(16px, 1.8vw, 24px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 4px;
}

.lightbox-caption-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.5;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .lightbox {
    padding: 16px;
    align-items: center;
  }
  .lightbox-close {
    top: 14px;
    right: 16px;
  }
  .lightbox-inner {
    max-width: 100%;
    max-height: 88vh;
  }
  .lightbox-img {
    max-height: calc(88vh - 80px);
  }
}
