:root{
  --bg:#fafaf7;
  --fg:#1a2740;
  --muted:#5a6478;
  --primary:#16325c;
  --accent:#f07a1f;
  --accent-2:#f5a142;
  --card:#ffffff;
  --section-alt:linear-gradient(180deg,#fff,#f4efe6);
  --footer-bg:#0e1c36;
  --border:rgba(20,30,60,.08);
  --hero-overlay:rgba(10,18,40,.55);
  --glass-bg:rgba(255,255,255,.55);
  --glass-border:rgba(255,255,255,.4);
  --shadow-lg:0 20px 60px -20px rgba(20,40,80,.25);
  --shadow-glass:0 10px 40px -10px rgba(20,40,80,.18), inset 0 1px 0 rgba(255,255,255,.6);
  --radius:16px;
  --ease:cubic-bezier(.22,1,.36,1);
}

:root[data-theme="dark"]{
  --bg:#0b1220;
  --fg:#e8ecf5;
  --muted:#8a93a8;
  --primary:#e8ecf5;
  --accent:#ff8a3d;
  --accent-2:#ffb066;
  --card:#131c30;
  --section-alt:linear-gradient(180deg,#0b1220,#0e1730);
  --footer-bg:#060b18;
  --border:rgba(255,255,255,.08);
  --glass-bg:rgba(20,30,55,.5);
  --glass-border:rgba(255,255,255,.08);
  --shadow-lg:0 20px 60px -20px rgba(0,0,0,.6);
  --shadow-glass:0 10px 40px -10px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}

html{transition:background-color .5s var(--ease),color .5s var(--ease)}
body,.card,.tile,.section--alt,.footer,.nav__inner,.submenu,.drawer{
  transition:background .5s var(--ease),color .5s var(--ease),border-color .5s var(--ease),box-shadow .5s var(--ease);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--fg);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;line-height:1.55;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{letter-spacing:-.03em;font-weight:600;margin:0 0 .4em}
h1{font-size:clamp(2.4rem,6vw,4.5rem);line-height:1.05}
h2{font-size:clamp(1.8rem,3.5vw,2.8rem)}
h3{font-size:1.25rem}
.kicker{
  text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;
  font-weight:600;color:var(--accent);margin:0 0 1rem
}
.lede{font-size:1.15rem;color:rgba(255,255,255,.85);max-width:60ch}
.lede--dark{color:var(--muted)}
.container{max-width:1180px;margin:0 auto;padding:0 1.5rem}


.nav {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--nav-bg);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.4);
}
@media (min-width: 768px) { .nav { padding: 12px 24px; } }

/* liquid sheen */
.nav::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.45) 50%,transparent 70%);
  background-size:200% 100%;
  animation:sheen 9s linear infinite;
  mix-blend-mode:overlay;opacity:.6;
}
@keyframes sheen{0%{background-position:200% 0}100%{background-position:-200% 0}}



/* Brand */
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
  transition: opacity .2s;
}
.brand:hover { opacity: .9; }
.brand__logo {
  height: 120px; width: 120px; object-fit: contain;
  border-radius: 999px;
}
@media (min-width: 768px) {
  .brand__logo { height: 120px; width: 120px; }
}
.brand__text { font-weight: 700; line-height: 1.1; }
.accent { color: var(--accent); }
.brand__text--desktop { display: none; font-size: 16px; }
.brand__text--mobile  { display: flex; flex-direction: column; font-size: 14px; }
.brand__text--mobile .line { display: block; }
@media (min-width: 768px) {
  .brand__text--desktop { display: block; }
  .brand__text--mobile  { display: none; }
}

/* Desktop nav */
.nav__list {
  display: none;
  list-style: none; margin: 0; padding: 0;
  gap: 4px; align-items: center;
}
@media (min-width: 1024px) { .nav__list { display: flex; } }

.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px;
  border: 0; background: transparent;
  font: inherit; font-size: 14px; font-weight: 500;
  color: var(--text-muted); cursor: pointer;
  border-radius: 9999px;
  text-decoration: none;
  transition: color .2s;
}
.nav__link:hover { color: var(--text); }
.chev {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s ease;
}
.has-sub:hover .chev,
.m-item.open .chev { transform: rotate(180deg); }



/* Submenu */
.submenu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 8px) scale(.96);
  margin-top: 12px;
  list-style: none; padding: 8px;
  width: 224px;
  background: var(--sub-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 60;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.submenu li { opacity: 0; transform: translateX(-8px); transition: opacity .25s ease, transform .25s ease; }
.has-sub:hover .submenu li { opacity: 1; transform: translateX(0); }
.submenu li:nth-child(1) { transition-delay: .04s; }
.submenu li:nth-child(2) { transition-delay: .08s; }
.submenu li:nth-child(3) { transition-delay: .12s; }
.submenu li:nth-child(4) { transition-delay: .16s; }
.submenu a {
  display: block; padding: 8px 12px; font-size: 14px;
  color: var(--text-muted); text-decoration: none;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.submenu a:hover { background: var(--chip); color: var(--accent); }

/* Actions */
.nav__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid; place-items: center;
  height: 40px; width: 40px;
  border: 0; background: var(--chip);
  color: var(--text);
  border-radius: 9999px; cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background .2s;
}
.icon-btn:hover { background: var(--chip-hover); }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s, transform .25s; }

/* Theme icon visibility */
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* Burger */
.burger { display: grid; }
@media (min-width: 1024px) { .burger { display: none; } }
.icon-x { display: none; }
.mobile-open .icon-menu { display: none; }
.mobile-open .icon-x    { display: block; }

/* Mobile menu */
.mobile-menu {
  max-width: 1152px;
  margin: 8px auto 0;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--sub-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height .3s ease, opacity .25s ease, transform .25s ease, padding .3s ease;
}
.mobile-menu.open {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu__inner { padding: 16px; }
@media (min-width: 1024px) { .mobile-menu, #burger { display: none; } }

.m-item { border-radius: 12px; }
.m-link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 12px;
  border: 0; background: transparent;
  font: inherit; font-size: 14px; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  border-radius: 8px; cursor: pointer;
}
.m-link:hover { background: var(--chip); }
.m-sub {
  list-style: none; padding: 0 0 0 16px; margin: 0;
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.m-item.open .m-sub { max-height: 240px; }
.m-sub a {
  display: block; padding: 8px 12px; font-size: 14px;
  color: var(--text-muted); text-decoration: none;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.m-sub a:hover { background: var(--chip); color: var(--accent); }

/* HERO */
.hero{
  max-width:var(--max);margin:0 auto;
  padding:100px 24px 80px;
}
.hero__eyebrow{
  text-transform:uppercase;letter-spacing:.2em;font-size:.78rem;
  color:var(--accent);margin-bottom:20px;
}
.hero__content { position: relative; z-index: 2;max-width: 1180px;text-align: center; margin: 0 auto; padding: 7rem 1.5rem 4rem;width: 100%;display: flex;justify-content: center; align-items: center;flex-direction: column;}
.hero__content .kicker{color:var(--accent-2)}
.hero__cta{margin-top:2rem; text-align: center; display:flex;gap:.85rem;flex-wrap:wrap}

.hero h1{
  font-family:inherit;
  font-size:clamp(2.5rem,7vw,5.5rem);
  font-weight:500;line-height:1;letter-spacing:-.03em;
  margin-bottom:24px;max-width:18ch;
}
.hero h1 em{font-style:italic;color:var(--accent-2)}
.hero__sub{
  font-size:1.15rem;color:var(--muted);max-width:48ch;margin-bottom:36px;
}
.hero__actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
.btn{
  display:inline-block;padding:14px 26px;border-radius:999px;
  font-weight:600;font-size:.95rem;cursor:pointer;border:0;
  transition:transform .2s,background .2s;
}
.btn--primary{background:var(--accent);color:var(--text)}
.btn--primary:hover{background:#ff7559;transform:translateY(-2px)}
.btn--ghost{background:transparent;color:var(--text);border:1px solid var(--border)}
.btn--ghost:hover{border-color:var(--text)}

/* GALLERY */
.gallery{max-width:var(--max);margin:0 auto;padding:40px 24px 80px}
.gallery__head{
  display:flex;justify-content:space-between;align-items:flex-end;
  flex-wrap:wrap;gap:24px;margin-bottom:36px;
}
.gallery h2{
  font-family:'Fraunces',serif;font-size:clamp(2rem,4vw,3rem);
  font-weight:500;letter-spacing:-.02em;
}
.filters{display:flex;gap:8px;flex-wrap:wrap}
.filter{
  background:transparent;color:var(--muted);
  border:1px solid var(--border);padding:8px 16px;
  border-radius:999px;cursor:pointer;font-size:.85rem;
  transition:all .2s;font-family:inherit;
}
.filter:hover{color:var(--text);border-color:var(--text)}
.filter.is-active{background:var(--text);color:var(--bg);border-color:var(--text)}

.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
  grid-auto-rows:180px;
}
.card{
  position:relative;overflow:hidden;border-radius:var(--radius);
  cursor:pointer;background:var(--surface);
  grid-column:span 4;grid-row:span 2;
  transition:transform .4s ease;
}
.card:hover{transform:scale(.98)}
.card.tall{grid-row:span 3}
.card.wide{grid-column:span 6}
.card.large{grid-column:span 6;grid-row:span 3}
.card img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .6s ease;
}
.card:hover img{transform:scale(1.06)}
.card__overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 50%,rgba(0,0,0,.85));
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:20px;opacity:0;transition:opacity .3s;
}
.card:hover .card__overlay,.card:focus-visible .card__overlay{opacity:1}
.card__overlay h3{
  font-family:'Fraunces',serif;font-size:1.2rem;font-weight:500;
}
.card__overlay span{font-size:.8rem;color:var(--accent-2);text-transform:uppercase;letter-spacing:.1em}

/* CTA */
.cta{
  max-width:var(--max);margin:0 auto;padding:80px 24px;
}
.cta__inner{
  background:linear-gradient(135deg,var(--accent) 0%,#ff8a3a 100%);
  border-radius:24px;padding:80px 40px;text-align:center;
}
.cta h2{
  font-family:'Fraunces',serif;font-size:clamp(2rem,5vw,3.5rem);
  font-weight:500;letter-spacing:-.02em;margin-bottom:16px;
}
.cta p{margin-bottom:32px;font-size:1.1rem;opacity:.9}
.cta .btn--primary{background:var(--bg);color:var(--text)}
.cta .btn--primary:hover{background:#000}

/* ============== FOOTER ============== */
.footer{background:var(--footer-bg);color:#fff;padding:5rem 0 2rem}
.footer__top{text-align:center;margin-bottom:4rem}
.footer__top h2{margin-bottom:1.5rem}

.footer__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:2.5rem;
  padding:3rem 0;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer__col h3{
  font-size:1.25rem;color:#fff;margin-bottom:.75rem;
}
.footer__col h3 span{color:var(--accent)}
.footer__col h4{
  font-size:.85rem;text-transform:uppercase;letter-spacing:.15em;
  color:var(--accent-2);margin-bottom:1.1rem;font-weight:600;
}
.footer__brand p{color:rgba(255,255,255,.65);font-size:.95rem;line-height:1.6;max-width:28ch}
.footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem}
.footer__col ul a{
  color:rgba(255,255,255,.7);font-size:.92rem;
  transition:color .25s var(--ease),padding-left .25s var(--ease);
}
.footer__col ul a:hover{color:var(--accent);padding-left:.3rem}
.footer__times li{
  display:flex;flex-direction:column;gap:.15rem;
  color:rgba(255,255,255,.7);font-size:.9rem;
}
.footer__times li strong{color:#fff;font-weight:600;font-size:.92rem}
.footer__contact li{color:rgba(255,255,255,.75);font-size:.92rem;line-height:1.5}
.footer__contact a{color:rgba(255,255,255,.75)}
.footer__contact a:hover{color:var(--accent)}

.footer__small{margin-top:2rem;color:rgba(255,255,255,.5);font-size:.85rem;text-align:center}

/* LIGHTBOX */
.lightbox{
  position:fixed;inset:0;background:rgba(0,0,0,.95);
  display:none;align-items:center;justify-content:center;
  z-index:100;padding:40px;
}
.lightbox.is-open{display:flex}
.lightbox img{max-height:80vh;max-width:90vw;border-radius:8px}
.lightbox__caption{
  position:absolute;bottom:30px;left:0;right:0;text-align:center;
  color:var(--text);font-size:.95rem;
}
.lightbox__close,.lightbox__nav{
  position:absolute;background:rgba(255,255,255,.1);color:var(--text);
  border:0;width:48px;height:48px;border-radius:50%;
  font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:background .2s;
}
.lightbox__close:hover,.lightbox__nav:hover{background:rgba(255,255,255,.2)}
.lightbox__close{top:24px;right:24px}
.lightbox__nav--prev{left:24px;top:50%;transform:translateY(-50%)}
.lightbox__nav--next{right:24px;top:50%;transform:translateY(-50%)}

/* RESPONSIVE */
@media (max-width:900px){
  .grid{grid-template-columns:repeat(6,1fr);grid-auto-rows:160px}
  .card,.card.tall,.card.wide,.card.large{grid-column:span 3;grid-row:span 2}
  .card.large{grid-column:span 6}
}
@media (max-width:640px){
  
  
  .hero{padding:60px 20px 40px}
  .grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:140px;gap:10px}
  .card,.card.tall,.card.wide,.card.large{grid-column:span 1;grid-row:span 2}
  .card.large,.card.wide{grid-column:span 2}
  .cta__inner{padding:50px 24px}
  .lightbox__nav{width:40px;height:40px}
  .lightbox__nav--prev{left:8px}
  .lightbox__nav--next{right:8px}
}

/* ============== THEME TOGGLE ============== */
.theme-toggle{
  width:38px;height:38px;border-radius:999px;border:0;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.5);color:var(--primary);
  border:1px solid var(--glass-border);
  transition:transform .5s var(--ease),background .3s var(--ease),color .3s var(--ease);
  position:relative;overflow:hidden;
}
:root[data-theme="dark"] .theme-toggle{background:rgba(255,255,255,.06)}
.theme-toggle:hover{transform:rotate(20deg) scale(1.08)}
.theme-toggle svg{width:18px;height:18px;position:absolute;transition:transform .5s var(--ease),opacity .35s var(--ease)}
.theme-toggle .icon-moon{opacity:0;transform:rotate(-90deg) scale(.5)}
.theme-toggle .icon-sun{opacity:1;transform:rotate(0) scale(1)}
:root[data-theme="dark"] .theme-toggle .icon-sun{opacity:0;transform:rotate(90deg) scale(.5)}
:root[data-theme="dark"] .theme-toggle .icon-moon{opacity:1;transform:rotate(0) scale(1)}
.footer h2{margin-bottom:1.5rem}
.footer__small{margin-top:3rem;color:rgba(255,255,255,.5);font-size:.85rem}

/* ============== REVEAL ============== */
.reveal{opacity:0;transform:translateY(40px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.reveal.is-visible{opacity:1;transform:translateY(0)}

/* ============== RESPONSIVE ============== */
@media (max-width:960px){
  .nav__menu,.nav__cta{display:none}
  .nav__burger{display:flex}
  .nav__inner{border-radius:22px}
}
@media (max-width:600px){
  .section{padding:4rem 0}
  .hero__content{padding-top:6rem}
}
