/* ==========================================================================
   Kimmy's Kountry Weddings — landing page

   The look follows the original WordPress/Elementor site: a near-white
   ground, one warm tan carrying the whole brand, thin tan line-art
   flourishes and leaf sprigs, a high-contrast serif for display and a
   geometric sans for everything else.

   The tan is used as fill, rule and ornament. Text that has to be *read*
   uses the deeper tan, because the pale one does not carry enough contrast
   against the near-white ground.
   ========================================================================== */

@import url('fonts/fonts.css');

:root {
  /* --- Brand -------------------------------------------------------------
     --tan        the nav bar / panel fill from the original site
     --tan-ink    darkened for small text and links, so it is readable
     --tan-script for the large italic accent lines (display size only)
     --tan-line   hairlines, rules and the line-art flourishes */
  --tan:        #c9b394;
  --tan-ink:    #8a7047;
  --tan-script: #b09a78;
  --tan-line:   #e0d3bd;

  /* --- Grounds ----------------------------------------------------------- */
  --paper:      #f9f9f8;
  --paper-warm: #f4f0e9;

  /* --- Text -------------------------------------------------------------- */
  --ink:        #1e1b18;
  --ink-body:   #3c3832;
  --ink-muted:  #6b635a;

  /* --- Type -------------------------------------------------------------- */
  --font-display: 'Cormorant Garamond', Garamond, Georgia, serif;
  --font-sans:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --t-hero:    clamp(2.3rem, 5.4vw, 4.25rem);
  --t-phone:   clamp(2.2rem, 5.6vw, 4rem);
  --t-section: clamp(1.75rem, 3.4vw, 2.75rem);
  --t-col:     clamp(1.3rem, 2vw, 1.6rem);
  --t-body:    clamp(0.98rem, 1.05vw, 1.06rem);
  --t-small:   0.82rem;

  /* --- Rhythm ------------------------------------------------------------ */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1180px;
  --max-narrow: 860px;
  --space-section: clamp(3.5rem, 7vw, 6rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.12; }
p { margin: 0 0 1.2em; }

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

:focus-visible {
  outline: 2px solid var(--tan-ink);
  outline-offset: 3px;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--max-narrow); }

.section { padding-block: var(--space-section); }

/* ==========================================================================
   The tan band across the top
   --------------------------------------------------------------------------
   The original site's navigation sits in a band of this colour. There is
   nothing to navigate to on a one-page site, so the band carries the name
   and the phone number instead.
   ========================================================================== */

.band {
  background: var(--tan);
  color: var(--ink);
}

.band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  padding-block: 0.85rem;
}

.band__name {
  font-family: var(--font-sans);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.band__phone {
  font-family: var(--font-sans);
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 27, 24, 0.4);
  padding-bottom: 1px;
  transition: border-color 140ms ease;
}
.band__phone:hover { border-bottom-color: var(--ink); }

/* ==========================================================================
   Hero
   --------------------------------------------------------------------------
   Centred, as on the original. The flourish is decorative only and is
   hidden from assistive technology.
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(3.25rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem);
}

/* The long tan curve that snakes behind the type on the original site. */
.flourish {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  color: var(--tan-line);
}
.flourish--hero {
  top: 0;
  left: 50%;
  width: min(1600px, 160%);
  transform: translateX(-54%);
  opacity: 0.95;
}
/* Runs across the foot of the section. Kept clear of the headings — a
   hairline crossing through type reads as a mistake, not an ornament. */
.flourish--band {
  left: 50%;
  width: min(1500px, 150%);
  transform: translateX(-50%);
  bottom: -5rem;
  opacity: 0.75;
}

.hero__inner { position: relative; z-index: 1; }

/* The leaf sprig that sits above the name. */
.sprig {
  width: clamp(110px, 13vw, 150px);
  height: auto;
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  color: var(--tan);
}

.hero__script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  color: var(--tan-script);
  margin: 0 0 0.5rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--t-hero);
  line-height: 1.1;
  color: var(--ink);
  max-width: 20ch;
  margin: 0 auto 1.5rem;
}

.hero__intro {
  max-width: 56ch;
  margin: 0 auto;
  color: var(--ink-body);
}

/* ==========================================================================
   Contact — the reason the page exists
   ========================================================================== */

.contact {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
}

/* A short centred rule rather than a full-width one, in the tan. */
.contact::before {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  background: var(--tan);
  margin: 0 auto clamp(1.75rem, 3vw, 2.25rem);
}

.contact__label {
  font-family: var(--font-sans);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan-ink);
  margin: 0 0 0.75rem;
}

/* The phone number is the largest thing on the page. Set in the display
   serif so it belongs to the brand rather than looking like a utility. */
.contact__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-phone);
  line-height: 1.05;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--tan);
  padding-bottom: 0.08em;
  transition: color 160ms ease, border-color 160ms ease;
}
.contact__phone:hover,
.contact__phone:focus-visible {
  color: var(--tan-ink);
  border-bottom-color: var(--tan-ink);
}

.contact__note {
  font-size: var(--t-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 1rem 0 0;
}

.contact__email {
  margin: 1.75rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  overflow-wrap: break-word;
}

.link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--tan);
  padding-bottom: 1px;
  transition: color 140ms ease, border-color 140ms ease;
}
.link:hover { color: var(--tan-ink); border-color: var(--tan-ink); }

/* ==========================================================================
   What the venue offers — the three columns from the original
   ========================================================================== */

.offers {
  position: relative;
  background: var(--paper-warm);
  border-top: 1px solid var(--tan-line);
  border-bottom: 1px solid var(--tan-line);
  overflow: hidden;
}

.offers__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
}

@media (max-width: 820px) {
  .offers__grid { grid-template-columns: 1fr; }
}

.offer { text-align: center; }

.offer__sprig {
  width: 56px;
  height: auto;
  margin: 0 auto 1rem;
  color: var(--tan);
}

.offer__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--t-col);
  color: var(--ink);
  margin-bottom: 1rem;
}

.offer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  font-size: var(--t-small);
  line-height: 1.7;
}
.offer__list li {
  padding: 0.6rem 0;
  border-top: 1px solid var(--tan-line);
}
.offer__list li:last-child { border-bottom: 1px solid var(--tan-line); }

/* ==========================================================================
   Where to find us
   ========================================================================== */

.find { text-align: center; }

.find__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  color: var(--tan-script);
  margin-bottom: 1.25rem;
}

.find__address {
  font-style: normal;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--tan);
  color: var(--ink);
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  font-size: var(--t-small);
}

.footer__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}

.footer__meta a {
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 27, 24, 0.4);
  transition: border-color 140ms ease;
}
.footer__meta a:hover { border-bottom-color: var(--ink); }

/* ==========================================================================
   Utilities
   ========================================================================== */

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--tan-ink); color: #fff;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-sans);
  font-size: var(--t-small);
  text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

@media print {
  .flourish, .sprig, .offer__sprig { display: none; }
  body { background: #fff; }
  .band, .footer { background: #fff; border-bottom: 1px solid #ccc; }
}
