/* ==========================================================
   Samuel G Creative Studio: modern premium theme
   ========================================================== */
:root {
  --bg: #fcfaf7;          /* warm white */
  --grey: #f6efe6;        /* brand cream */
  --card: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #ddd3c6;
  --brand: #ea5b34;       /* signature orange: logo and large accents */
  --accent: #c94a24;      /* deeper orange for buttons and links (readable white text) */
  --accent-hover: #b5401d;
  --champagne: #cdb38b;
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 4px 12px rgba(0, 0, 0, 0.06), 0 24px 56px rgba(0, 0, 0, 0.12);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 17px/1 var(--font);
  letter-spacing: -0.01em;
  border-radius: 980px;
  padding: 14px 26px;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  text-decoration: none !important;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--grey); color: var(--ink); }
.btn-secondary:hover { background: #e8e8ed; }
.btn-sm { font-size: 14px; padding: 8px 16px; }
.btn-lg { font-size: 18px; padding: 18px 30px; }
.btn-block { width: 100%; }

.link-arrow { font-weight: 500; white-space: nowrap; }   /* never split the arrow from its words */
.link-arrow::after { content: " ›"; font-size: 1.15em; }

/* ===== Navigation (frosted glass) ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 250, 247, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: rgba(0, 0, 0, 0.08); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; height: 56px;
  display: flex; align-items: center; gap: 2rem; padding: 0 22px;
}
.brand { display: flex; align-items: center; gap: 5px;   /* the symbol file has ~5px padding built in, so ~10px visible gap, matching the logo lockup */ color: var(--ink); text-decoration: none !important; margin-right: auto; }
.brand-symbol { width: 36px; height: 36px; flex: none; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: "Jost", var(--font); font-weight: 400; font-size: 17px; letter-spacing: 0.32em; word-spacing: -0.27em; margin-right: -0.32em; color: var(--ink); }
.brand-sub { font-family: "Jost", var(--font); font-weight: 300; font-size: 8.5px; letter-spacing: 0.5em; word-spacing: -0.3em; margin-top: 5px; color: var(--muted); }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { color: var(--ink); font-size: 14px; opacity: 0.8; text-decoration: none; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero { text-align: center; padding: 88px 22px 40px; max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  margin: 0 0 14px; font-family: "Jost", var(--font); font-size: 13px; font-weight: 500; letter-spacing: 0.24em;
  color: var(--accent); text-transform: uppercase;
}
.hero h1 { font-size: clamp(44px, 8vw, 88px); line-height: 1.04; font-weight: 800; letter-spacing: -0.045em; }
.accent-text { color: var(--brand); }
.hero-sub { max-width: 620px; margin: 24px auto 0; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.4; color: var(--muted); font-weight: 400; }
.hero-cta { display: flex; gap: 28px; align-items: center; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-cta .link-arrow { font-size: 17px; }
.hero-meta { margin: 20px 0 0; font-size: 14px; color: var(--muted); }

.showcase {
  margin: 64px auto 0;
  display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 24px; align-items: center;
  max-width: 1040px;
}
.sc { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); background: #ddd; }
.sc img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.sc-2 img { aspect-ratio: 4 / 5; }
.sc-1, .sc-3 { transform: translateY(28px); }
.sc:hover img { transform: scale(1.04); }

/* ===== Highlights ===== */
.highlights {
  max-width: var(--maxw); margin: 0 auto; padding: 96px 22px 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: center;
}
.hl-icon {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 16px;
  display: grid; place-items: center; font-size: 26px; color: var(--ink);
  background: var(--grey);
}
.hl h3 { font-size: 21px; margin-bottom: 8px; }
.hl p { margin: 0; color: var(--muted); font-size: 16px; }

/* ===== Sections ===== */
.section { padding: 110px 22px; }
.section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-grey { background: var(--grey); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2, .artist h2 { font-size: clamp(36px, 5.5vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -0.04em; }
.section-sub { margin: 16px auto 0; font-size: 21px; color: var(--muted); max-width: 640px; }

/* ===== Collection gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tile { margin: 0; }
.tile-img {
  border-radius: var(--radius); overflow: hidden; background: #e5e5ea;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.tile-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.8s var(--ease); }
.tile:hover .tile-img { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.tile:hover .tile-img img { transform: scale(1.05); }
.tile figcaption { padding: 16px 4px 0; }
.tile-tag { display: block; font-family: "Jost", var(--font); font-size: 11px; font-weight: 500; color: var(--accent); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 6px; }
.tile-title { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.also { text-align: center; margin-top: 56px !important; color: var(--muted); font-size: 17px; line-height: 1.6; }
.also .link-arrow { display: inline-block; margin-left: 6px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--card); border-radius: var(--radius-lg); padding: 40px 34px 44px;
  box-shadow: var(--shadow-soft);
}
.step-num {
  display: block; font-family: "Jost", var(--font); font-size: 15px; font-weight: 500; letter-spacing: 0.2em; margin-bottom: 40px;
  color: var(--brand);
}
.step h3 { font-size: 24px; margin-bottom: 12px; }
.step p { margin: 0; color: var(--muted); }

/* ===== The artist ===== */
.artist { text-align: center; }
.artist-inner { max-width: 760px !important; }
.artist-text { font-size: 21px; line-height: 1.5; color: var(--muted); margin: 24px 0 0; }
.signature { font-family: "Caveat", cursive; font-size: 40px; color: var(--ink); margin: 32px 0 0; transform: rotate(-3deg); }

/* ===== Order form ===== */
.order { max-width: 720px !important; }
.panel {
  background: var(--card); border-radius: var(--radius-lg); padding: 36px 36px 20px; margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}
.panel-title { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 26px; }
.panel-title span {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 14px; color: #fff; background: var(--ink);
}
.field { display: flex; flex-direction: column; margin-bottom: 18px; flex: 1; min-width: 0; }
.field-sm { flex: 0 0 160px; }
.row { display: flex; gap: 16px; }
label, .label { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
label em, .label em { font-style: normal; font-weight: 400; color: var(--muted); }
small { color: var(--muted); font-size: 13px; margin-top: 8px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  font: 400 17px/1.3 var(--font);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  -webkit-appearance: none; appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e73' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #a1a1a6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(201, 74, 36, 0.16); }
.invalid { border-color: #e30000 !important; box-shadow: 0 0 0 4px rgba(227, 0, 0, 0.1) !important; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; cursor: pointer; font-weight: 500; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 9px 16px; font-size: 15px;
  border: 1px solid var(--line); border-radius: 980px; background: #fff;
  transition: all 0.2s var(--ease);
}
.chips label:hover span { border-color: #86868b; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(201, 74, 36, 0.25); }

.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.stepper input { border: none !important; box-shadow: none !important; text-align: center; padding: 14px 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.step-btn { flex: 0 0 46px; height: 50px; border: none; background: transparent; font-size: 22px; color: var(--accent); cursor: pointer; }
.step-btn:hover { background: var(--grey); }

.options { display: grid; gap: 12px; margin-bottom: 24px; }
.option {
  display: flex; align-items: center; gap: 14px; margin: 0;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
}
.option:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.option input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.option-body { flex: 1; display: flex; flex-direction: column; }
.option-name { font-weight: 600; font-size: 16px; }
.option-desc { font-weight: 400; font-size: 14px; color: var(--muted); }
.option-price { font-weight: 600; font-size: 16px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; margin: 4px 0 18px; cursor: pointer; }
.check input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }

.checkout { background: var(--card); border-radius: var(--radius-lg); padding: 32px 36px; box-shadow: var(--shadow-soft); }
.totals { margin-bottom: 24px; }
.total-line { display: flex; justify-content: space-between; padding: 6px 0; color: var(--muted); }
.total-line.total { color: var(--ink); font-size: 24px; font-weight: 700; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; letter-spacing: -0.02em; }
.secure { text-align: center; color: var(--muted); font-size: 13px; margin: 14px 0 0; }

.done { background: var(--card); border-radius: var(--radius-lg); padding: 48px 40px; box-shadow: var(--shadow-soft); text-align: center; }
.done-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #28c840; color: #fff; display: grid; place-items: center; font-size: 30px; font-weight: 700; }
.done h3 { font-size: 28px; }
.done pre { text-align: left; white-space: pre-wrap; font: 400 15px/1.7 var(--font); background: var(--grey); padding: 20px 24px; border-radius: var(--radius-sm); margin: 24px 0; }
.draft-note { color: var(--accent); font-size: 14px; margin-bottom: 24px; }

/* ===== FAQ ===== */
.faq { max-width: 760px !important; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 300; color: var(--muted); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 640px; }

/* ===== Footer ===== */
.footer { background: var(--grey); padding: 48px 22px 32px; font-size: 13px; color: var(--muted); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-brand .brand { margin: 0; }
.footer-brand p { margin: 14px 0 0; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { color: var(--ink); opacity: 0.75; }
.legal { max-width: var(--maxw); margin: 20px auto 0; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.showcase.reveal { transform: translateY(48px) scale(0.98); }
.showcase.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .nav-links {
    display: none; position: absolute; top: 56px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 22px 20px;
    background: rgba(252, 250, 247, 0.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 22px; font-weight: 600; padding: 12px 0; opacity: 1; }
  .nav-inner { gap: 14px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 6px;
  }
  .nav-toggle span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .hero { padding-top: 56px; }
  .showcase { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; }
  .sc-1 { display: none; }
  .sc-1, .sc-3 { transform: none; }
  .highlights { grid-template-columns: 1fr; gap: 40px; padding-top: 72px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 80px 18px; }
}
@media (max-width: 560px) {
  .row { flex-direction: column; gap: 0; }
  .field-sm { flex: 1; }
  .panel, .checkout { padding: 26px 20px 12px; border-radius: 22px; }
  .checkout { padding-bottom: 24px; }
  .brand-symbol { width: 30px; height: 30px; }
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 7.5px; }
  .tile-title { font-size: 15px; }
  .also { font-size: 16px; }
  .also .link-arrow { display: block; margin: 12px 0 0; }   /* on phones the link gets its own line */
}

/* ===== "Orders opening soon" mode (switched in script.js) ===== */
.soon-only { display: none; }
body.orders-soon .soon-only { display: block; }
.soon-bar {
  background: var(--ink); color: #f6efe6; text-align: center;
  font-size: 13px; padding: 9px 16px; letter-spacing: 0.01em;
}
.soon-notice {
  max-width: 720px !important; margin: 0 auto 24px; text-align: center;
  background: var(--card); border-radius: var(--radius-lg); padding: 28px 32px;
  box-shadow: var(--shadow-soft); border-top: 4px solid var(--brand);
}
.soon-notice p { margin: 8px 0 0; color: var(--muted); }
.soon-notice .soon-title { margin: 0; font-family: "Jost", var(--font); font-size: 13px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.btn:disabled, .btn:disabled:hover { background: #d9cfc3; color: #6b5f54; cursor: not-allowed; transform: none; }
.policy-note { text-align: center; color: var(--muted); font-size: 13px; margin: 8px 0 0; }

/* ===== Footer policy links ===== */
.legal-links { max-width: var(--maxw); margin: 20px auto 0; display: flex; gap: 22px; flex-wrap: wrap; }
.legal-links a { color: var(--ink); opacity: 0.75; font-size: 13px; }

/* ===== Policy pages ===== */
.policy { max-width: 760px; margin: 0 auto; padding: 72px 22px 96px; }
.policy h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 10px; }
.policy .updated { color: var(--muted); font-size: 14px; margin: 0 0 40px; }
.policy h2 { font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 10px; }
.policy p, .policy li { color: #3a3a3c; line-height: 1.65; }
.policy ul { padding-left: 1.2em; }
.policy li { margin: 6px 0; }
.policy .summary { background: var(--grey); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 8px; }
.policy .summary p { margin: 0; color: var(--ink); }
.todo { background: #ffe9a8; color: #5a4300; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.back-link { display: inline-block; margin-top: 48px; }
