/* havasuweddings.com — clean, elegant directory look (Oct 31, 2026). Not the Havasu Vows palette.
   Ivory and champagne with a deep sage for links and buttons. Cormorant Garamond headings,
   Pinyon Script for small accents only, Jost for body text. */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --ink: #2a2826;
  --muted: #6e6a64;
  --line: #e9e2d6;
  --sage: #3f5f5b;
  --sage-dark: #2f4744;
  --champagne: #b39465;
  --champagne-tint: #f5eee3;
  --blush: #f6ede7;
  --radius: 4px;
  --max: 1080px;
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-script: "Pinyon Script", "Cormorant Garamond", Georgia, serif; /* never fall back to "cursive" (Comic Sans on Windows) */
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 350; /* Jost is a variable font; 400 reads heavy on screen */
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Bold must use a loaded weight; a missing weight makes the browser fake it, which looks fuzzy. */
strong, b, th { font-weight: 500; }
a { color: var(--sage); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--sage-dark); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand-seal { width: 56px; height: 56px; flex: none; }
.brand-text { display: block; }
.brand-name { font-family: var(--font-head); font-size: 1.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.brand-tag { display: block; margin-top: 4px; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.22em; text-transform: uppercase; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sage); border-bottom: 1px solid var(--champagne); }

/* Headings */
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 6vw, 3.4rem); margin: 0 0 14px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.1rem); margin: 48px 0 8px; text-align: center; }
h3 { font-size: 1.45rem; margin: 0; }
.script { font-family: var(--font-script); font-weight: 400; font-size: 1.6em; line-height: 1; color: var(--champagne); display: block; margin-bottom: 4px; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px auto 0; color: var(--champagne); max-width: 260px; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: var(--champagne); opacity: 0.6; }
.ornament span { font-size: 0.7rem; }

/* Page intro */
.page-intro { padding: 48px 0 8px; text-align: center; }
.page-intro p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.crumbs { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--sage); }

/* Home hero: ivory by default; a photo when images/hero.jpg exists */
.hero { position: relative; text-align: center; padding: 84px 0 76px; background: var(--blush); border-bottom: 1px solid var(--line); }
.hero.has-image { background-size: cover; background-position: center; color: #fff; border-bottom: 0; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: rgba(28, 26, 24, 0.38); }
.hero .wrap { position: relative; }
.hero p { max-width: 600px; margin: 0 auto; font-size: 1.08rem; color: var(--muted); }
.hero.has-image h1, .hero.has-image p, .hero.has-image .area { color: #fff; }
.hero.has-image .script { color: #f1e3c8; }
.hero .area { margin-top: 22px; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.section-lede { text-align: center; color: var(--muted); margin: 0 auto 8px; max-width: 600px; }

/* Category tiles; an image shows when images/categories/<slug>.jpg exists */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin: 28px 0 8px; padding: 0; list-style: none; }
.tile a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.tile a:hover { border-color: var(--champagne); box-shadow: 0 6px 22px rgba(42, 40, 38, 0.07); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile .tile-text { padding: 18px 18px 20px; text-align: center; }
.tile .tile-name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 500; display: block; line-height: 1.2; }
.tile .tile-count { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* Listings */
.listings { display: grid; gap: 18px; margin: 28px 0 8px; padding: 0; list-style: none; }
.listing { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.listing.is-featured { border-color: var(--champagne); box-shadow: 0 0 0 3px var(--champagne-tint); }
.listing-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.badge { display: inline-block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; padding: 3px 10px; border: 1px solid var(--champagne); border-radius: 999px; color: #8a6f45; background: var(--champagne-tint); }
.badge.plain { border-color: var(--line); background: var(--bg); color: var(--muted); }
.listing h3 a { color: inherit; text-decoration: none; }
.listing h3 a:hover { color: var(--sage); text-decoration: underline; text-decoration-color: var(--champagne); }
.business-page { margin-top: 28px; }
.business-page .lead { font-size: 1.12rem; }
.business-page .checked { margin-top: 14px; font-size: 0.82rem; color: var(--muted); }
.related { list-style: none; padding: 0; margin: 20px auto 0; max-width: 520px; text-align: center; }
.related li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.related li span { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.listing .where { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 4px 0 8px; }
.listing p { margin: 6px 0; }
.listing .disclosure { font-size: 0.88rem; color: var(--muted); font-style: italic; }
.contact { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 0; padding: 14px 0 0; list-style: none; font-size: 0.95rem; border-top: 1px solid var(--line); }
.contact a { overflow-wrap: anywhere; }
.owner-note { margin: -4px 0 4px; font-size: 0.9rem; color: var(--muted); text-align: center; font-style: italic; }
.listing-section { text-align: center; }

/* Guides */
.tile .tile-summary { display: block; margin-top: 6px; font-size: 0.92rem; color: var(--muted); }
.updated { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; }
.guide { margin: 0 auto; }
.guide .lead { font-size: 1.12rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--champagne); padding: 18px 22px; border-radius: var(--radius); }
.guide h2 { margin-top: 40px; }
.guide h3 { font-size: 1.25rem; margin-top: 22px; }
.guide ol li, .guide ul li { margin-bottom: 8px; }
.guide table { width: 100%; border-collapse: collapse; margin: 16px 0; background: var(--surface); font-size: 0.95rem; }
.guide th, .guide td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.guide thead th { background: var(--champagne-tint); font-weight: 500; }
.guide tbody th { width: 34%; font-weight: 500; background: var(--bg); }
.guide .faq h3 { margin-bottom: 4px; }
.guide .faq p { margin-top: 0; }
.note-small { margin-top: 32px; font-size: 0.85rem; color: var(--muted); font-style: italic; }
@media (max-width: 600px) {
  .guide table, .guide tbody, .guide tr, .guide th, .guide td { display: block; width: 100%; }
  .guide thead { display: none; }
  .guide td, .guide th { border-top: 0; }
  .guide tr { border-top: 1px solid var(--line); }
}

/* Notes */
.note { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--champagne); border-radius: var(--radius); padding: 18px 22px; margin: 28px 0; }
.note p { margin: 0; }
.prose { max-width: 720px; }
.prose h2 { text-align: left; font-size: 1.6rem; margin-top: 36px; }
.prose li { margin-bottom: 6px; }
.tell-us { text-align: center; font-size: 0.92rem; color: var(--muted); margin-top: 28px; }

/* Forms */
form.listing-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; max-width: 640px; margin: 24px auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.field .hint { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage); }
.hidden-field { position: absolute; left: -9999px; }
.field.checkbox label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
.field.checkbox input { width: auto; margin-top: 5px; }
.field input[type="file"] { padding: 8px; }
.business-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 28px 0 0; background: var(--blush); }
/* Vendor cards: photo left, details right (stacks on narrow phones). */
.listing.card { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: start; }
.card-photo { display: block; }
.listing-thumb { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.listing-thumb.is-placeholder { object-fit: contain; background: var(--blush); padding: 22px; border: 1px solid var(--line); }
.highlights { list-style: none; padding: 0; margin: 8px 0; font-size: 0.92rem; color: var(--muted); }
.highlights li { position: relative; padding-left: 18px; margin: 3px 0; }
.highlights li::before { content: "\25C6"; position: absolute; left: 0; top: 0.1em; font-size: 0.6rem; color: var(--champagne); }
.pricing { margin: 8px 0 0; font-size: 0.95rem; }
.pricing strong { font-weight: 500; }
@media (max-width: 520px) {
  .listing.card { grid-template-columns: 96px 1fr; gap: 14px; }
}
/* Logos are shown whole, centered on a warm background, never cropped. */
.business-hero.is-logo, .listing-thumb.is-logo { object-fit: contain; background: #fffbf5; padding: 12px; border: 1px solid var(--line); }
.button { display: inline-block; background: var(--sage); color: #fff; border: 0; border-radius: var(--radius); padding: 13px 28px; font: inherit; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.button:hover { background: var(--sage-dark); color: #fff; }

/* Footer */
.site-footer { margin-top: 72px; background: var(--surface); border-top: 1px solid var(--line); padding: 36px 0 40px; font-size: 0.88rem; color: var(--muted); text-align: center; }
.site-footer .footer-brand { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer p { margin: 0 auto 8px; max-width: 680px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.site-footer a { color: var(--muted); }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-name { font-size: 1.35rem; }
  .brand-seal { width: 44px; height: 44px; }
  .brand { gap: 10px; }
  .hero { padding: 56px 0 48px; }
  .listing { padding: 20px 18px; }
}
