/* Skoon Styl — shared styles */
:root {
  --cream: #f7f1e8;
  --sand: #e8d0b0;
  --sand-deep: #d6b78f;
  --blush: #ecc9c9;
  --sage: #b9c5a5;
  --ink: #2b2622;
  --ink-soft: #6b625a;
  --line: rgba(43, 38, 34, 0.16);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --arch: 999px 999px 0 0;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: min(var(--max), 100% - 3rem); margin-inline: auto; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h3 { font-size: 1.6rem; }
em { font-style: italic; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 2rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font: 500 0.74rem/1 var(--sans);
  letter-spacing: 0.24em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--cream);
  transition: background .25s, color .25s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 241, 232, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand-badge { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; }
.brand-badge img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.brand-name { font-size: 0.9rem; letter-spacing: 0.36em; font-weight: 400; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500;
  text-decoration: none; padding-block: 0.3rem; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--ink); }
.nav .ig-link { display: inline-flex; border: 0; }
.nav .ig-link svg { width: 19px; height: 19px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin: 1.2rem 0 1.6rem; }
.hero p.lead { max-width: 30rem; color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 2.4rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-arches { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 1rem; align-items: end; }
.arch-frame { border-radius: var(--arch); overflow: hidden; background: var(--sand); }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-arches .a1 { aspect-ratio: 3 / 5; }
.hero-arches .a2 { aspect-ratio: 3 / 4.6; transform: translateY(-2.5rem); }
.hero-arches .stamp {
  position: absolute; left: -1.6rem; bottom: 1.4rem;
  width: 112px; height: 112px; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--cream); box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.hero-arches .stamp img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }

/* ---------- Marquee strip ---------- */
.strip { border-block: 1px solid var(--line); overflow: hidden; background: var(--sand); }
.strip-track { display: flex; width: max-content; animation: slide 38s linear infinite; will-change: transform; }
.strip-group { display: flex; flex: none; padding: 1.1rem 0; }
.strip span { font-family: var(--serif); font-style: italic; font-size: 1.5rem; white-space: nowrap; padding-right: 3rem; }
.strip span::after { content: "✦"; font-style: normal; font-size: 0.8rem; margin-left: 3rem; vertical-align: middle; }
@keyframes slide { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ---------- Offer ---------- */
section { scroll-margin-top: 90px; }
.offer { padding: clamp(4rem, 9vw, 8rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3.5rem; flex-wrap: wrap; }
.section-head p { max-width: 28rem; color: var(--ink-soft); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.offer-card { text-align: center; }
.offer-card .arch-frame { aspect-ratio: 4 / 5; margin-bottom: 1.6rem; }
.offer-card h3 { margin-bottom: 0.5rem; }
.offer-card p { color: var(--ink-soft); font-size: 0.95rem; max-width: 22rem; margin-inline: auto; }

/* ---------- Portfolio ---------- */
.portfolio { padding: clamp(4rem, 9vw, 8rem) 0; background: #fffaf4; border-top: 1px solid var(--line); }
.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.filters button {
  font: 500 0.7rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.8rem 1.3rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  transition: all .2s;
}
.filters button:hover { border-color: var(--ink); }
.filters button.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.gallery { columns: 3 280px; column-gap: 1.4rem; }
.tile {
  break-inside: avoid; margin-bottom: 1.4rem; position: relative; cursor: zoom-in;
  overflow: hidden; border-radius: 6px; background: var(--sand);
}
.tile.arched { border-radius: var(--arch); }
.tile img { width: 100%; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.4rem 1.2rem 1.1rem;
  background: linear-gradient(transparent, rgba(30, 24, 20, .62));
  color: #fff; opacity: 0; transform: translateY(8px); transition: all .35s;
}
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; transform: none; }
.tile figcaption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.tile figcaption span { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; }
.tile.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(32, 27, 23, .92); align-items: center; justify-content: center; padding: 3rem 1rem;
}
.lightbox.open { display: flex; }
.lightbox figure { max-width: min(900px, 100%); text-align: center; color: var(--cream); }
.lightbox img { max-height: 78vh; margin: 0 auto 1rem; border-radius: 4px; }
.lightbox figcaption { font-family: var(--serif); font-size: 1.3rem; }
.lb-btn {
  position: absolute; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; cursor: pointer;
}
.lb-btn:hover { background: rgba(255,255,255,.12); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; }
.lb-next { right: 1.2rem; top: 50%; }

/* ---------- Instagram CTA ---------- */
.ig-cta { padding: clamp(4rem, 9vw, 7rem) 0; text-align: center; }
.ig-cta .handle { font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 5vw, 4rem); text-decoration: none; display: inline-block; margin: 0.8rem 0 1.6rem; border-bottom: 1px solid var(--line); }
.ig-cta .handle:hover { border-color: var(--ink); }
.ig-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; margin-top: 3rem; }
.ig-row a { aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
.ig-row img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.ig-row a:hover img { opacity: .75; }

/* ---------- Contact page ---------- */
.contact-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 2rem; }
.contact-hero h1 { margin: 1rem 0 1.2rem; }
.contact-hero p { max-width: 34rem; color: var(--ink-soft); }
.contact-layout { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); padding-bottom: clamp(4rem, 8vw, 7rem); align-items: start; }
.form-card { background: #fffaf4; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.6rem, 4vw, 3rem); }
.dm-card h2 { margin: 0.8rem 0 1rem; }
.dm-lead { color: var(--ink-soft); max-width: 34rem; margin-bottom: 2.2rem; }
.dm-sub { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; }
.dm-steps { list-style: none; display: grid; gap: 0; margin-bottom: 2.4rem; }
.dm-steps li { display: flex; gap: 1.2rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.dm-steps li:last-child { border-bottom: 1px solid var(--line); }
.dm-steps span { font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.2; color: var(--sand-deep); min-width: 2rem; }
.dm-steps strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.3; }
.dm-steps div { color: var(--ink-soft); font-size: 0.95rem; }
.dm-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.dm-note { color: var(--ink-soft); }

.aside-arch { aspect-ratio: 3 / 4; margin-bottom: 2rem; }
.aside-block { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.aside-block h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.aside-block p, .aside-block a { color: var(--ink-soft); font-size: 0.95rem; }
.aside-block a { text-decoration: none; border-bottom: 1px solid var(--line); }
.aside-block a:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 4rem 0 2rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(247,241,232,.15); }
.footer-top h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 26rem; }
.site-footer .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.site-footer .btn:hover { background: transparent; color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: 0.78rem; letter-spacing: 0.08em; color: rgba(247,241,232,.6); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--cream); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .contact-layout { grid-template-columns: 1fr; }
  .hero-arches { max-width: 520px; margin-top: 2rem; }
  .offer-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .ig-row { grid-template-columns: repeat(3, 1fr); }
  .ig-row a:nth-child(n+4) { display: none; }
  .aside-arch { display: none; }
}
@media (max-width: 640px) {
  .brand-name { display: none; }
  .nav { gap: 1.2rem; }
  .hero-arches .stamp { left: 0.5rem; width: 84px; height: 84px; }
}

/* Footer credit */
.footer-bottom .credit a { color: var(--cream); border-bottom: 1px solid rgba(247,241,232,.35); padding-bottom: 1px; }
.footer-bottom .credit a:hover { border-color: var(--cream); }

/* Static word list on phones and for reduced motion: no half-cut words */
@media (max-width: 640px), (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; width: auto; justify-content: center; }
  .strip-dup { display: none; }
  .strip-group { flex: 1; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0; padding: 1.2rem 1rem; }
  .strip span { font-size: 1.15rem; padding-right: 0; }
  .strip span::after { margin: 0 0.75rem; font-size: 0.6rem; }
  .strip span:last-child::after { content: none; }
}
