/* =========================================================
   Lumos Studio — Stylesheet
   Typography · Palette · Layout system
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (from brand guide) */
  --bg:        #E9E7E1;
  --surface:   #E2E0D9;
  --border:    #C6C3BB;
  --muted:     #8A8880;
  --body:      #4A4844;
  --ink:       #1A1916;

  /* Typography */
  --font-brand:  "Jost", "Inter", system-ui, sans-serif;
  --font-editor: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  /* "Welcome"-title face (same Cormorant display used on the pricing pages) */
  --font-script: "Cormorant", "Cormorant Garamond", Georgia, serif;

  /* Scale */
  --track-brand: 0.32em;   /* extreme letter-spacing for nav/labels */
  --track-label: 0.22em;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --rule: 1px solid var(--border);

  /* Motion */
  --ease: cubic-bezier(.2,.6,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-editor);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Body text — editorial italic by default for quiet elegance */
p { margin: 0 0 1em; }
p.editorial { font-style: italic; }

::selection { background: var(--ink); color: var(--bg); }

/* ---------- Typography utilities ---------- */
.brand-text {
  font-family: var(--font-brand);
  font-weight: 400;
  letter-spacing: var(--track-brand);
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--ink);
}
.label {
  font-family: var(--font-brand);
  font-weight: 400;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}
.script {
  font-family: var(--font-script);
  font-weight: 350;
  font-style: normal;       /* always upright — never the swashy italic */
  font-synthesis: none;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-script);
  color: var(--ink);
  font-weight: 400;
  margin: 0 0 .4em;
  line-height: 1.05;
}
h1 { font-size: clamp(3rem, 7vw, 5.75rem); }
h2 { font-size: clamp(2.25rem, 5vw, 4rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }

/* ---------- Site header / nav ---------- */
.site-header {
  padding: 34px var(--gutter) 28px;
  border-bottom: var(--rule);
  text-align: center;
}
.site-header .brand {
  display: inline-block;
  line-height: 1;
}
.site-header .brand svg { height: 18px; width: auto; }
.site-header .tag {
  margin-top: 12px;
  color: var(--muted);
}
.site-header .tag span { margin: 0 .5em; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 44px);
  margin-top: 22px;
}
.site-nav a {
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  font-size: 0.72rem;
  color: var(--muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---------- Section / layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(64px, 10vw, 120px) 0; }
section + section { border-top: var(--rule); }

.eyebrow {
  text-align: center;
  color: var(--muted);
  margin-bottom: 14px;
}
.section-title {
  text-align: center;
  margin: 0 auto 22px;
  text-transform: uppercase;     /* match the ABOUT / WELCOME title style */
  letter-spacing: .2em;
  font-weight: 350;
}
.section-divider {
  width: 48px;
  height: 1px;
  background: var(--border);
  margin: 22px auto 28px;
  border: 0;
}
.section-lede {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  font-style: italic;
  color: var(--body);
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(80px, 14vw, 160px) var(--gutter);
  text-align: center;
  border-bottom: var(--rule);
}
.hero .kicker { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  margin-bottom: .1em;
}
.hero .subhead {
  font-style: italic;
  color: var(--body);
  max-width: 540px;
  margin: 22px auto 36px;
}
.hero .cta-row {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  font-size: 0.72rem;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.ghost { border-color: var(--border); color: var(--muted); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }

.link-underline {
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  font-size: 0.72rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}

/* ---------- Image placeholders ---------- */
.placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  font-size: .68rem;
  overflow: hidden;
  position: relative;
}
.placeholder span { padding: 12px; text-align: center; }
.placeholder .caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  text-align: left;
  font-family: var(--font-editor);
  font-style: italic;
  font-size: .85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--body);
  opacity: .75;
}
.placeholder.portrait { aspect-ratio: 3 / 4; }
.placeholder.landscape { aspect-ratio: 4 / 3; }
.placeholder.square    { aspect-ratio: 1 / 1; }
.placeholder.cinema    { aspect-ratio: 16 / 9; }
.placeholder.tall      { aspect-ratio: 2 / 3; }

/* ---------- Featured grid (home) ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.featured-grid .placeholder { border: 0; aspect-ratio: 4 / 5; }
@media (max-width: 700px) {
  .featured-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing cards ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(16px, 2vw, 26px);
  align-items: start;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 40px 30px;
  text-align: center;
}
.pricing-card.featured { background: var(--surface); border-color: var(--ink); }
.pricing-card .tag {
  color: var(--muted);
  margin-bottom: 10px;
  min-height: 1.2em;
  font-family: var(--font-editor);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: .9rem;
}
.pricing-card .name {
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: var(--track-brand);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 14px;
}
.pricing-card .line { width: 36px; height: 1px; background: var(--border); margin: 14px auto 22px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 22px; font-style: italic; }
.pricing-card li { padding: 4px 0; }
.pricing-card .price {
  font-family: var(--font-brand);
  letter-spacing: var(--track-label);
  font-size: .95rem;
  color: var(--ink);
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
@media (max-width: 540px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing pages — collection groups, detailed cards, à la carte ---------- */
.collection-group + .collection-group { margin-top: clamp(44px, 7vw, 84px); }
.collection-group .group-eyebrow { text-align: center; margin-bottom: 26px; }

/* Detailed inclusions list inside a pricing card (left-aligned for legibility) */
.pricing-card ul.details {
  text-align: left;
  font-size: .92rem;
  line-height: 1.5;
  margin-bottom: 24px;
}
.pricing-card ul.details li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-card ul.details li:last-child { border-bottom: 0; }
.pricing-card .price.large { font-size: 1.08rem; }

/* À la carte — line items with price on the right */
.alacarte { max-width: 780px; margin: 0 auto; border-top: var(--rule); }
.alacarte .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 15px 0;
  border-bottom: var(--rule);
}
.alacarte .item { font-style: italic; color: var(--body); }
.alacarte .cost {
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  font-size: .72rem;
  color: var(--ink);
  white-space: nowrap;
}

/* Booking / FAQ note blocks reuse .contact-details rows */
.note { max-width: 760px; margin: 0 auto; }

/* ---------- Quote ---------- */
.quote {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.quote p {
  font-family: var(--font-editor);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.55;
  color: var(--body);
}
.quote .attrib { margin-top: 22px; }

/* ---------- Portfolio gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.gallery .placeholder { border: 0; aspect-ratio: 3 / 4; }
.gallery .placeholder.wide { grid-column: span 2; aspect-ratio: 3 / 2; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .placeholder.wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .placeholder.wide { grid-column: span 1; }
}

/* ---------- About — side-by-side ---------- */
.two-col {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.two-col.reverse { grid-template-columns: 6fr 5fr; }
@media (max-width: 820px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
}
.two-col h2 { text-align: left; }
.two-col .script-eyebrow { margin-bottom: 14px; }

/* ---------- Philosophy list ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.principle {
  padding: 40px 28px;
  text-align: center;
  border-right: var(--rule);
}
.principle:last-child { border-right: 0; }
.principle .n {
  font-family: var(--font-brand);
  letter-spacing: var(--track-label);
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.principle h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 350; }
.principle p { font-style: italic; color: var(--body); font-size: .95rem; }
@media (max-width: 800px) {
  .principles { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-bottom: var(--rule); }
  .principle:last-child { border-bottom: 0; }
}

/* ---------- Process / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.step {
  padding: 32px 22px;
  border-right: var(--rule);
  text-align: center;
}
.step:last-child { border-right: 0; }
.step .num {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
}
.step h4 {
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  font-size: .78rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.step p { font-style: italic; font-size: .9rem; color: var(--body); margin: 0; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: var(--rule); border-bottom: var(--rule); }
  .step:nth-child(even) { border-right: 0; }
  .step:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { border-right: 0; }
  .step { border-bottom: var(--rule); }
  .step:last-child { border-bottom: 0; }
}

/* ---------- Contact / form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(28px, 5vw, 80px);
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details .row {
  padding: 18px 0;
  border-bottom: var(--rule);
}
.contact-details .row:first-child { border-top: var(--rule); }
.contact-details .label { display: block; margin-bottom: 4px; }
.contact-details .val { font-style: italic; font-size: 1.05rem; color: var(--ink); }

form.inquiry { display: grid; gap: 14px; }
form.inquiry label {
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  font-size: .68rem;
  color: var(--muted);
  margin-bottom: 4px;
  display: block;
}
form.inquiry label .req { color: var(--ink); opacity: .55; margin-left: 1px; }
form.inquiry .field { display: grid; }
form.inquiry textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
form.inquiry input,
form.inquiry select,
form.inquiry textarea {
  background: transparent;
  border: 0;
  border-bottom: var(--rule);
  border-radius: 0;
  padding: 12px 2px 10px;
  font-family: var(--font-editor);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s var(--ease);
}
form.inquiry input:focus,
form.inquiry select:focus,
form.inquiry textarea:focus { border-color: var(--ink); }
form.inquiry textarea { resize: vertical; min-height: 120px; }
form.inquiry .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { form.inquiry .two { grid-template-columns: 1fr; } }
form.inquiry .submit-row { margin-top: 18px; display: flex; justify-content: flex-start; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: var(--rule);
  padding: 34px var(--gutter) 40px;
  text-align: center;
  color: var(--muted);
}
.site-footer .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-footer .row > :nth-child(1) { text-align: left; }
.site-footer .row > :nth-child(3) { text-align: right; }
@media (max-width: 600px) {
  .site-footer .row { grid-template-columns: 1fr; }
  .site-footer .row > :nth-child(1),
  .site-footer .row > :nth-child(3) { text-align: center; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 48px; }
.mb-s { margin-bottom: 18px; }
.mb-m { margin-bottom: 28px; }
.mb-l { margin-bottom: 48px; }

/* ---------- Fade-in on scroll (paired with JS) ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Language toggle ---------- */
.lang {
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  font-size: .68rem;
  color: var(--muted);
}
.lang a[aria-current="true"] { color: var(--ink); }

/* RTL adjustments (for future Arabic version) */
[dir="rtl"] .contact-details .row .label { text-align: right; }
[dir="rtl"] .site-header, [dir="rtl"] .hero { text-align: center; }
