/* Ever After Shasta — Launch Redding starter website
   Palette: warm ivory, sage, deep forest, muted champagne
*/
:root {
  --ivory: #f7f4ee;
  --paper: #fffdf9;
  --sage: #dce2d6;
  --sage-deep: #6f806c;
  --forest: #34483c;
  --forest-dark: #26382f;
  --champagne: #b79b70;
  --ink: #29342d;
  --muted: #73776f;
  --line: #e4dfd5;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: #dce2d6; color: var(--forest-dark); }
.skip-link { position: absolute; top: -60px; left: 12px; z-index: 1000; padding: 12px 16px; background: white; color: var(--ink); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,249,.96); border-bottom: 1px solid rgba(52,72,60,.10); backdrop-filter: blur(14px); }
.header-inner { max-width: var(--container); min-height: 86px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-mark { color: var(--champagne); font-size: 28px; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 24px; letter-spacing: -.7px; color: var(--forest); }
.brand-name em { font-weight: 400; color: var(--sage-deep); }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.main-nav > a:not(.nav-cta) { transition: color .2s ease; }
.main-nav > a:not(.nav-cta):hover, .footer-links a:hover { color: var(--sage-deep); }
.nav-vendor-link { color: var(--sage-deep); }
.nav-cta { display: inline-flex; align-items: center; gap: 14px; background: var(--forest); color: white; padding: 15px 18px; transition: background .2s ease, transform .2s ease; }
.nav-cta:hover, .button-dark:hover { background: #4a604f; transform: translateY(-2px); }
.menu-toggle { display: none; }

.hero { min-height: 650px; height: min(78vh, 790px); position: relative; display: flex; align-items: center; overflow: hidden; background: #596451; color: white; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background-image: url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=2200&q=90"); background-position: center 55%; background-size: cover; transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(28,42,33,.76) 0%, rgba(28,42,33,.53) 45%, rgba(28,42,33,.10) 100%), linear-gradient(0deg, rgba(22,33,26,.22), transparent 40%); }
.hero-content { width: min(var(--container), 100%); margin: 0 auto; padding: 80px 32px 88px; position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--sage-deep); font-size: 10px; font-weight: 700; letter-spacing: .19em; line-height: 1.6; }
.eyebrow span { width: 24px; height: 1px; background: var(--champagne); display: inline-block; }
.eyebrow.light { color: rgba(255,255,255,.86); }
.hero h1 { max-width: 700px; margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 7.5vw, 100px); line-height: .99; letter-spacing: -3px; }
.hero h1 em, h2 em { font-weight: 400; }
.hero h1 em { color: #e5d4b4; }
.hero-copy { max-width: 450px; margin: 25px 0 30px; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.9; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 0 22px; border: 1px solid transparent; font-size: 11px; font-weight: 700; letter-spacing: .04em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button span { font-size: 17px; font-weight: 400; }
.button-light { background: var(--paper); color: var(--forest); }
.button-light:hover { background: var(--sage); transform: translateY(-2px); }
.button-dark { background: var(--forest); color: white; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 46px; font-family: var(--serif); font-size: 14px; font-style: italic; color: rgba(255,255,255,.82); }
.tiny-flower { color: #d5bd96; font-size: 18px; }
.hero-side-note { position: absolute; z-index: 1; right: 30px; bottom: 35px; color: rgba(255,255,255,.78); font-size: 9px; letter-spacing: .18em; writing-mode: vertical-rl; }

.section-wrap { max-width: var(--container); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.intro { padding-top: 112px; padding-bottom: 112px; }
.intro-label { display: flex; align-items: center; gap: 12px; color: var(--sage-deep); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.line { width: 28px; height: 1px; background: var(--champagne); }
.intro-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 70px; margin-top: 25px; }
h2 { margin: 0; color: var(--forest); font-family: var(--serif); font-size: clamp(39px, 5vw, 64px); font-weight: 400; line-height: 1.13; letter-spacing: -1.5px; }
h2 em { color: var(--sage-deep); }
.intro-text { max-width: 460px; padding-bottom: 7px; }
.intro-text p, .feature-copy > p:not(.eyebrow), .inspiration-copy > p:not(.eyebrow) { color: #696f67; font-size: 14px; line-height: 1.95; }
.text-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 14px; padding-bottom: 7px; border-bottom: 1px solid var(--champagne); color: var(--forest); font-size: 11px; font-weight: 700; }
.text-link span { font-size: 16px; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }

.categories { padding-top: 20px; padding-bottom: 115px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading .eyebrow { margin-bottom: 15px; }
.heading-side { margin: 0 0 6px; color: var(--muted); font-family: var(--serif); font-size: 15px; font-style: italic; line-height: 1.7; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-card { min-height: 285px; position: relative; display: block; overflow: hidden; background: #d5d8cc; color: white; isolation: isolate; }
.category-card.category-large { grid-row: span 2; min-height: 588px; }
.category-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(20,31,24,.79) 0%, rgba(20,31,24,.05) 70%); }
.category-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.category-card:hover img { transform: scale(1.055); }
.category-number { position: absolute; top: 19px; left: 20px; font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.88); }
.category-info { position: absolute; left: 23px; right: 55px; bottom: 24px; display: flex; flex-direction: column; gap: 7px; }
.category-info strong { font-family: var(--serif); font-size: 25px; font-weight: 400; }
.category-info small { color: rgba(255,255,255,.8); font-size: 10px; letter-spacing: .04em; }
.category-arrow { position: absolute; right: 20px; bottom: 25px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; transition: background .2s ease, color .2s ease; }
.category-card:hover .category-arrow { background: white; color: var(--forest); }
.category-footnote { margin: 25px 0 0; color: var(--muted); text-align: center; font-size: 11px; line-height: 1.7; }

.feature-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; background: var(--ivory); }
.feature-photo { min-height: 560px; position: relative; overflow: hidden; }
.feature-photo img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.photo-caption { position: absolute; left: 28px; bottom: 24px; color: white; font-size: 9px; letter-spacing: .17em; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.feature-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 80px clamp(40px, 7vw, 110px); overflow: hidden; }
.feature-copy .eyebrow { margin-bottom: 20px; }
.feature-copy > p:not(.eyebrow) { max-width: 420px; margin: 23px 0 25px; }
.feature-doodle { position: absolute; right: 40px; bottom: 24px; color: #d7d6c8; font-size: 95px; line-height: 1; }

.vendor-section { padding-top: 112px; padding-bottom: 105px; }
.vendor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vendor-card { background: var(--paper); border: 1px solid var(--line); }
.vendor-image { height: 245px; position: relative; overflow: hidden; background: var(--sage); }
.vendor-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vendor-card:hover .vendor-image img { transform: scale(1.04); }
.vendor-tag { position: absolute; left: 15px; bottom: 15px; padding: 8px 10px; background: rgba(255,253,249,.94); color: var(--forest); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.vendor-details { padding: 23px 22px 25px; }
.vendor-location { margin: 0 0 9px; color: var(--sage-deep); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.vendor-details h3 { margin: 0; color: var(--forest); font-family: var(--serif); font-size: 24px; font-weight: 400; }
.vendor-description { min-height: 48px; margin: 12px 0 7px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.vendor-details .text-link { margin-top: 9px; font-size: 10px; }
.demo-note { margin: 22px 0 0; color: #85877f; font-size: 10px; font-style: italic; text-align: center; }

.inspiration { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: 85px; padding-top: 25px; padding-bottom: 120px; }
.inspiration-copy { padding: 30px 0 30px 35px; }
.inspiration-copy > p:not(.eyebrow) { max-width: 400px; margin: 24px 0 17px; }
.inspiration-image { height: 480px; position: relative; }
.inspiration-image img { width: 100%; height: 100%; object-fit: cover; }
.inspiration-stamp { position: absolute; right: -22px; bottom: 35px; display: grid; place-items: center; width: 120px; height: 120px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; outline: 1px solid rgba(255,255,255,.65); outline-offset: -7px; background: var(--forest); color: white; font-family: var(--serif); font-size: 12px; line-height: 1.7; letter-spacing: .08em; text-align: center; }

.vendor-cta { position: relative; padding: 88px 24px 90px; overflow: hidden; background: var(--forest); color: white; text-align: center; }
.vendor-cta .eyebrow { justify-content: center; margin-bottom: 18px; }
.vendor-cta h2 { color: white; font-size: clamp(42px, 5vw, 64px); }
.vendor-cta h2 em { color: #dfc9a5; }
.vendor-cta > p:not(.eyebrow) { max-width: 570px; margin: 19px auto 26px; color: rgba(255,255,255,.77); font-size: 13px; line-height: 1.9; }
.vendor-cta .button { min-width: 175px; }
.vendor-cta small { display: block; margin-top: 17px; color: rgba(255,255,255,.55); font-size: 10px; }
.cta-flower { position: absolute; top: 20px; right: max(5vw, calc((100vw - 1200px)/2)); color: rgba(255,255,255,.09); font-size: 150px; }

.site-footer { background: #f0ede5; }
.footer-main { max-width: var(--container); margin: 0 auto; padding: 65px 32px 55px; display: grid; grid-template-columns: 1.6fr .75fr .8fr 1fr; gap: 50px; }
.brand-footer .brand-name { font-size: 22px; }
.footer-brand-block > p { max-width: 320px; margin: 18px 0 0; color: #73776f; font-size: 11px; line-height: 1.9; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-links h3 { margin: 3px 0 8px; color: var(--forest); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.footer-links a { color: #686e65; font-size: 11px; transition: color .2s ease; }
.footer-note { align-self: center; text-align: right; }
.footer-star { color: var(--champagne); font-size: 34px; }
.footer-note p { margin: 8px 0 0; color: var(--forest); font-family: var(--serif); font-size: 18px; font-style: italic; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding: 20px 32px; border-top: 1px solid #ded9ce; color: #82847d; font-size: 9px; }
.footer-bottom a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1500px) {
  .hero-content { padding-left: 0; padding-right: 0; }
}
@media (max-width: 980px) {
  .header-inner { min-height: 76px; padding: 0 24px; }
  .brand-name { font-size: 22px; }
  .main-nav { gap: 17px; font-size: 11px; }
  .nav-cta { padding: 13px 14px; gap: 8px; }
  .intro { padding-top: 85px; padding-bottom: 85px; }
  .intro-grid { gap: 40px; }
  .category-card { min-height: 250px; }
  .category-card.category-large { min-height: 518px; }
  .category-info strong { font-size: 22px; }
  .feature-copy { padding: 60px 42px; }
  .inspiration { gap: 45px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; gap: 35px; }
  .footer-note { display: none; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .header-inner { min-height: 72px; padding: 0 20px; }
  .brand-mark { font-size: 25px; }
  .brand-name { font-size: 21px; }
  .menu-toggle { display: flex; width: 42px; height: 42px; padding: 11px 8px; flex-direction: column; justify-content: center; gap: 5px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 100%; height: 1px; background: var(--forest); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: fixed; top: 72px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(35,48,38,.08); transform: translateY(-130%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .main-nav.is-open { transform: translateY(0); visibility: visible; }
  .main-nav > a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .main-nav .nav-cta { justify-content: space-between; margin-top: 14px; padding: 16px; border: 0; }
  .hero { height: auto; min-height: 650px; max-height: none; align-items: flex-end; }
  .hero-image { background-position: 59% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(28,42,33,.68), rgba(28,42,33,.28)), linear-gradient(0deg, rgba(22,33,26,.58), transparent 90%); }
  .hero-content { padding: 100px 24px 72px; }
  .hero h1 { font-size: clamp(53px, 13vw, 78px); letter-spacing: -2px; }
  .hero-copy { max-width: 360px; font-size: 14px; }
  .hero-note { margin-top: 31px; font-size: 12px; line-height: 1.6; }
  .hero-side-note { display: none; }
  .section-wrap { padding-left: 22px; padding-right: 22px; }
  .intro { padding-top: 70px; padding-bottom: 72px; }
  .intro-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
  h2 { font-size: clamp(40px, 10vw, 56px); }
  .intro-text p { margin-top: 0; }
  .categories { padding-top: 12px; padding-bottom: 75px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .heading-side { margin-top: 16px; font-size: 14px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-card, .category-card.category-large { grid-row: auto; min-height: 230px; }
  .category-card.category-large { grid-column: span 2; min-height: 330px; }
  .category-number { top: 13px; left: 13px; font-size: 9px; }
  .category-info { left: 13px; right: 38px; bottom: 15px; gap: 5px; }
  .category-info strong { font-size: clamp(17px, 4.5vw, 22px); }
  .category-info small { font-size: 9px; line-height: 1.5; }
  .category-arrow { right: 10px; bottom: 13px; width: 26px; height: 26px; font-size: 12px; }
  .category-footnote { text-align: left; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-photo, .feature-photo img { min-height: 340px; height: 340px; }
  .feature-copy { min-height: 390px; padding: 60px 25px; }
  .feature-doodle { right: 20px; bottom: 12px; font-size: 75px; }
  .vendor-section { padding-top: 75px; padding-bottom: 75px; }
  .vendor-grid { grid-template-columns: 1fr; gap: 18px; }
  .vendor-image { height: 260px; }
  .vendor-description { min-height: 0; }
  .inspiration { grid-template-columns: 1fr; gap: 28px; padding-top: 0; padding-bottom: 80px; }
  .inspiration-copy { padding: 0; }
  .inspiration-image { height: 360px; margin-right: 12px; }
  .inspiration-stamp { right: -12px; bottom: 22px; width: 100px; height: 100px; font-size: 10px; }
  .vendor-cta { padding: 70px 23px; }
  .vendor-cta h2 { font-size: 47px; }
  .cta-flower { top: 0; right: -15px; font-size: 105px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 22px; padding: 48px 22px 38px; }
  .footer-brand-block { grid-column: span 2; }
  .footer-brand-block > p { max-width: 360px; }
  .footer-bottom { flex-direction: column; gap: 9px; padding: 18px 22px; line-height: 1.6; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 19px; }
  .hero h1 { font-size: 50px; }
  .category-card, .category-card.category-large { min-height: 205px; }
  .category-card.category-large { min-height: 290px; }
  .category-info strong { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
