/* bookrusticweddings.com
   Editorial, light and warm. Light tans, a wispy script used only as a
   flourish, and photography that sits faded and washed out behind the type so
   the page reads airy rather than heavy. The rusticness comes from the imagery
   (stone walls and ivy, fairy lights, arbours, terraces, vines, forest light);
   the chrome stays quiet and modern. No burlap, no barnwood texture, no
   chalkboard, no distressing. */

:root {
  --cream: #FAF7F2;
  --tan: #EFE3D2;
  --tan-deep: #E2D3BE;
  --bone: #F4EDE2;
  --charcoal: #2E2A26;
  --sage: #8A9A7B;
  --terracotta: #C4785A;
  --gold: #B08D57;
  --muted: #8B8378;

  --bg: var(--cream);
  --surface: var(--bone);
  --ink: var(--charcoal);
  --ink-soft: var(--muted);
  --rule: rgba(176, 141, 87, .32);
  --rule-soft: rgba(46, 42, 38, .09);
  --shadow: 0 1px 2px rgba(46, 42, 38, .04), 0 10px 30px rgba(46, 42, 38, .06);

  /* How faded the background photography sits. One place to tune the wash. */
  --photo-opacity: .34;
  --photo-opacity-card: .62;
  --wash: rgba(250, 247, 242, .58);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --script: Parisienne, "Snell Roundhand", "Apple Chancery", cursive;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --measure: 68ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1A18;
    --surface: #262320;
    --tan: #332D26;
    --tan-deep: #3D362D;
    --ink: #F3EDE3;
    --ink-soft: #A79E92;
    --rule: rgba(176, 141, 87, .40);
    --rule-soft: rgba(243, 237, 227, .10);
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 30px rgba(0, 0, 0, .30);
    --photo-opacity: .30;
    --photo-opacity-card: .70;
    --wash: rgba(28, 26, 24, .58);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--terracotta); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -.005em; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.16; }
h3 { font-size: 1.22rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.measure { max-width: var(--measure); }

/* The one flourish. Script is decorative only: never a label, never a control,
   never body copy. Sized up so the thin strokes stay readable. */
.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--terracotta);
  line-height: 1.1;
  font-size: 2.1rem;
}
.script-lg { font-size: clamp(2.6rem, 5.4vw, 4rem); }
.script-sm { font-size: 1.5rem; }
.script-ink { color: var(--ink); }
.script-gold { color: var(--gold); }

.eyebrow {
  font-family: var(--sans); font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em; color: var(--muted); margin: 0 0 .7rem;
}
.eyebrow-gold { color: var(--gold); }
.smallcaps { font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; color: var(--ink-soft); font-weight: 500; }
.muted { color: var(--ink-soft); }
.lede { font-family: var(--serif); font-size: 1.34rem; line-height: 1.45; }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.section { padding: 60px 0; position: relative; }
.section + .section { border-top: 1px solid var(--rule); }
.section-bone { background: var(--surface); }
.section-tan { background: var(--tan); }

/* ---------- washed background photography ----------
   The image never sits at full strength behind type. It is dropped to
   --photo-opacity and covered by a cream wash, which is what makes the page
   feel light instead of a dark hero site. */
.washed { position: relative; overflow: hidden; isolation: isolate; }
.washed > .washed-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: var(--photo-opacity); z-index: -2;
}
.washed::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, var(--bg) 0%, transparent 22%, transparent 74%, var(--bg) 100%),
    var(--wash);
}
.washed-soft { --photo-opacity: .22; }
.washed-strong { --photo-opacity: .48; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.head-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { font-family: var(--script); font-size: 1.9rem; line-height: 1; white-space: nowrap; color: var(--ink); padding-bottom: 4px; }
.brand:hover { color: var(--terracotta); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft); }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav .cta {
  color: var(--cream); background: var(--sage); padding: 8px 15px; border-radius: 2px;
  font-weight: 600; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase;
}
.nav .cta:hover { background: var(--charcoal); color: var(--cream); }
@media (max-width: 860px) { .nav a.hide-sm { display: none; } .head-in { gap: 14px; } }

/* ---------- hero ---------- */
.hero { min-height: clamp(440px, 66vh, 660px); display: flex; align-items: center; text-align: center; }
.hero-in { width: 100%; padding: 70px 0 56px; }
.hero-in h1 { max-width: 17ch; margin: 0 auto .5rem; }
.hero-in p { max-width: 52ch; margin: 0 auto 1.6rem; font-size: 1.05rem; color: var(--ink-soft); }
.hero-in .script { margin-bottom: .2rem; }

.band { min-height: clamp(220px, 30vw, 330px); display: flex; align-items: flex-end; }
.band-in { width: 100%; padding: 44px 0 26px; }

.page-head { padding: 46px 0 30px; }
.page-head h1 { margin-bottom: .3rem; }

/* ---------- controls ---------- */
.finder { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center; }
.finder select, .finder input, .field {
  font-family: var(--sans); font-size: .92rem; color: var(--ink);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border: 1px solid var(--rule); border-radius: 2px; padding: 11px 13px; min-width: 200px;
}
.finder select:focus, .finder input:focus, .field:focus { outline: 2px solid var(--sage); outline-offset: -1px; }

.btn {
  display: inline-block; font-family: var(--sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; padding: 12px 21px; border-radius: 2px;
  background: var(--sage); color: var(--cream); border: 1px solid var(--sage); cursor: pointer;
}
.btn:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-terra { background: var(--terracotta); border-color: var(--terracotta); }
.btn-terra:hover { background: var(--charcoal); border-color: var(--charcoal); }
.btn-sm { padding: 8px 14px; font-size: .7rem; }

/* ---------- type tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px;
  display: flex; align-items: flex-end; background: var(--tan);
  border: 1px solid var(--rule-soft);
}
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: var(--photo-opacity-card); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.7,.3,1);
}
.tile::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--bg) 88%, transparent) 0%, transparent 62%); }
.tile:hover img { opacity: .92; transform: scale(1.04); }
.tile-t { position: relative; z-index: 2; padding: 0 16px 14px; }
.tile-t .n { font-family: var(--serif); font-size: 1.36rem; line-height: 1.1; color: var(--ink); }
.tile-t .c { font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- listing cards: compact and dense ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .grid, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; } }
@media (max-width: 460px) { .grid, .grid-3 { grid-template-columns: 1fr; } }

.card { display: block; position: relative; }
.card .ph {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px;
  background: var(--tan); border: 1px solid var(--rule-soft);
}
.card .ph img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: var(--photo-opacity-card);
  transition: opacity .5s ease, transform .7s cubic-bezier(.2,.7,.3,1);
}
.card:hover .ph img { opacity: 1; transform: scale(1.035); }
.card .nm { font-family: var(--serif); font-size: 1.14rem; line-height: 1.2; margin: 9px 0 2px; }
.card .lo { font-size: .68rem; text-transform: uppercase; letter-spacing: .13em; color: var(--ink-soft); }
.card .mt { font-size: .78rem; color: var(--ink-soft); margin-top: 4px; display: flex; gap: 8px; flex-wrap: wrap; }
.card .mt span + span::before { content: "· "; color: var(--rule); }
.flag {
  position: absolute; top: 9px; left: 9px; z-index: 3;
  font-size: .58rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  background: var(--terracotta); color: var(--cream); padding: 4px 9px; border-radius: 2px;
}
.flag-gold { background: var(--gold); }

/* ---------- filter rail ---------- */
.cols { display: grid; grid-template-columns: 216px 1fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; gap: 20px; } }
.rail { position: sticky; top: 80px; }
.rail .grp { padding: 0 0 14px; margin: 0 0 14px; border-bottom: 1px solid var(--rule-soft); }
.rail .grp:last-child { border-bottom: 0; }
.rail h4 { font-family: var(--sans); font-size: .64rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .17em; color: var(--muted); margin: 0 0 8px; }
.rail label { display: flex; align-items: center; gap: 8px; font-size: .84rem; padding: 2px 0; cursor: pointer; }
.rail label:hover { color: var(--terracotta); }
.rail input { accent-color: var(--sage); margin: 0; width: 14px; height: 14px; }
.rail .cnt { margin-left: auto; font-size: .7rem; color: var(--ink-soft); }
.rail-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.rail-clear { font-size: .72rem; color: var(--terracotta); cursor: pointer; background: none; border: 0; padding: 0; font-family: var(--sans); }

.result-bar { display: flex; align-items: baseline; gap: 12px; padding-bottom: 14px;
  border-bottom: 1px solid var(--rule); margin-bottom: 22px; }
.result-bar .n { font-family: var(--serif); font-size: 1.24rem; }

/* ---------- real folder tabs (never pills) ---------- */
.tabs { display: flex; align-items: flex-end; gap: 2px; margin: 0; padding: 0 0 0 4px;
  border-bottom: 1px solid var(--rule); list-style: none; flex-wrap: wrap; }
.tabs a {
  display: block; position: relative; padding: 9px 20px 8px;
  font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
  background: color-mix(in srgb, var(--tan) 60%, transparent);
  border: 1px solid var(--rule); border-bottom: 0; border-radius: 13px 13px 0 0; margin-bottom: -1px;
}
.tabs a:hover { color: var(--ink); }
.tabs a.on { background: var(--bg); color: var(--ink); font-weight: 600; }
.tabs a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--bg); }

/* ---------- venue detail ---------- */
.v-hero { min-height: clamp(280px, 40vw, 460px); display: flex; align-items: flex-end; }
.v-hero-in { width: 100%; padding: 60px 0 28px; }
.v-top { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; padding: 30px 0 0; }
@media (max-width: 900px) { .v-top { grid-template-columns: 1fr; gap: 24px; } }
.v-facts { display: flex; flex-wrap: wrap; gap: 0 26px; padding: 14px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 18px 0 22px; }
.v-facts div { padding: 2px 0; }
.v-facts .k { font-size: .6rem; text-transform: uppercase; letter-spacing: .17em; color: var(--muted); }
.v-facts .v { font-family: var(--serif); font-size: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.chip { font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft);
  border: 1px solid var(--rule); border-radius: 2px; padding: 4px 10px; }
.chip-on { color: var(--ink); border-color: var(--sage); background: color-mix(in srgb, var(--sage) 13%, transparent); }

.panel { background: var(--surface); border: 1px solid var(--rule-soft); border-radius: 2px; padding: 18px; }
.panel h3 { font-size: 1.06rem; margin-bottom: 10px; }
.panel .row { display: flex; gap: 8px; font-size: .86rem; padding: 5px 0; border-bottom: 1px solid var(--rule-soft); }
.panel .row:last-child { border-bottom: 0; }
.panel .row .k { color: var(--ink-soft); min-width: 74px; font-size: .78rem; }
.masked { color: var(--ink-soft); font-style: italic; }

.claim-strip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 0; margin: 26px 0; }
.claim-strip p { margin: 0; font-size: .9rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; width: 100%; }

#map { height: 300px; border-radius: 2px; border: 1px solid var(--rule-soft); background: var(--tan); }

/* ---------- forms ---------- */
.form { display: grid; gap: 10px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
.form label { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); display: block; margin-bottom: 4px; }
.form input, .form textarea, .form select {
  width: 100%; font-family: var(--sans); font-size: .92rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--rule-soft); border-radius: 2px; padding: 10px 11px;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--sage); outline-offset: -1px; }
.form-note { font-size: .76rem; color: var(--ink-soft); }
.ok { color: var(--sage); font-weight: 600; }
.err { color: var(--terracotta); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier { border: 1px solid var(--rule); border-radius: 2px; padding: 22px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); display: flex; flex-direction: column; }
.tier.pick { border-color: var(--terracotta); border-width: 2px; }
.tier .p { font-family: var(--serif); font-size: 2.6rem; line-height: 1; margin: 6px 0 2px; }
.tier .per { font-size: .72rem; color: var(--ink-soft); letter-spacing: .09em; text-transform: uppercase; }
.tier ul { list-style: none; padding: 0; margin: 16px 0 20px; font-size: .88rem; }
.tier li { padding: 6px 0 6px 20px; position: relative; border-bottom: 1px solid var(--rule-soft); }
.tier li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; background: var(--sage); border-radius: 50%; }
.tier li.no { color: var(--ink-soft); }
.tier li.no::before { background: var(--rule); }
.tier .btn { margin-top: auto; text-align: center; }

table.cmp { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.cmp th, table.cmp td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--rule-soft); }
table.cmp th { font-size: .64rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); font-weight: 700; }
table.cmp tr:hover td { background: var(--surface); }

/* ---------- editorial ---------- */
.reads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) { .reads { grid-template-columns: 1fr; } }
.read .ph { aspect-ratio: 3/2; overflow: hidden; border-radius: 2px; background: var(--tan); border: 1px solid var(--rule-soft); }
.read .ph img { width: 100%; height: 100%; object-fit: cover; opacity: var(--photo-opacity-card); transition: opacity .5s ease; }
.read:hover .ph img { opacity: 1; }
.read h3 { margin: 10px 0 4px; }
.read p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

article.prose { max-width: var(--measure); }
article.prose h2 { margin: 34px 0 10px; }
article.prose h3 { margin: 24px 0 8px; }
article.prose ul { padding-left: 20px; }
article.prose li { margin-bottom: 6px; }
article.prose blockquote { margin: 22px 0; padding-left: 18px; border-left: 2px solid var(--gold);
  font-family: var(--serif); font-size: 1.2rem; }

/* ---------- state index ---------- */
.states { columns: 4; column-gap: 26px; }
@media (max-width: 900px) { .states { columns: 2; } }
@media (max-width: 520px) { .states { columns: 1; } }
.states a { display: flex; gap: 8px; padding: 4px 0; font-size: .9rem; break-inside: avoid; }
.states a .n { margin-left: auto; font-size: .74rem; color: var(--ink-soft); }

.preview-strip { background: var(--gold); color: #1C1A18; font-size: .78rem; letter-spacing: .03em; }
.preview-strip .wrap { padding-top: 7px; padding-bottom: 7px; }
.preview-strip b { font-weight: 700; }

/* ---------- footer ---------- */
.site-foot { background: var(--charcoal); color: #E7DFD3; padding: 52px 0 30px; }
@media (prefers-color-scheme: dark) { .site-foot { background: #141311; } }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-foot h4 { font-family: var(--sans); font-size: .62rem; text-transform: uppercase; letter-spacing: .19em;
  color: rgba(231,223,211,.55); margin: 0 0 10px; font-weight: 700; }
.site-foot a { color: rgba(231,223,211,.86); font-size: .86rem; display: block; padding: 3px 0; }
.site-foot a:hover { color: var(--terracotta); }
.foot-brand { font-family: var(--script); font-size: 2.1rem; color: var(--cream); margin-bottom: 6px; line-height: 1.1; }
.foot-brand + p { font-size: .86rem; color: rgba(231,223,211,.62); max-width: 34ch; }
.foot-base { margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(231,223,211,.16);
  display: flex; gap: 16px; flex-wrap: wrap; font-size: .76rem; color: rgba(231,223,211,.55); }
.foot-base a { display: inline; font-size: .76rem; }

.empty { padding: 46px 0; text-align: center; color: var(--ink-soft); }
.empty h3 { color: var(--ink); margin-bottom: 6px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
