/*
Theme Name: Latitude & Lace
Theme URI: https://latitudeandlace.com
Author: Latitude & Lace Studio
Description: Elegant minimalist storefront theme for personalized wedding and city maps. Warm paper background, hairline cartography, editorial type.
Version: 1.0.0
Text Domain: latitude-lace
*/

/* =========================================================
   1. Design tokens
   ========================================================= */

:root {
  --paper: #faf7f2;
  --paper-deep: #f4efe7;
  --ink: #211f1c;
  --ink-soft: #3a3733;
  --muted: #6f6a63;
  --line: #e3ddd3;
  --line-strong: #d3cabc;
  --accent: #a8834f;
  --accent-soft: #c2a274;
  --water: #c9d6de;
  --park: #dfe4d3;
  --blush: #c9a8a0;
  --serif: Georgia, "Times New Roman", "Songti SC", "Times", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", sans-serif;
  --wrap: 1180px;
  --wrap-narrow: 780px;
}

/* =========================================================
   2. Base
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(168, 131, 79, 0.045) 1px, transparent 1px),
    radial-gradient(rgba(33, 31, 28, 0.03) 1px, transparent 1px);
  background-size: 90px 90px, 130px 130px;
  background-position: 0 0, 45px 45px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; border-radius: 0; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

::selection { background: var(--accent); color: #fff; }

/* =========================================================
   3. Typography
   ========================================================= */

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.7em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.7rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1.15em; }

.lal-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
}

.lal-lede {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.8;
}

.lal-script {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.01em;
}

.lal-rule {
  width: 46px;
  height: 1px;
  background: var(--line-strong);
  border: 0;
  margin: 0 0 1.6rem;
}

.lal-rule--center { margin-left: auto; margin-right: auto; }

/* =========================================================
   4. Layout
   ========================================================= */

.lal-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.lal-wrap--narrow { max-width: var(--wrap-narrow); }

.lal-section { padding: 84px 0; }
.lal-section--tight { padding: 56px 0; }
.lal-section--paper { background: var(--paper-deep); }
.lal-section--hairline { border-top: 1px solid var(--line); }

.lal-section-head { max-width: 620px; margin-bottom: 48px; }
.lal-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lal-section-head p:last-child { margin-bottom: 0; }

.lal-grid { display: grid; gap: 32px; }
.lal-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lal-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lal-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* =========================================================
   5. Buttons
   ========================================================= */

.lal-btn,
.lal-btn:visited {
  display: inline-block;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.73rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 2.4em;
  border-radius: 0;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.lal-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.lal-btn--solid,
.lal-btn--solid:visited { background: var(--ink); color: var(--paper); }
.lal-btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.lal-btn--ghost,
.lal-btn--ghost:visited { border-color: var(--line-strong); color: var(--muted); }
.lal-btn--ghost:hover { border-color: var(--ink); color: var(--paper); background: var(--ink); }

.lal-btn--text,
.lal-btn--text:visited {
  border: 0; padding: 0; letter-spacing: 0.16em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
}
.lal-btn--text:hover { background: transparent; color: var(--accent); border-color: var(--accent); }

.lal-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* =========================================================
   6. Header
   ========================================================= */

.lal-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.lal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
}

.lal-brand { text-decoration: none; display: block; }
.lal-brand__name {
  display: block;
  font-family: var(--serif);
  font-size: 1.16rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}
.lal-brand__tag {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 3px;
}

.lal-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 30px;
}

.lal-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
}
.lal-nav a:hover { color: var(--accent); }
.lal-nav .current-menu-item > a { color: var(--accent); }

.lal-header__cta { flex: 0 0 auto; }
.lal-header__cta .lal-btn { padding: 0.9em 1.9em; }

.lal-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--line-strong);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 16px;
  cursor: pointer;
}

/* =========================================================
   7. Hero
   ========================================================= */

.lal-hero { padding: 76px 0 72px; }

.lal-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 68px;
  align-items: center;
}

.lal-hero h1 { margin-bottom: 0.35em; }
.lal-hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.lal-hero__body { color: var(--muted); max-width: 33rem; margin-bottom: 2rem; }

.lal-hero__meta {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.lal-hero__meta span { display: inline-flex; align-items: center; gap: 9px; }
.lal-hero__meta span::before {
  content: "";
  width: 4px; height: 4px; background: var(--accent);
  display: inline-block;
}

.lal-hero__media { position: relative; }

.lal-poster {
  position: relative;
  background: #fff;
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 34px 60px -34px rgba(33, 31, 28, 0.38);
}

.lal-poster img { width: 100%; }

.lal-poster__caption {
  margin: 14px 2px 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.lal-hero__badge {
  position: absolute;
  left: -22px;
  bottom: 42px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 18px;
  max-width: 190px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: var(--muted);
  text-transform: uppercase;
}
.lal-hero__badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.1;
}

/* =========================================================
   8. Trust strip
   ========================================================= */

.lal-trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
}
.lal-trust .lal-grid { gap: 40px; }

.lal-trust__item { padding-right: 20px; }
.lal-trust__item h3 {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.lal-trust__item p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* =========================================================
   9. Process
   ========================================================= */

.lal-steps { counter-reset: lal-step; }
.lal-step { border-top: 1px solid var(--line-strong); padding-top: 26px; }
.lal-step__num {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  display: block;
  margin-bottom: 1.1rem;
}
.lal-step h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.lal-step p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.lal-step__note {
  margin-top: 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--line-strong);
}

/* =========================================================
   10. Gallery
   ========================================================= */

.lal-gallery { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.lal-card { background: transparent; }
.lal-card__media {
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
  overflow: hidden;
}
.lal-card__media img { width: 100%; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.lal-card:hover .lal-card__media img { transform: scale(1.025); }
.lal-card__body { padding-top: 18px; }
.lal-card__kicker {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.lal-card h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.lal-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

.lal-wide-media {
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px;
}

/* =========================================================
   11. Pricing
   ========================================================= */

.lal-plans { display: grid; gap: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }

.lal-plan {
  border: 1px solid var(--line);
  background: #fffdfa;
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
}

.lal-plan--featured {
  border-color: var(--ink);
  box-shadow: 0 30px 50px -34px rgba(33, 31, 28, 0.45);
}

.lal-plan__flag {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  min-height: 1em;
}

.lal-plan h3 { font-size: 1.32rem; margin-bottom: 0.25rem; }
.lal-plan__for { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.6rem; }

.lal-plan__price {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.lal-plan__price small { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.08em; }
.lal-plan__note { font-size: 0.78rem; color: var(--muted); margin-bottom: 1.8rem; }

.lal-plan__list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
  flex: 1 1 auto;
}
.lal-plan__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.lal-plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.68em;
  width: 8px; height: 1px;
  background: var(--accent);
}

.lal-plan .lal-btn { text-align: center; }

.lal-price-foot {
  margin-top: 34px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* =========================================================
   12. FAQ
   ========================================================= */

.lal-faq { border-top: 1px solid var(--line); }

.lal-faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.lal-faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
}
.lal-faq summary::-webkit-details-marker { display: none; }
.lal-faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--accent);
  line-height: 1;
}
.lal-faq details[open] summary::after { content: "–"; }
.lal-faq details p { margin: 1rem 0 0; color: var(--muted); font-size: 0.94rem; max-width: 46rem; }

/* =========================================================
   13. Statement / quote
   ========================================================= */

.lal-statement { text-align: center; }
.lal-statement blockquote {
  margin: 0 auto;
  max-width: 720px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.lal-statement blockquote p:last-child { margin-bottom: 0; }
.lal-statement cite {
  display: block;
  margin-top: 1.6rem;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   14. CTA band
   ========================================================= */

.lal-cta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
  padding: 76px 0;
  text-align: center;
}
.lal-cta h2 { margin-bottom: 0.5rem; }
.lal-cta p { color: var(--muted); max-width: 44rem; margin: 0 auto 2rem; }
.lal-cta .lal-actions { justify-content: center; }
.lal-cta__foot {
  margin-top: 1.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   15. Footer
   ========================================================= */

.lal-footer { padding: 70px 0 40px; }

.lal-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.lal-footer__brand p { font-size: 0.88rem; color: var(--muted); max-width: 26rem; margin-top: 1.1rem; }

.lal-footer h4 {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.lal-footer ul { list-style: none; margin: 0; padding: 0; }
.lal-footer li { margin-bottom: 0.55rem; }
.lal-footer a { font-size: 0.88rem; color: var(--muted); text-decoration: none; }
.lal-footer a:hover { color: var(--accent); }

.lal-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.lal-footer__bottom span { display: inline-block; }

/* =========================================================
   16. Inner pages / entry content
   ========================================================= */

.lal-page-head {
  padding: 72px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.lal-page-head h1 { margin-bottom: 0.4rem; }
.lal-page-head p { color: var(--muted); max-width: 46rem; margin: 0 auto; }

.lal-entry { padding: 64px 0 84px; }

.lal-entry__inner { max-width: 760px; margin: 0 auto; }

.lal-entry__inner > h2 {
  font-size: 1.5rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.lal-entry__inner > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.lal-entry__inner > h3 { font-size: 1.12rem; margin-top: 2rem; }
.lal-entry__inner p,
.lal-entry__inner li { color: var(--ink-soft); }
.lal-entry__inner ul,
.lal-entry__inner ol { padding-left: 1.2rem; margin: 0 0 1.3em; }
.lal-entry__inner li { margin-bottom: 0.5rem; }
.lal-entry__inner strong { font-weight: 600; }
.lal-entry__inner table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 0.9rem; }
.lal-entry__inner th,
.lal-entry__inner td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.lal-entry__inner th { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.lal-entry__inner a { color: var(--accent); }

.lal-meta {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.4rem;
}

/* =========================================================
   17. Utilities & responsive
   ========================================================= */

.lal-center { text-align: center; }
.lal-mt-0 { margin-top: 0; }
.lal-mb-0 { margin-bottom: 0; }
.lal-mt-2 { margin-top: 2rem; }
.lal-mt-3 { margin-top: 3rem; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .lal-hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .lal-hero__badge {
    position: static;
    margin: 20px auto 0;
    max-width: 22rem;
    text-align: center;
  }
  .lal-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lal-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .lal-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 32px 24px;
  }
  .lal-nav.is-open { display: block; }
  .lal-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .lal-nav li { width: 100%; border-bottom: 1px solid var(--line); }
  .lal-nav a { display: block; padding: 14px 0; }
  .lal-nav-toggle { display: inline-flex; }
  .lal-header__cta { display: none; }
  .lal-grid--3, .lal-grid--2 { grid-template-columns: 1fr; }
  .lal-gallery { grid-template-columns: 1fr; }
  .lal-plans { grid-template-columns: 1fr; }
  .lal-section { padding: 62px 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .lal-wrap { padding: 0 20px; }
  .lal-grid--4 { grid-template-columns: 1fr; }
  .lal-footer__top { grid-template-columns: 1fr; }
  .lal-hero { padding: 48px 0; }
}

@media print {
  .lal-header, .lal-cta, .lal-footer { display: none; }
  body { background: #fff; }
}
