/* GallArt Foundation — styles */
:root {
  --ink: #1c1917;
  --ink-2: #292524;
  --muted: #6b635d;
  --line: #e7e2dc;
  --paper: #faf8f5;
  --stone: #f1ede7;
  --white: #ffffff;
  --gold: #b08d57;
  --gold-2: #c9a96e;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 4px;
  --shadow: 0 20px 50px -20px rgba(28, 25, 23, .35);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }
p, ul, ol, figure, blockquote { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(250, 248, 245, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid currentColor; border-radius: 50%;
  font-family: var(--serif); font-size: 1.15rem; font-style: italic;
}
.brand-name { font-family: var(--serif); font-size: 1.2rem; letter-spacing: .02em; }
.brand-name em { font-style: italic; font-weight: 400; opacity: .8; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  position: relative; padding: .3rem 0;
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.nav-cta { border: 1px solid currentColor; padding: .55rem 1.1rem !important; border-radius: 999px; transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.8rem; border-radius: 999px; border: 1px solid transparent;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold-2); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-2); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink);
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20,17,15,.9) 0%, rgba(20,17,15,.65) 50%, rgba(20,17,15,.35) 100%),
    url("/Images/A1.jpg") center / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 400; letter-spacing: -.01em; margin: 1rem 0 1.5rem; }
.hero h1 em { color: var(--gold-2); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 300; max-width: 34ch; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero-art { justify-self: end; max-width: 380px; position: relative; }
.hero-art::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid rgba(201,169,110,.6); z-index: 0;
}
.hero-art img { position: relative; z-index: 1; aspect-ratio: 8268 / 11811; object-fit: cover; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.8rem; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-paper { background: var(--paper); }
.section-stone { background: var(--stone); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.eyebrow-light { color: rgba(255,255,255,.75); }
.eyebrow-gold { color: var(--gold-2); }
.section-title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 400; margin-top: .7rem; }
.section-title.light { color: #fff; }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 1.2rem; }
.light-muted { color: rgba(255,255,255,.72); }
.num { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--gold); margin-right: .6rem; vertical-align: middle; }

/* Essay */
#vision .section-title { margin-bottom: 2.5rem; }
.hero-inner { grid-template-columns: 1fr; }
.vision-photo { margin: 0 auto 2.5rem; max-width: 560px; }
.vision-photo img { width: 100%; height: auto; border-radius: 4px; box-shadow: var(--shadow); }
.essay p { margin-bottom: 1.5rem; color: #3a3430; font-size: 1.08rem; }
.dropcap::first-letter {
  float: left; font-family: var(--serif); font-size: 4.6rem; line-height: .85; padding: .35rem .6rem 0 0; color: var(--gold);
}
.pullquote {
  margin: 2.5rem 0; padding: 1.5rem 0 1.5rem 2rem; border-left: 2px solid var(--gold);
}
.pullquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--ink) !important; margin: 0 !important; }
.text-link {
  display: inline-flex; gap: .5rem; margin-top: 1rem; text-decoration: none;
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold); padding-bottom: .3rem;
}
.text-link:hover span { transform: translateX(4px); }
.text-link span { transition: transform .2s; }

/* Vision & mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); }
.vm-card { background: var(--ink); padding: clamp(2rem, 5vw, 3.5rem); }
.vm-text { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.4; margin-top: 1.2rem; }

/* Roadmap */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.panel { background: var(--white); border: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: var(--radius); }
.panel h3 { font-size: 1.6rem; margin-bottom: 1.4rem; }
.ticks { list-style: none; padding: 0; display: grid; gap: 1rem; }
.ticks li { position: relative; padding-left: 1.6rem; color: #3a3430; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--gold); }
.ticks strong { font-weight: 600; color: var(--ink); }
.sub-title { font-size: 1.6rem; margin: clamp(3.5rem, 7vw, 5rem) 0 2rem; }

.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--line); }
.tl-item { position: relative; padding-top: 2.6rem; }
.tl-item::before {
  content: ""; position: absolute; top: 2px; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold);
}
.tl-when { font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.tl-item h4 { font-size: 1.7rem; font-weight: 400; margin: .3rem 0 1rem; }
.tl-item ul { padding-left: 1.1rem; color: #3a3430; display: grid; gap: .5rem; }
.tl-item li::marker { color: var(--gold); }

.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.impact { border-top: 2px solid var(--ink); padding-top: 1.3rem; }
.impact h4 { font-size: 1.25rem; margin-bottom: .6rem; }
.impact p { color: var(--muted); font-size: .98rem; }

/* Founders */
.founders { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.founders-photo { position: relative; }
.founders-photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: 0; }
.founders-photo img { position: relative; z-index: 1; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; width: 100%; box-shadow: var(--shadow); }
.founders-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* Gallery */
.gallery { columns: 3 300px; column-gap: 1.25rem; }
.tile {
  position: relative; display: block; width: 100%; padding: 0; margin: 0 0 1.25rem; border: 0; background: var(--line);
  cursor: zoom-in; overflow: hidden; break-inside: avoid; border-radius: var(--radius);
}
.tile img { width: 100%; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; }
.tile-view {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(20,17,15,.75));
  color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; text-align: left;
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); }
.tile:hover .tile-view, .tile:focus-visible .tile-view { opacity: 1; transform: none; }

/* Newsletter */
.newsletter .lead { margin-bottom: 2.5rem; }
.subscribe { max-width: 560px; margin-inline: auto; text-align: left; }
.subscribe-row { display: flex; gap: .6rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: .4rem; }
.subscribe-row:focus-within { border-color: var(--gold-2); }
.subscribe input[type="email"] {
  flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: .8rem 1.2rem; font: inherit; font-size: 1rem;
}
.subscribe input[type="email"]::placeholder { color: rgba(255,255,255,.5); }
.subscribe input[type="email"]:focus { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.1rem; font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: .2rem; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--gold-2); }
.form-status { min-height: 1.6em; margin-top: 1rem; font-size: .95rem; text-align: center; }
.form-status.ok { color: #b9e0b0; }
.form-status.err { color: #f2b8a8; }

/* Footer */
.site-footer { background: #14110f; color: rgba(255,255,255,.7); padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: .8rem; }
.footer-tag { max-width: 36ch; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; align-content: start; }
.footer-nav a, .footer-contact a, .footer-bottom a { text-decoration: none; transition: color .2s; }
.footer-nav a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: var(--gold-2); }
.footer-label { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: .6rem; }
.footer-contact a { word-break: break-all; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; font-size: .85rem; color: rgba(255,255,255,.5); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(12,10,9,.96);
  display: grid; grid-template-columns: 80px 1fr 80px; align-items: center;
  animation: fadeIn .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lb-figure { grid-column: 2; display: grid; justify-items: center; gap: 1rem; padding: 3rem 0; }
.lb-img { max-height: 82vh; max-height: 82svh; width: auto; max-width: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-caption { color: rgba(255,255,255,.6); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.lightbox button { background: none; border: 0; color: #fff; cursor: pointer; opacity: .7; transition: opacity .2s; }
.lightbox button:hover { opacity: 1; }
.lb-prev, .lb-next { font-size: 3.5rem; line-height: 1; height: 100%; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: 1rem; right: 1.4rem; font-size: 2.6rem; line-height: 1; z-index: 2; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Privacy page */
.page { padding: calc(var(--header-h) + 4rem) 0 6rem; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 400; margin-bottom: 2rem; }
.page h2 { font-size: 1.4rem; margin: 2.2rem 0 .8rem; }
.page p, .page li { color: #3a3430; margin-bottom: 1rem; }
.page-header { background: var(--ink); }
.page-header.site-header { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-art { justify-self: start; max-width: 260px; }
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); color: var(--ink); padding: 1rem 1.25rem 2rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3);
    transform: translateY(-120%); visibility: hidden; transition: transform .35s ease, visibility .35s;
  }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .site-nav a::after { display: none; }
  .nav-cta { margin-top: 1rem; text-align: center; border-color: var(--ink); }
  .site-header.menu-open { background: var(--paper); color: var(--ink); }
  .vm-grid, .two-col, .timeline, .founders { grid-template-columns: 1fr; }
  .timeline::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
  .tl-item { padding: 0 0 0 2.6rem; }
  .founders-photo { max-width: 420px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-art { display: none; }
  .impact-grid, .footer-inner { grid-template-columns: 1fr; }
  .gallery { columns: 2 140px; column-gap: .75rem; }
  .tile { margin-bottom: .75rem; }
  .tile-view { opacity: 1; transform: none; padding: 1.5rem .7rem .6rem; font-size: .62rem; }
  .subscribe-row { flex-direction: column; border-radius: 16px; }
  .subscribe-row .btn { width: 100%; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .lb-prev, .lb-next { font-size: 2.6rem; }
  .brand-name em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
