/* ============================================================
   LA MEDIA WALL — Website kit styles
   Built on top of colors_and_type.css tokens.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

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

/* ---------- Layout helpers ---------- */
.section { padding: var(--s-10) var(--gutter); position: relative; }
.section-tight { padding-bottom: 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: var(--warm-white); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-inner.narrow { max-width: 920px; }

.services-head { display: grid; grid-template-columns: 1fr; gap: var(--s-3); max-width: 920px; margin-bottom: var(--s-9); }
.section-h2 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.04; color: var(--ink); }
.section-h2.on-dark { color: var(--warm-white); }
.section-eyebrow { display: inline-flex; align-items: center; }
.eyebrow.on-dark { color: rgba(250,248,245,0.55); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
  border-radius: 0;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { border-bottom-color: transparent; }
.btn:active { transform: translateY(1px); filter: brightness(0.96); }
.btn-sm { padding: 11px 18px; font-size: 11px; letter-spacing: 0.16em; }

.btn-primary { background: var(--ink); color: var(--warm-white); border-color: var(--ink); }
.btn-primary:hover { background: #2A2826; }

.btn-primary-light { background: var(--warm-white); color: var(--ink); border-color: var(--warm-white); }
.btn-primary-light:hover { background: var(--soft-beige); }

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

.btn-ghost-light { background: transparent; color: var(--warm-white); border-color: rgba(250,248,245,0.7); }
.btn-ghost-light:hover { background: var(--warm-white); color: var(--ink); border-color: var(--warm-white); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
  color: var(--warm-white);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-word { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: inherit; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: inherit; font-weight: 500; }
.nav-link:hover { opacity: 0.7; border-bottom-color: transparent; }

.nav-burger {
  display: none;
  background: transparent; border: 0; padding: 8px; color: inherit; cursor: pointer;
}

.nav-solid {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  color: var(--ink);
}
.nav-solid .btn-primary { background: var(--ink); color: var(--warm-white); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; background: var(--bg); z-index: 200; padding: 22px var(--gutter); display: flex; flex-direction: column; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.mobile-menu-links { display: flex; flex-direction: column; gap: 28px; padding-top: 80px; color: var(--ink); }
.mobile-menu-links a { font-family: var(--font-display); font-size: 36px; font-weight: 300; letter-spacing: -0.02em; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: var(--ink);
  color: var(--warm-white);
}
.hero-img {
  position: absolute;
  inset: -8% -2% -2% -2%;
  background-image: url('../../assets/work-fjord-fluted-niches.jpg');
  background-size: cover;
  background-position: center 38%;
  will-change: transform;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0.10) 22%, rgba(0,0,0,0.10) 60%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 200px var(--gutter) var(--s-9);
  display: flex; flex-direction: column; gap: 24px;
  height: 100%;
  justify-content: flex-end;
}
.hero-eyebrow { color: rgba(250,248,245,0.7); }
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8.6vw, 120px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--warm-white);
  max-width: 14ch;
  text-wrap: balance;
}
.hero-sub {
  font-family: var(--font-text);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 300;
  line-height: 1.45;
  color: rgba(250,248,245,0.85);
  max-width: 56ch;
}
.hero-actions { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.3em; color: rgba(250,248,245,0.7);
  text-decoration: none;
}
.scroll-cue svg { animation: bobble 2.4s ease-in-out infinite; }
@keyframes bobble { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- Intro ---------- */
.section-intro { padding-top: var(--s-11); padding-bottom: var(--s-11); }
.intro-quote {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin: var(--s-5) 0 var(--s-7);
  max-width: 22ch;
  text-wrap: balance;
}
.intro-sub { color: var(--charcoal); max-width: 64ch; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: start; }
.services-list { list-style: none; padding: 0; margin: 0; }
.services-item {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding: 22px 0;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  transition: padding-left var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.services-item:last-child { border-bottom: 1px solid var(--border); }
.services-item:hover { padding-left: 12px; }
.services-item::after {
  content: "";
  width: 14px; height: 1px; background: currentColor; opacity: 0.4;
}
.services-aside { padding-top: 22px; max-width: 36ch; }
.services-aside .lead { color: var(--ink); }
.services-aside-body { color: var(--muted-taupe); margin-top: var(--s-5); font-size: 15px; line-height: 1.6; }

/* ---------- Styles cards ---------- */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 36px 28px;
}
.style-card {
  display: flex; flex-direction: column; gap: 14px;
}
.style-card:nth-child(1) { grid-column: span 3; }
.style-card:nth-child(2) { grid-column: span 3; }
.style-card:nth-child(3) { grid-column: span 2; }
.style-card:nth-child(4) { grid-column: span 2; }
.style-card:nth-child(5) { grid-column: span 2; }

.style-card-img {
  aspect-ratio: 4 / 3.1;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92);
  transition: transform var(--t-slow) var(--ease-out);
}
.style-card:hover .style-card-img { transform: scale(1.015); }
.style-card-meta { display: flex; align-items: baseline; gap: 14px; padding-top: 8px; }
.style-card-num { font-family: var(--font-mono); font-size: 11px; color: var(--muted-taupe); }
.style-card-label { font-family: var(--font-text); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.style-card-desc { font-size: 14px; line-height: 1.55; color: var(--muted-taupe); max-width: 38ch; }

/* ---------- Gallery ---------- */
.gal-fullbleed, .gal-twoup { display: grid; gap: 24px; padding: 0 var(--gutter); margin-top: 24px; }
.gal-fullbleed { grid-template-columns: 1fr; }
.gal-twoup { grid-template-columns: 1fr 1fr; }

.gal-tile {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.gal-tile-img {
  background-size: cover;
  background-position: center;
  transition: transform 800ms var(--ease-out);
}
.gal-fullbleed .gal-tile-img { aspect-ratio: 21 / 9; }
.gal-twoup .gal-tile-img { aspect-ratio: 4 / 3; }
.gal-tile:hover .gal-tile-img { transform: scale(1.025); }
.gal-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,26,26,0.55), rgba(26,26,26,0) 45%);
  display: flex; align-items: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.gal-tile:hover .gal-tile-overlay { opacity: 1; }
.gal-tile-loc {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--warm-white);
  font-weight: 500; transform: translateY(8px); opacity: 0; transition: transform 400ms var(--ease-out), opacity 400ms var(--ease-out);
}
.gal-tile:hover .gal-tile-loc { transform: translateY(0); opacity: 1; }
.gal-tile { border-bottom: none !important; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process-step { display: flex; flex-direction: column; gap: 16px; }
.process-num { font-family: var(--font-mono); font-size: 12px; color: var(--muted-taupe); letter-spacing: 0.1em; }
.process-rule { height: 1px; background: var(--ink); width: 40px; }
.process-title { font-family: var(--font-text); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.process-body { font-size: 14px; line-height: 1.6; color: var(--charcoal); max-width: 30ch; }

/* ---------- Reasons ---------- */
.reasons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.reason { display: flex; flex-direction: column; gap: 14px; }
.reason-rule { width: 28px; height: 1px; background: var(--ink); }
.reason-title { font-family: var(--font-display); font-size: 24px; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
.reason-body { font-size: 14px; line-height: 1.6; color: var(--charcoal); }

/* ---------- Estimate / Contact ---------- */
.contact-sub { color: rgba(250,248,245,0.78); max-width: 64ch; margin-top: var(--s-5); }
/* override p.lead dark color on dark sections (higher specificity) */
.section-dark p.lead, .section-dark .contact-sub { color: rgba(250,248,245,0.82); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: start; }

.estimate-form { display: flex; flex-direction: column; gap: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }

.field { display: flex; flex-direction: column; gap: 10px; }
.field-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(250,248,245,0.55); font-weight: 500; }

.field input, .field select, .field textarea, .upload {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(250,248,245,0.25);
  padding: 12px 0;
  font-family: var(--font-text);
  font-size: 16px;
  color: var(--warm-white);
  border-radius: 0;
  outline: none;
  transition: border-color var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(250,248,245,0.35); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--warm-white); }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 28px; }
.select-wrap::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 10px; height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23FAF8F5' stroke-width='1.5'><polyline points='6 9 12 15 18 9'/></svg>");
  background-size: contain; background-repeat: no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

.upload { display: flex; align-items: center; gap: 10px; color: rgba(250,248,245,0.6); cursor: pointer; }
.upload:hover { color: var(--warm-white); border-bottom-color: var(--warm-white); }

.radios { display: flex; gap: 8px; padding-top: 6px; }
.radio-pill {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(250,248,245,0.3);
  color: rgba(250,248,245,0.78);
  padding: 9px 16px;
  font-family: var(--font-text);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.radio-pill:hover { border-color: var(--warm-white); color: var(--warm-white); }
.radio-pill.is-selected { background: var(--warm-white); color: var(--ink); border-color: var(--warm-white); }

.form-actions { padding-top: 20px; }

.contact-aside { display: flex; flex-direction: column; gap: 32px; }
.contact-card { padding-top: 32px; border-top: 1px solid rgba(250,248,245,0.18); display: flex; flex-direction: column; gap: 18px; }
.contact-line { font-family: var(--font-display); font-size: 22px; font-weight: 300; line-height: 1.3; color: var(--warm-white); letter-spacing: -0.01em; }
.contact-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-meta li { display: grid; grid-template-columns: 100px 1fr; align-items: center; font-size: 14px; }
.contact-meta li span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(250,248,245,0.45); font-weight: 500; }
.contact-meta li a { color: var(--warm-white); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 32px 0;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.faq-toggle { font-family: var(--font-mono); font-size: 22px; font-weight: 300; color: var(--muted-taupe); transition: transform var(--t-base) var(--ease); }
.faq-item.is-open .faq-toggle { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 500ms var(--ease), padding 500ms var(--ease);
}
.faq-a p { font-size: 16px; line-height: 1.7; color: var(--charcoal); max-width: 70ch; padding-bottom: 32px; }
.faq-item.is-open .faq-a { max-height: 360px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--warm-white); padding: var(--s-10) var(--gutter) var(--s-7); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 64px; }
.footer-word { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 22px; }
.footer-blurb { color: rgba(250,248,245,0.65); max-width: 36ch; font-size: 14px; line-height: 1.6; }
.footer-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list a { color: var(--warm-white); font-size: 14px; }
.footer-list a:hover { opacity: 0.7; }
.footer-cta { margin-top: 24px; }
.footer-rule { height: 1px; background: rgba(250,248,245,0.12); margin: var(--s-9) 0 var(--s-5); max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.footer-base { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; font-size: 12px; color: rgba(250,248,245,0.45); letter-spacing: 0.05em; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  padding: 18px 24px;
  background: var(--ink);
  color: var(--warm-white);
  text-align: center;
  font-family: var(--font-text); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.4);
}

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-on-load { animation: rise 1200ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav { color: var(--ink); }
  .services-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 32px; }
  .styles-grid { grid-template-columns: 1fr 1fr; }
  .style-card { grid-column: span 1 !important; }
  .process-grid, .reasons-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .gal-twoup { grid-template-columns: 1fr; }
  .section { padding: 80px var(--s-5); }
  .section-intro { padding: 96px var(--s-5); }
  .mobile-cta { display: block; }
  .footer-base { flex-direction: column; gap: 8px; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .styles-grid { grid-template-columns: 1fr; }
  .process-grid, .reasons-grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 140px; }
}
