/* ==========================================================================
   weddingprintingservices.com — "first-look-press"
   Editorial stationery: warm ivory ground, vellum-overlay panels,
   wax-seal accent dots, serif editorial hero with three-photo triptych.
   Built from scratch for this domain, 2026-07-04.
   ========================================================================== */

:root {
  --bg: #faf7f2;
  --surface: #fffefb;
  --accent: #84726a;      /* warm mocha — wax seal */
  --accent-deep: #6d5c55;
  --accent2: #b0c4b1;     /* sage */
  --ink: #2e2a27;
  --ink-soft: #5d554f;
  --hairline: rgba(132, 114, 106, 0.22);
  --vellum: rgba(255, 254, 251, 0.78);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --grot: "Nohemi", "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink);
  background-color: var(--bg);
  /* faint vellum fiber texture */
  background-image:
    repeating-linear-gradient(93deg, rgba(132,114,106,0.025) 0 2px, transparent 2px 7px),
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(176,196,177,0.14), transparent 60%);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration-color: rgba(132,114,106,0.4); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.16; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h1 em, h2 em { font-style: italic; font-weight: 400; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.22rem; margin-bottom: 0.45rem; }

/* ---- scroll progress ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---- wax seal dot ---- */
.seal {
  display: inline-block; width: 13px; height: 13px; flex: none;
  border-radius: 54% 46% 48% 52% / 50% 52% 48% 50%;
  background: radial-gradient(circle at 34% 28%, #a39086, var(--accent) 58%, var(--accent-deep) 100%);
  box-shadow: 0 1px 2px rgba(46,42,39,0.3), inset 0 -1px 2px rgba(46,42,39,0.18);
}

.eyebrow {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--grot); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: 1rem;
}

.wax-divider {
  display: flex; align-items: center; justify-content: center; gap: 0;
  max-width: var(--maxw); margin: 0 auto; padding: 0.4rem 1.5rem;
}
.wax-divider::before, .wax-divider::after {
  content: ""; flex: 1; max-width: 180px; height: 1px; background: var(--hairline);
}
.wax-divider .seal { margin: 0 14px; }

/* ---- vellum panels ---- */
.vellum, .vellum-frame {
  background: var(--vellum);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.4rem);
  background: rgba(250, 247, 242, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); }
.brand-seal {
  width: 40px; height: 40px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 54% 46% 48% 52% / 50% 52% 48% 50%;
  background: radial-gradient(circle at 34% 28%, #a39086, var(--accent) 58%, var(--accent-deep) 100%);
  box-shadow: 0 2px 4px rgba(46,42,39,0.25), inset 0 -2px 3px rgba(46,42,39,0.2);
  color: var(--surface); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.3rem;
}
.brand-word { display: flex; flex-direction: column; line-height: 1.15; }
.brand-word strong { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.005em; }
.brand-word small { font-family: var(--grot); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep); }

.nav-toggle {
  display: none; font-family: var(--grot); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: none; border: 1px solid var(--hairline); border-radius: 999px;
  color: var(--ink); padding: 0.5rem 1.1rem; cursor: pointer;
}

.site-nav { display: flex; gap: clamp(0.8rem, 1.8vw, 1.6rem); }
.site-nav a {
  font-family: var(--grot); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent2); }

/* ---- hero (index) ---- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 4.5rem) 1.5rem 1rem;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.hero-inner .lede { margin-top: 1.2rem; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 46rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

.button {
  display: inline-block; font-family: var(--grot); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  background: var(--accent); color: var(--surface);
  padding: 0.95rem 1.8rem; border-radius: 999px;
  box-shadow: 0 3px 10px rgba(132,114,106,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.button:hover { background: var(--accent-deep); color: var(--surface); transform: translateY(-1px); box-shadow: 0 5px 14px rgba(132,114,106,0.4); }
.button-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--accent); box-shadow: none; }
.button-ghost:hover { background: rgba(176,196,177,0.22); color: var(--ink); }

/* triptych */
.triptych {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.6rem, 1.2vw, 1rem);
  align-items: center;
}
.triptych figure {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: var(--surface);
  padding: 6px; /* vellum mat */
  box-shadow: 0 8px 24px rgba(46,42,39,0.1);
}
.triptych img { border-radius: 3px; aspect-ratio: 3 / 4.2; object-fit: cover; width: 100%; }
.tript-a { transform: translateY(16px) rotate(-1deg); }
.tript-b { transform: translateY(-14px); }
.tript-c { transform: translateY(20px) rotate(1.2deg); }

/* ---- page head (subpages) ---- */
.page-head {
  max-width: 880px; margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 3.8rem) 1.5rem 0.5rem;
  text-align: left;
}
.page-head .lede { margin-top: 1rem; }

/* ---- sections ---- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(2rem, 5vw, 3.6rem) 1.5rem; }
.section-head { max-width: 760px; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.section-sub { color: var(--ink-soft); }

/* cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.svc-grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { padding: 1.6rem 1.5rem 1.4rem; position: relative; }
.card::before {
  content: ""; position: absolute; top: 1.35rem; right: 1.3rem;
  width: 11px; height: 11px;
  border-radius: 54% 46% 48% 52% / 50% 52% 48% 50%;
  background: radial-gradient(circle at 34% 28%, #c4d2c5, var(--accent2) 60%, #93a894 100%);
  box-shadow: 0 1px 2px rgba(46,42,39,0.2);
}
.card h3, .card h2 { padding-right: 1.6rem; }
.card-q { font-size: 1.18rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0.5rem 0 0.9rem; }
.post-date { font-family: var(--grot); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 0.5rem; }

.text-link {
  font-family: var(--grot); font-weight: 600; font-size: 0.76rem;
  letter-spacing: 0.13em; text-transform: uppercase; text-decoration: none;
  color: var(--accent-deep); border-bottom: 2px solid var(--accent2); padding-bottom: 2px;
}
.text-link:hover { color: var(--ink); border-bottom-color: var(--accent); }

.svc-list { display: grid; gap: 1.1rem; max-width: 880px; margin: 0 auto; }
.card.wide h2 { font-size: 1.35rem; }

/* split sections */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.split-copy h2 { margin-top: 0.4rem; }
.split-copy p { margin: 0.8rem 0; color: var(--ink-soft); }
.split-copy p strong { color: var(--ink); }
.split-photo { margin: 0; padding: 8px; }
.split-photo img { border-radius: 3px; width: 100%; object-fit: cover; }
.split-photo figcaption, .gal-grid figcaption {
  font-family: var(--grot); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--ink-soft); padding: 0.6rem 0.3rem 0.2rem; line-height: 1.45;
}

/* full-bleed photo band */
.band { padding-top: 0; padding-bottom: 0; }
.band img { border-radius: var(--radius); border: 1px solid var(--hairline); box-shadow: 0 10px 30px rgba(46,42,39,0.12); width: 100%; }

/* steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.steps li { counter-increment: step; padding: 1.5rem 1.4rem 1.3rem; font-size: 0.98rem; color: var(--ink-soft); }
.steps li strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.08rem; margin-bottom: 0.4rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: inline-block; font-family: var(--grot); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.14em; color: var(--surface);
  background: var(--accent); border-radius: 999px; padding: 0.28rem 0.7rem; margin-bottom: 0.8rem;
}

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.price-card { padding: 1.7rem 1.5rem; }
.price-big { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 2.3rem; color: var(--accent-deep); line-height: 1; margin-bottom: 0.6rem; }
.price-big span { font-size: 1.1rem; font-style: normal; color: var(--ink-soft); }
.price-card p { color: var(--ink-soft); font-size: 0.97rem; margin-top: 0.5rem; }

.input-list { list-style: none; display: grid; gap: 0.8rem; max-width: 880px; }
.input-list li { padding: 1.05rem 1.3rem; color: var(--ink-soft); font-size: 0.99rem; display: flex; gap: 0.8rem; align-items: baseline; }
.input-list li::before {
  content: ""; flex: none; width: 11px; height: 11px; transform: translateY(1px);
  border-radius: 54% 46% 48% 52% / 50% 52% 48% 50%;
  background: radial-gradient(circle at 34% 28%, #a39086, var(--accent) 58%, var(--accent-deep) 100%);
}
.input-list li strong { color: var(--ink); }

/* gallery */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.1rem; }
.gal-grid figure { margin: 0; padding: 7px 7px 4px; }
.gal-grid img { border-radius: 3px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gal-note { margin-top: 1.8rem; font-size: 1.02rem; color: var(--ink-soft); }

/* case studies */
.case { max-width: 880px; margin: 0 auto 1.2rem; padding: 1.8rem 1.7rem; }
.case h2 { font-size: 1.35rem; }
.case p { color: var(--ink-soft); margin: 0.7rem 0; font-size: 1rem; }
.case p strong { color: var(--ink); }

/* prose (blog/answers) */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { margin: 0.9rem 0; color: var(--ink-soft); }
.prose p strong { color: var(--ink); }
.prose h2 {
  margin-top: 2.2rem; padding-top: 1.4rem; position: relative; font-size: 1.45rem;
}
.prose h2::before {
  content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 1px; background: var(--hairline);
  box-shadow: 72px 0 0 -3px var(--accent2);
}
.prose-block { max-width: 880px; color: var(--ink-soft); }

/* cta row */
.cta-row { text-align: center; }
.cta-line { font-size: 1.15rem; font-style: italic; max-width: 620px; margin: 0 auto 1.4rem; }
.cta-row .hero-actions { justify-content: center; }

/* ---- lead form ---- */
.contact .section-head { max-width: 640px; }
.lead-form {
  max-width: 760px; padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--vellum);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(46,42,39,0.08);
}
.hp-wrap { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.9rem 1rem; margin-bottom: 0.9rem; }
.lead-form label { display: flex; flex-direction: column; gap: 0.3rem; font-family: var(--grot); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); }
.lead-form input, .lead-form textarea {
  font-family: var(--serif); font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 4px;
  padding: 0.7rem 0.85rem; width: 100%;
}
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--accent2); outline-offset: 1px; border-color: var(--accent2); }
.form-submit {
  margin-top: 1.1rem; width: 100%; cursor: pointer;
  font-family: var(--grot); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--accent); color: var(--surface); border: none; border-radius: 999px; padding: 1.05rem 1.6rem;
  box-shadow: 0 3px 10px rgba(132,114,106,0.35); transition: background 0.15s ease;
}
.form-submit:hover { background: var(--accent-deep); }
.form-submit:disabled { opacity: 0.65; cursor: default; }
.form-note { margin-top: 0.8rem; font-size: 0.86rem; color: var(--ink-soft); font-style: italic; }
.lead-form.is-success { outline: 2px solid var(--accent2); }

/* ---- footer ---- */
.site-footer {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--hairline);
  background: linear-gradient(rgba(176,196,177,0.12), rgba(176,196,177,0.02));
  padding: clamp(2rem, 4vw, 3rem) clamp(1.2rem, 4vw, 2.4rem) 1.4rem;
}
.foot-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; }
.foot-mark { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-bottom: 0.5rem; }
.foot-brand p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.7rem; }
.foot-contact a { font-family: var(--grot); font-weight: 600; font-size: 0.9rem; color: var(--accent-deep); }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem 1.4rem; align-content: start; }
.foot-nav a { font-family: var(--grot); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); }
.foot-nav a:hover { color: var(--ink); }
.foot-fine { max-width: var(--maxw); margin: 1.8rem auto 0; padding-top: 1rem; border-top: 1px solid var(--hairline); font-family: var(--grot); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink-soft); }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .triptych { max-width: 640px; }
  .tript-a, .tript-b, .tript-c { transform: none; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-photo { order: 2; }
}

@media (max-width: 768px) {
  body { font-size: 1rem; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #faf7f2;
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 14px 30px rgba(46,42,39,0.14);
    padding: 0.4rem 1.2rem 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.75rem 0.2rem; border-bottom: 1px solid rgba(132,114,106,0.12); }
  .brand-word strong { font-size: 0.9rem; }
  .triptych { gap: 0.5rem; }
  .triptych img { aspect-ratio: 3 / 4.6; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .foot-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 84px; } /* room for sticky CTA */
}

@media (max-width: 420px) {
  .hero-actions .button { width: 100%; text-align: center; }
  .gal-grid { grid-template-columns: 1fr; }
}
