/* Southern Bee Collective
   Look: soft glamour. Warm ivory with soft yellow bands, honey gold accents, soft
   deep teal instead of hard black, a centered header and a graceful serif.
   Edit the colors here and the whole site follows. */
:root {
  --honey: #F5DE77;      /* brand yellow, reads as gold against black */
  --honey-deep: #7A5E00; /* darker gold for small text on light backgrounds */
  --champagne: #FBF0CC;  /* soft butter yellow for feature bands */
  --champagne-2: #FDF7E4;/* lighter end of the band wash */
  --gold: #C9A646;       /* hairlines and small flourishes */
  --gold-soft: rgba(201, 166, 70, .45);
  --ink: #103C4A;        /* deep teal for text, buttons and footer */
  --ink-soft: #4C6168;   /* secondary text */
  --mist: #5A6A6E;       /* secondary text on champagne */
  --paper: #FFFDF8;      /* warm ivory page */
  --pearl: #FAF5EA;      /* quiet panels */
  --line: #E8DFC9;

  --display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --script: "Parisienne", "Great Vibes", cursive; /* for a few feature headings */
  --body: "Jost", "Futura", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 2rem;
  --step-3: clamp(2.4rem, 5.5vw, 3.5rem);
  --step-4: clamp(3rem, 8.5vw, 6rem);

  --wrap: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.08; text-wrap: balance; margin: 0; }
h3 { font-family: var(--body); font-weight: 400; line-height: 1.3; margin: 0; }
p { margin: 0; }
strong, b { font-weight: 500; }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

/* Small tracked capitals, kept to navigation and buttons */
.nav a, .btn, .chip { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 400; }

/* Header: centered house mark over a centered menu */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: grid; justify-items: center; gap: 14px; padding-block: 22px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.brand-name { font-family: var(--display); font-size: clamp(1.25rem, 3.4vw, 1.7rem); letter-spacing: 0.16em; text-transform: uppercase; }
.nav { display: flex; justify-content: center; gap: 0 clamp(18px, 3.5vw, 40px); flex-wrap: wrap; }
.nav a { text-decoration: none; padding-block: 12px 14px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--honey); }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
@media (max-width: 520px) {
  .brand img { height: 46px; }
  .brand-name { letter-spacing: 0.08em; font-size: 1.05rem; }
  .nav { gap: 0 13px; }
  .nav a { letter-spacing: 0.08em; font-size: 0.7rem; }
}

/* Hero: black stage, centered */
.hero { background: var(--champagne); color: var(--ink); }
.hero .wrap { padding-block: clamp(72px, 13vw, 168px); display: grid; justify-items: center; text-align: center; }
.hero-copy { display: grid; justify-items: center; gap: 28px; min-width: 0; }
.hero h1 { font-size: var(--step-4); font-weight: 400; max-width: 16ch; }
.hero p { font-size: var(--step-1); max-width: 34rem; color: var(--ink-soft); }
.page-hero .wrap { padding-block: clamp(56px, 9vw, 112px); gap: 18px; }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); line-height: 1; text-decoration: none; cursor: pointer;
  padding: 18px 34px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
/* on black */


/* Home page quote */
.quote-band .wrap { padding-block: clamp(56px, 8vw, 104px) 0; }
.quote { margin: 0 auto; max-width: 46rem; text-align: center; display: grid; justify-items: center; gap: 22px; }
.quote::before, .quote::after { content: ""; width: 56px; height: 1px; background: var(--honey-deep); opacity: .6; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--display); font-style: italic; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.3; color: var(--ink); text-wrap: balance; }

/* Sections */
.section .wrap { padding-block: clamp(64px, 9vw, 120px); display: grid; gap: clamp(36px, 5vw, 56px); }
.section.tinted { background: var(--pearl); }
.section-head { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 44rem; margin-inline: auto; }
.section-head p { color: var(--ink-soft); }
.section h2 { font-size: var(--step-3); }

/* Product grid */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  font-family: var(--body); padding: 11px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 56px 32px; }
.card { display: flex; flex-direction: column; min-width: 0; text-align: center; }
.card-img { aspect-ratio: 4 / 5; max-width: 100%; background: var(--pearl); display: grid; place-items: center; overflow: hidden; }
.section.tinted .card-img { background: var(--paper); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-img .ph { display: grid; place-items: center; width: 100%; height: 100%; }
.card-img .ph img { width: 50%; height: auto; opacity: .5; }
.card:hover .card-img .ph img { transform: none; }
.card-body { padding-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.tag { font-size: 0.85rem; color: var(--honey-deep); letter-spacing: 0.04em; }
.card h3 { font-size: 1.2rem; font-weight: 400; }
.card p { color: var(--ink-soft); font-size: 0.97rem; max-width: 32ch; }
.card .meta { margin-top: auto; display: grid; justify-items: center; gap: 14px; padding-top: 14px; }
.price { font-weight: 400; font-size: 1.05rem; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.card .btn { padding: 14px 26px; }

.empty {
  border-block: 1px solid var(--ink);
  padding: clamp(40px, 7vw, 72px) 24px; text-align: center; display: grid; gap: 16px; justify-items: center;
}
.empty h3 { font-family: var(--display); font-size: var(--step-2); }
.empty p { color: var(--ink-soft); max-width: 40ch; }

.etsy-cta { display: flex; justify-content: center; }
.section .wrap > div:last-child:not(.empty):has(> .btn) { display: flex; justify-content: center; }

.books-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 300px)); justify-content: center; }
.book .card-img { aspect-ratio: 2 / 3; }
.book .card-img > img { box-shadow: 0 18px 36px -18px rgba(16, 60, 74, .45); }

/* Signup band */
.signup { background: var(--champagne); color: var(--ink); }
.signup .wrap { padding-block: clamp(64px, 10vw, 128px); display: grid; gap: 32px; justify-items: center; text-align: center; }
.signup .section-head { gap: 16px; }
.signup h2 { color: var(--ink); font-size: var(--step-3); }
.signup p { color: var(--ink-soft); }
.signup-form { display: grid; gap: 14px; width: 100%; max-width: 560px; }
.signup-form .row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.signup-form input {
  flex: 1 1 200px; min-width: 0; font: 300 1rem var(--body); padding: 16px 4px; border-radius: 0;
  border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink);
}
.signup-form input::placeholder { color: #6E7F83; }
.signup-form input:focus-visible { outline: none; border-bottom-color: var(--honey-deep); }
.form-note { font-size: 0.95rem; min-height: 1.4em; }
.signup.light { background: var(--paper); color: var(--ink); }
.signup.light h2 { color: var(--ink); font-size: var(--step-4); }
.signup.light p { color: var(--ink-soft); }
.signup.light .signup-form input { border-bottom-color: var(--ink); color: var(--ink); }
.signup.light .signup-form input::placeholder { color: #7D786D; }
.signup.light .signup-form input:focus-visible { border-bottom-color: var(--honey-deep); }
.signup.light .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.signup.light .btn:hover { background: var(--honey); border-color: var(--honey); color: var(--ink); }

/* About */
.prose { display: grid; gap: 22px; max-width: 62ch; margin-inline: auto; }
.prose p { font-size: 1.15rem; }
.contact { display: grid; gap: 6px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact h2 { font-size: var(--step-2); }

/* About photo in a honeycomb cell: a honey border around a flat-top hexagon */
.honeycomb {
  --hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  margin: 24px auto 0; width: min(100%, 460px); aspect-ratio: 900 / 780;
  background: var(--honey); clip-path: var(--hex); padding: 7px;
}
.honeycomb img { width: 100%; height: 100%; object-fit: cover; clip-path: var(--hex); }
.prose .photo-credit { margin-top: 14px; text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* Equine Services: photo and black text panel, side by side */
.equine { background: var(--pearl); color: var(--ink); }
.equine-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(88vh, 860px); }
.equine-photo { min-height: 0; max-width: 100%; }
.equine-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.equine-copy {
  display: grid; gap: 26px; align-content: center; min-width: 0;
  padding-block: clamp(56px, 8vw, 96px);
  padding-left: max(clamp(24px, 6vw, 88px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 6vw, 88px), env(safe-area-inset-right, 0px));
}
.equine-copy h1 { font-size: var(--step-4); }
.callout { font-family: var(--display); font-style: italic; color: var(--honey-deep); font-size: var(--step-2); padding-bottom: 20px; border-bottom: 1px solid var(--honey); justify-self: start; }
.equine-copy .prose { margin-inline: 0; }
.equine-copy .prose p { color: var(--ink-soft); }
.equine-copy .btn-row { justify-content: flex-start; }

@media (max-width: 820px) {
  .equine-split { grid-template-columns: 1fr; min-height: 0; }
  .equine-photo { aspect-ratio: 4 / 5; max-height: 72vh; }
}

/* Script headings: every page title and section heading */
h1.script, h2.script { font-family: var(--script); font-weight: 400; line-height: 1.15; letter-spacing: 0; }
.hero h1.script { font-size: clamp(2.8rem, 7vw, 5.4rem); max-width: 16ch; }
.page-hero h1.script { font-size: clamp(3.6rem, 9vw, 6.5rem); }
.section h2.script, .signup h2.script { font-size: clamp(2.8rem, 6vw, 4.2rem); }
.equine-copy h1.script { font-size: clamp(3.2rem, 8vw, 5.6rem); }
.contact h2.script { font-size: 2.4rem; }

/* Footer */
.site-footer { background: var(--ink); color: #D3DEDF; }
.site-footer .wrap { padding-block: 32px; display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; font-size: 0.9rem; letter-spacing: 0.04em; }
.site-footer a { color: var(--honey); }

/* ============ Polish: gold details, softer bands, fuller footer ============ */

/* Header: thin gold rule on top, a larger logo */
.site-header { border-top: 3px solid var(--gold); border-bottom-color: var(--gold-soft); }
.site-header .wrap { padding-block: 28px 0; gap: 18px; }
.brand img { height: 72px; }
.brand-name { letter-spacing: .22em; }
.nav a { letter-spacing: .22em; font-size: .74rem; }
@media (max-width: 520px) { .brand img { height: 56px; } .brand-name { letter-spacing: .1em; } .nav a { letter-spacing: .1em; font-size: .7rem; } }

/* Yellow bands: a soft wash with a faint honeycomb texture */
.hero, .signup:not(.light) {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16.2v32.4L28 64.8 0 48.6V16.2zM28 64.8V97' fill='none' stroke='%23B08A1E' stroke-opacity='.07' stroke-width='1'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--champagne) 0%, var(--champagne-2) 100%);
}

/* Small gold label above a heading */
.eyebrow { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--honey-deep); display: flex; align-items: center; gap: 14px; }
.eyebrow::after, .section-head .eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--gold); }
.section-head .eyebrow { justify-content: center; }

/* Home hero: words on the left, an arched portrait on the right */
.hero .wrap:has(.hero-grid) { padding-block: clamp(56px, 9vw, 120px); display: block; text-align: left; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-grid .hero-copy { justify-items: start; gap: 24px; }
.hero-grid h1.script { font-size: clamp(3rem, 6.4vw, 5.6rem); max-width: 12ch; line-height: 1.08; }
.hero-grid p { max-width: 30rem; }
.hero-grid .btn-row { justify-content: flex-start; margin-top: 8px; }
.arch-frame { justify-self: center; padding: 12px; border: 1px solid var(--gold); border-radius: 999px 999px 10px 10px; width: min(100%, 444px); }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 6px 6px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(16, 60, 74, .45); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .hero-copy { justify-items: center; text-align: center; }
  .hero-grid .btn-row { justify-content: center; }
  .hero-grid .eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--gold); }
  .arch-frame { width: min(86%, 360px); }
}

/* Buttons: gold on hover with a soft lift */
.btn { padding: 17px 36px; letter-spacing: .22em; font-size: .74rem; transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.btn:hover, .signup.light .btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(16, 60, 74, .5); }
.btn.ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.nav a:hover { border-bottom-color: var(--gold); }

/* Quote: gold hairlines */
.quote::before, .quote::after { background: var(--gold); opacity: 1; width: 72px; }
.quote p { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }

/* Downloads: a framed three-point card */
.feature { max-width: 880px; margin-inline: auto; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--gold-soft); background: #fff; }
.feature > div { padding: 36px 28px; text-align: center; display: grid; gap: 10px; justify-items: center; align-content: start; }
.feature > div + div { border-left: 1px solid var(--gold-soft); }
.feature .num { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 1.6rem; line-height: 1; }
.feature h3 { font-family: var(--display); font-size: 1.55rem; }
.feature p { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 720px) {
  .feature { grid-template-columns: 1fr; }
  .feature > div + div { border-left: 0; border-top: 1px solid var(--gold-soft); }
}

/* Books: covers with real depth, titles in the serif */
.book .card-img { background: transparent !important; overflow: visible; padding: 0 18px; }
.book .card-img > img { box-shadow: 0 2px 4px rgba(16, 60, 74, .08), 0 28px 48px -22px rgba(16, 60, 74, .55); border-radius: 2px 4px 4px 2px; }
.book .card-body { padding-top: 30px; }
.book h3 { font-family: var(--display); font-size: 1.4rem; line-height: 1.25; max-width: 24ch; }
.books-grid { gap: 64px 56px; }

/* Signup: an inset card framed by a double gold hairline */
.signup-card {
  background: rgba(255, 253, 248, .75); border: 1px solid var(--gold-soft);
  outline: 1px solid var(--gold-soft); outline-offset: 8px;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 6vw, 72px);
  display: grid; gap: 32px; justify-items: center; width: min(100% - 20px, 760px);
}

/* Footer: name, links and contact in three columns */
.site-footer .wrap.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; justify-content: stretch; padding-block: 64px 28px; font-size: .95rem; }
.foot h2 { margin: 0 0 14px; font-family: var(--body); font-weight: 400; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--honey); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .foot a { color: #E9EFEF; text-decoration: none; overflow-wrap: anywhere; }
.site-footer .foot a:hover { color: var(--honey); }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .script { font-family: var(--script); font-size: 2.1rem; color: var(--honey); line-height: 1.1; }
.foot-brand p { color: #BFCDCF; max-width: 30ch; }
.site-footer .foot-base { border-top: 1px solid rgba(245, 222, 119, .2); }
.site-footer .foot-base .wrap { padding-block: 20px 28px; font-size: .82rem; color: #9FB2B5; }
@media (max-width: 720px) { .site-footer .wrap.foot { grid-template-columns: 1fr; gap: 32px; } }

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