:root{
  --background: oklch(0.985 0 0);
  --foreground: oklch(0.12 0 0);
  --card: oklch(1 0 0);
  --secondary: oklch(0.95 0 0);
  --muted-foreground: oklch(0.45 0 0);
  --border: oklch(0.88 0 0);
  --radius: 0.25rem;
}
*{box-sizing:border-box;margin:0;padding:0;border-color:var(--border)}
html{scroll-behavior:smooth}
body{
  background:var(--background);color:var(--foreground);
  font-family:"Inter",system-ui,sans-serif;-webkit-font-smoothing:antialiased;
  line-height:1.5;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

.display{font-family:"Archivo Black",system-ui,sans-serif;letter-spacing:-0.01em}
.varsity{font-family:"Graduate","Archivo Black",sans-serif;letter-spacing:0.02em}
.upper{text-transform:uppercase}
.muted{color:var(--muted-foreground)}
.border-b{border-bottom:1px solid var(--border)}
.container{max-width:80rem;margin:0 auto;padding:0 1.5rem;width:100%}
.arrow{display:inline-block;margin-left:.5rem}
.hide-mobile{display:none}

/* line icons (lucide-style) */
.ico{width:1.5rem;height:1.5rem;flex:none;stroke:currentColor;fill:none;
  stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ico-sm{width:1rem;height:1rem}

/* sections with inverted (black) background */
.invert{background:var(--foreground);color:var(--background)}
.features-bg{background:var(--secondary)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.25rem;
  font:inherit;font-weight:600;cursor:pointer;border:1px solid transparent;
  border-radius:var(--radius);padding:.55rem 1rem;font-size:.9rem;
  transition:background .15s,color .15s,opacity .15s;white-space:nowrap;
}
.btn-sm{padding:.4rem .85rem;font-size:.8rem}
.btn-lg{padding:.7rem 1.4rem;font-size:.95rem}
.btn-primary{background:var(--foreground);color:var(--background)}
.btn-primary:hover{opacity:.85}
.btn-secondary{background:var(--background);color:var(--foreground)}
.btn-secondary:hover{opacity:.85}
.btn-outline{background:transparent;border-color:var(--border);color:var(--foreground)}
.btn-outline:hover{background:var(--secondary)}
.btn-outline-invert{background:transparent;border-color:var(--background);color:var(--background)}
.btn-outline-invert:hover{background:var(--background);color:var(--foreground)}
.btn-ghost{background:transparent;color:var(--foreground)}
.btn-ghost:hover{background:var(--secondary)}

/* ---------- nav ---------- */
.nav-wrap{padding-top:env(safe-area-inset-top, 0px)}  /* clear the notch, not the row */
.nav{display:flex;align-items:center;justify-content:space-between;padding:1.1rem 1.5rem}
.brand{display:flex;align-items:center;gap:.6rem}
.brand-icon{height:2rem;width:auto;display:block}
.brand-wordmark{height:1.05rem;width:auto;display:block}
.nav-links{display:none;gap:2rem;font-size:.875rem;font-weight:500}
.nav-links a:hover{opacity:.6}

/* ---------- hero ---------- */
/* mobile: headline + image side by side (top row), rest below */
.hero{display:grid;grid-template-columns:.9fr 1.2fr;
  grid-template-areas:"head media" "body body";
  column-gap:1rem;row-gap:1.1rem;align-items:center;padding:1.75rem 1.5rem}
.hero-head{grid-area:head}
.hero-media{grid-area:media}
.hero-body{grid-area:body}
.badge{display:inline-flex;align-items:center;gap:.5rem;border:1px solid var(--border);
  background:var(--secondary);padding:.25rem .75rem;font-size:.7rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.15em;margin-bottom:1.5rem}
.badge .dot{height:.375rem;width:.375rem;background:var(--foreground)}
.hero-title{font-size:3rem;line-height:.95}
.hero-sub{margin-top:1.5rem;max-width:28rem;font-size:1.1rem;color:var(--muted-foreground)}
.hero-cta{margin-top:2rem;display:flex;flex-wrap:wrap;gap:.75rem}
.stats{margin-top:3rem;display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;
  border-top:1px solid var(--border);padding-top:2rem}
.stats dt{font-size:1.875rem}
.stats dd{margin-top:.25rem;font-size:.7rem;text-transform:uppercase;letter-spacing:.15em;color:var(--muted-foreground)}

.img-frame{overflow:hidden;border:1px solid var(--border);background:var(--secondary)}
.ratio-34{aspect-ratio:3/4}
.img-frame img{height:100%;width:100%;object-fit:cover}
.zoom img{transition:transform .3s}
.zoom:hover img{transform:scale(1.05)}

/* ---------- banner ---------- */
.banner{display:flex;flex-direction:column;align-items:flex-start;gap:1.5rem;padding:2.5rem 1.5rem}
.banner-left{display:flex;align-items:flex-start;gap:1rem}
.ico-spark{margin-top:.25rem}
.banner-title{font-size:1.5rem}
.banner-text{margin-top:.25rem;max-width:36rem;font-size:.875rem;color:rgba(255,255,255,.7)}

/* ---------- features ---------- */
.features{display:grid;gap:1px;background:var(--border)}
.feature{background:var(--background);padding:2rem}
.feat-title{margin-top:1rem;font-size:1.25rem}
.feature p{margin-top:.5rem;font-size:.875rem}

/* ---------- sizes ---------- */
.section-pad{padding:5rem 1.5rem}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:3rem}
.section-title{font-size:2.25rem}
.sizes-grid{display:grid;gap:1.5rem}
.size-card{display:flex;flex-direction:column;border:1px solid var(--border);background:var(--card);padding:2rem;transition:background .2s,color .2s}
.size-card:hover{background:var(--foreground);color:var(--background)}
.size-card-top{display:flex;align-items:flex-start;justify-content:space-between}
.size-letter{font-size:3.75rem;line-height:1}
.size-price{font-size:1.5rem}
.size-price small{font-size:.7rem;text-transform:uppercase;letter-spacing:.15em;color:var(--muted-foreground)}
.size-card:hover .size-price small{color:rgba(255,255,255,.6)}
.size-desc{margin-top:1rem;font-size:.875rem;color:var(--muted-foreground)}
.size-card:hover .size-desc{color:rgba(255,255,255,.7)}
.size-feats{margin-top:1.5rem;display:flex;flex-direction:column;gap:.5rem;font-size:.875rem}
.size-feats div{display:flex;align-items:center;gap:.5rem}
.size-card .btn{margin-top:2rem}
.size-card:hover .btn-outline{background:var(--background);color:var(--foreground)}

/* ---------- gallery ---------- */
.gallery-title{margin-bottom:3rem}
.gallery-grid{display:grid;gap:1rem}
.gallery-foot{margin-top:2.5rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:1rem;border-top:1px solid var(--border);padding-top:2rem}

/* ---------- faq ---------- */
.faq{display:grid;gap:1.5rem;max-width:48rem}
.faq-q{font-size:1.05rem;margin-bottom:.4rem}
.faq-a{font-size:.95rem;line-height:1.55}

/* ---------- cta ---------- */
.cta{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:2rem;padding:5rem 1.5rem}
.cta-title{font-size:2.25rem;line-height:.95}

/* ---------- footer ---------- */
.foot{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:1rem;padding:2rem 1.5rem}
.foot-logo{height:1.9rem;width:auto}
.foot-name{font-size:.875rem}
.foot-copy{font-size:.75rem}

/* ---------- modal ---------- */
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);display:flex;align-items:center;
  justify-content:center;padding:1rem;z-index:50}
.modal-overlay[hidden]{display:none}
[hidden]{display:none !important}
.modal{position:relative;background:var(--card);border-radius:var(--radius);max-width:42rem;width:100%;
  max-height:90vh;overflow-y:auto;padding:1.75rem;box-shadow:0 25px 50px -12px rgba(0,0,0,.4)}
.modal-close{position:absolute;top:.75rem;right:1rem;background:none;border:none;font-size:1.6rem;
  line-height:1;cursor:pointer;color:var(--muted-foreground)}
.modal-title{font-size:1.5rem}
.modal-desc{margin-top:.4rem;font-size:.9rem;color:var(--muted-foreground)}

.customize-grid{display:grid;gap:1.5rem;margin-top:1.5rem}
.customize-fields{display:flex;flex-direction:column;gap:1rem}
.field{display:flex;flex-direction:column;gap:.4rem}
.field label{font-size:.85rem;font-weight:500}
.field input,.field select,.field textarea{
  font:inherit;padding:.55rem .7rem;border:1px solid var(--border);border-radius:var(--radius);
  background:var(--background);color:var(--foreground);width:100%}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--foreground);outline-offset:-1px}
.hint{font-size:.75rem;color:var(--muted-foreground)}
.field-err{font-size:.78rem;color:#dc2626;font-weight:500}
.field input.input-err{border-color:#dc2626;outline-color:#dc2626}
.acrylic-sticker.is-ph{opacity:.28}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}

/* address autocomplete */
.addr-field{position:relative}
.addr-suggest{list-style:none;margin:.25rem 0 0;padding:.25rem;position:absolute;left:0;right:0;top:100%;
  z-index:5;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:0 12px 24px -12px rgba(0,0,0,.3);max-height:15rem;overflow-y:auto}
.addr-suggest[hidden]{display:none}
.addr-suggest li{padding:.55rem .6rem;border-radius:var(--radius);cursor:pointer;font-size:.85rem;line-height:1.3}
.addr-suggest li:hover,.addr-suggest li.active{background:var(--secondary)}
.addr-suggest .as-name{font-weight:600}
.addr-suggest .as-sub{color:var(--muted-foreground);font-size:.75rem}
.addr-ok{font-size:.78rem;color:#16a34a;font-weight:500}
#order-form{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}

.modal-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);
  padding-top:1rem;margin-top:1.5rem}
.foot-submit{display:flex;align-items:center;gap:1rem}
.text-right{text-align:right}
.total-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted-foreground)}
.total-value{font-size:1.5rem;white-space:nowrap}
.order-summary{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--border);
  background:var(--secondary);padding:.75rem;font-size:.875rem;border-radius:var(--radius);margin-top:1rem}

/* acrylic live preview */
.acrylic-preview{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:var(--radius);
  border:1px solid var(--border);
  background:radial-gradient(ellipse at center,#e9ecef 0%,#cfd4da 55%,#9aa1a8 100%)}
.acrylic-panel{position:absolute;left:14%;right:14%;top:8%;bottom:8%;border:1px solid #fff;border-radius:2px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.7),0 20px 40px -20px rgba(0,0,0,.35);
  background:linear-gradient(135deg,rgba(255,255,255,.25),rgba(255,255,255,.05),rgba(255,255,255,.2));
  backdrop-filter:blur(1px)}
.acrylic-sticker{position:absolute;left:0;right:0;top:28%;text-align:center;color:#000;
  font-size:4.5rem;line-height:1;font-family:"Graduate","Archivo Black",sans-serif}
.bracket{position:absolute;height:.75rem;width:1.25rem;border-radius:2px;background:#171717}
.bracket-tl{left:-.5rem;top:.75rem}.bracket-tr{right:-.5rem;top:.75rem}
.bracket-bl{left:-.5rem;bottom:.75rem}.bracket-br{right:-.5rem;bottom:.75rem}
.preview-label{position:absolute;bottom:.5rem;left:.5rem;background:rgba(255,255,255,.85);
  padding:.25rem .5rem;font-size:.625rem;text-transform:uppercase;letter-spacing:.15em;color:var(--muted-foreground)}

/* success */
.success{text-align:center;padding:1.5rem 0}
.success-check{width:3.5rem;height:3.5rem;border-radius:9999px;background:var(--foreground);color:var(--background);
  display:flex;align-items:center;justify-content:center;font-size:1.75rem;margin:0 auto 1.25rem}
.success .modal-desc{max-width:26rem;margin-left:auto;margin-right:auto}
.success .btn{margin-top:1.5rem}

/* ---------- lightbox (gallery fullscreen) ---------- */
.gallery-grid img{cursor:zoom-in}
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.93);display:flex;
  align-items:center;justify-content:center;z-index:60;touch-action:pan-y}
.lightbox[hidden]{display:none}
.lb-img{max-width:92vw;max-height:86vh;object-fit:contain;border-radius:2px;
  user-select:none;-webkit-user-drag:none}
.lb-close{position:absolute;top:.75rem;right:1.1rem;background:none;border:none;color:#fff;
  font-size:2.4rem;line-height:1;cursor:pointer;z-index:2}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.14);
  border:none;color:#fff;font-size:1.9rem;width:2.8rem;height:2.8rem;border-radius:9999px;
  cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1}
.lb-nav:hover{background:rgba(255,255,255,.25)}
.lb-prev{left:.6rem}.lb-next{right:.6rem}
.lb-counter{position:absolute;bottom:1rem;left:0;right:0;text-align:center;color:#fff;
  font-size:.8rem;letter-spacing:.1em;opacity:.7}
@media(min-width:768px){.lb-prev{left:1.5rem}.lb-next{right:1.5rem}}

/* ---------- responsive ---------- */
@media(min-width:768px){
  .hide-mobile{display:block}
  .nav-links{display:flex}
  .hero{grid-template-columns:1fr 1fr;
    grid-template-areas:"head media" "body media";
    column-gap:3rem;row-gap:0;padding:6rem 1.5rem;align-items:center}
  .hero-title{font-size:4.5rem}
  .banner{flex-direction:row;align-items:center}
  .features{grid-template-columns:repeat(3,1fr)}
  .sizes-grid{grid-template-columns:repeat(3,1fr)}
  .gallery-grid{grid-template-columns:repeat(3,1fr)}
  .cta{flex-direction:row;align-items:center}
  .cta-title{font-size:3.75rem}
  .section-title{font-size:3rem}
  .foot{flex-direction:row}
  .customize-grid{grid-template-columns:1fr 1fr}
  .acrylic-sticker{font-size:5rem}
}

/* ---------- compact mobile (<768px) ---------- */
@media(max-width:767px){
  .container{padding:0 1.25rem}
  /* balanced header: equal top/bottom (notch handled on .nav-wrap) */
  .nav{padding:1.05rem 1.25rem}
  .section-pad{padding:2.25rem 1.25rem}
  .section-head{margin-bottom:1.25rem}
  .section-title{font-size:1.7rem}

  /* hero */
  .hero{padding:1.5rem 1.25rem;column-gap:.9rem;row-gap:1rem}
  .badge{margin-bottom:.7rem;padding:.2rem .55rem;font-size:.6rem}
  .hero-title{font-size:1.5rem;line-height:1}
  .hero-sub{font-size:.92rem;margin-top:0}
  .hero-cta{margin-top:1.1rem;gap:.5rem}
  .stats{margin-top:1.4rem;padding-top:1.1rem;gap:1rem}
  .stats dt{font-size:1.45rem}
  .stats dd{font-size:.6rem;margin-top:.15rem}

  /* features: 3 compact columns, icon + title only, stretched to edges */
  .container.features{padding-left:0;padding-right:0}
  .features{grid-template-columns:repeat(3,1fr)}
  .feature{padding:1rem .4rem;text-align:center}
  .feature .ico{width:1.4rem;height:1.4rem;margin:0 auto}
  .feat-title{font-size:.78rem;margin-top:.5rem}
  .feature p{display:none}

  /* sizes: 3 compact cards in one row */
  .sizes-grid{grid-template-columns:repeat(3,1fr);gap:.5rem}
  .size-card{padding:.8rem .5rem}
  .size-card-top{flex-direction:column;align-items:flex-start;gap:.1rem}
  .size-letter{font-size:1.9rem}
  .size-price{font-size:.9rem}
  .size-price small{font-size:.55rem}
  .size-desc{display:none}
  .size-feats{margin-top:.5rem;font-size:.68rem;gap:.25rem}
  .size-feats div:not(:first-child){display:none}   /* keep only dimensions */
  .size-feats .ico{display:none}
  .size-card .btn{margin-top:.7rem;padding:.4rem .25rem;font-size:.7rem}

  /* gallery: 2 columns */
  .gallery-grid{grid-template-columns:repeat(2,1fr);gap:.6rem}
  .gallery-title{margin-bottom:1.25rem}
  .gallery-foot{margin-top:1.25rem;padding-top:1.25rem}

  /* banner + cta tighter */
  .banner{padding:1.5rem 1.25rem;gap:1rem}
  .banner-title{font-size:1.15rem}
  .banner-text{font-size:.8rem}
  .cta{padding:1.9rem 1.25rem;gap:1rem}
  .cta-title{font-size:1.5rem}
  .cta .btn{padding:.5rem .9rem;font-size:.82rem}

  /* buttons a touch smaller */
  .btn-lg{padding:.6rem 1rem;font-size:.9rem}

  /* footer smaller */
  .foot{padding:1.25rem 1.25rem;gap:.6rem}
  .foot-logo{height:1.35rem}
  .foot-name{font-size:.72rem}
  .foot-copy{font-size:.62rem}
}
