/* ==========================================================================
   Dessert First — Tuscola, Illinois
   Classy · Elegant · Timeless
   Palette: powder blue & white with deep slate-blue ink and a whisper of gold
   ========================================================================== */

:root {
  /* Brand colors — matched exactly to the Dessert First logo files:
     blue1 #A8C3D8 (light), blue2 #7B9FB4 (slate). Tints derived from blue1. */
  --ice:        #F5F9FB;   /* near-white blue, section backgrounds */
  --powder:     #E4EDF4;   /* soft powder blue (tint of blue1) */
  --mist:       #CBDBE7;   /* card borders, dividers (tint of blue1) */
  --blue-mid:   #A8C3D8;   /* logo blue1 — exact */
  --blue-deep:  #7B9FB4;   /* logo blue2 — exact; large accents & hovers */
  --blue-text:  #5A8096;   /* blue2 darkened for small text & links */
  --ink:        #29414E;   /* deep shade of blue2 for body text */
  --ink-soft:   #54707E;   /* secondary text */
  --white:      #FFFFFF;
  --cream:      #FDFCF9;
  --gold:       #C2A878;   /* used sparingly: rules, small accents */

  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Jost", "Helvetica Neue", "Arial", sans-serif;

  --maxw: 1120px;
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-text); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.2; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--blue-text);
  margin-bottom: 18px;
}

.script-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--blue-deep);
}

.section-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }

.section-intro { max-width: 620px; color: var(--ink-soft); }

.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* Thin gold rule used as an ornament under titles */
.rule {
  width: 56px; height: 1px; background: var(--gold);
  border: 0; margin: 26px auto;
}
.rule.left { margin-left: 0; }

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--ink);
  color: var(--powder);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.announce a { color: var(--white); border-bottom: 1px solid var(--blue-mid); }
.announce .announce-special { color: var(--gold); font-weight: 600; white-space: nowrap; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--powder);
}

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--maxw); margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }

/* Real logo files */
.brand-mark-img { height: 54px; width: auto; }
.hero-h1 { line-height: 0; margin-bottom: 30px; }
.hero-h1 img { width: min(380px, 72vw); margin: 0 auto; }
.footer-logo { width: 230px; margin-bottom: 18px; }
.footer-phrase { width: 215px; opacity: .9; }

.brand-mark {
  width: 46px; height: 46px; flex: 0 0 46px;
  border: 1px solid var(--blue-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px; font-style: italic; color: var(--blue-deep);
  background: var(--ice);
}
.brand-mark img { border-radius: 50%; }

.brand-name {
  font-family: var(--font-display);
  font-size: 24px; letter-spacing: .02em;
}
.brand-loc {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--gold); }

.nav-cta {
  border: 1px solid var(--ink);
  padding: 10px 22px !important;
}
.nav-cta:hover { background: var(--ink); color: var(--white) !important; border-bottom-color: var(--ink) !important; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: .3s; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 15px 36px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.btn:hover { background: var(--ink); color: var(--white); }

.btn.solid { background: var(--ink); color: var(--white); }
.btn.solid:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

.btn.light { border-color: var(--white); color: var(--white); }
.btn.light:hover { background: var(--white); color: var(--ink); }

.btn.small { padding: 11px 24px; font-size: 11.5px; }

.btn[disabled], .btn.unavailable {
  border-color: var(--mist); color: var(--ink-soft);
  cursor: default; pointer-events: none;
}

/* ---------- Hero ---------- */

.hero {
  background:
    linear-gradient(rgba(36,58,71,.22), rgba(36,58,71,.34)),
    var(--hero-img, linear-gradient(160deg, var(--mist) 0%, var(--blue-mid) 60%, var(--blue-deep) 100%));
  background-size: cover; background-position: center;
  color: var(--white);
  text-align: center;
  padding: 140px 24px 150px;
}

.hero .eyebrow { color: var(--powder); }

.hero h1 {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 500;
  margin-bottom: 8px;
  text-shadow: 0 1px 14px rgba(36,58,71,.25);
}

.hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 26px);
  color: var(--powder);
  margin-bottom: 42px;
}

.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- Info strip (hours / location) ---------- */

.info-strip {
  background: var(--ice);
  border-bottom: 1px solid var(--powder);
}
.info-strip .container {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0 70px; padding: 26px 24px;
  text-align: center;
}
.info-item { font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.info-item strong { display: block; font-weight: 400; color: var(--ink); letter-spacing: .18em; }

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section.tint { background: var(--ice); }
.section.deep { background: var(--ink); color: var(--powder); }
.section.deep .section-title { color: var(--white); }

/* ---------- Online ordering status notice ---------- */

.order-status {
  max-width: 620px;
  margin: 34px auto 0;
  background: var(--ice);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 16px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.order-status strong { color: var(--ink); font-weight: 500; }

/* ---------- Product grid ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 34px;
  margin-top: 56px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--powder);
  display: flex; flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease;
}
.product-card:hover {
  box-shadow: 0 14px 40px rgba(95,140,163,.16);
  transform: translateY(-3px);
}

.product-photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, var(--powder), var(--mist));
  position: relative;
  overflow: hidden;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Elegant placeholder shown until real photos are added */
.product-photo .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
}
.product-photo .placeholder .ph-initial {
  font-family: var(--font-display); font-style: italic;
  font-size: 56px; color: var(--white);
}
.product-photo .placeholder .ph-icon {
  width: 108px; height: 108px;
  color: var(--blue-deep);
  transition: transform .4s ease;
}
.product-card:hover .ph-icon { transform: scale(1.05); }

.product-photo .placeholder .ph-label {
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--blue-text);
}

.badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--white); color: var(--ink);
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--mist);
}
.badge.sold { background: var(--ink); color: var(--white); border-color: var(--ink); }

.product-body { padding: 26px 26px 30px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: 21px; margin-bottom: 6px; }
.product-desc { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 16px; flex: 1; }
.product-price {
  font-family: var(--font-display);
  font-size: 19px; color: var(--blue-text);
  margin-bottom: 20px;
}

/* ---------- Full menu price list ---------- */

.menu-board {
  columns: 2;
  column-gap: 70px;
  margin-top: 56px;
  text-align: left;
}

.menu-section {
  break-inside: avoid;
  margin-bottom: 48px;
}

.menu-section-title {
  font-size: 24px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--mist);
}

.menu-section-note {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-text);
  margin: 10px 0 4px;
}

.menu-row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0;
}
.menu-row.sold-out { opacity: .45; }
.menu-row.sold-out .menu-price { font-style: italic; }

.menu-name { font-size: 16.5px; }

.menu-note {
  display: block;
  font-size: 13px; color: var(--ink-soft);
}

.menu-dots {
  flex: 1;
  border-bottom: 1px dotted var(--mist);
  transform: translateY(-4px);
}

.menu-price {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--blue-text);
  white-space: nowrap;
}

.menu-chips {
  display: flex; flex-wrap: wrap; gap: 9px;
  padding: 14px 0 4px;
}
.chip {
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--mist);
  background: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.chip small { color: var(--ink-soft); font-size: 11.5px; }
.chip.sold-out {
  text-decoration: line-through;
  opacity: .42;
}

.menu-order {
  display: inline-block;
  margin-left: 10px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-text);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

/* Whole menu row tappable when ordering is open */
a.menu-row { text-decoration: none; color: inherit; }
.menu-row.orderable {
  cursor: pointer;
  border-radius: 7px;
  padding-left: 10px; padding-right: 10px;
  margin-left: -10px; margin-right: -10px;
  transition: background .15s ease;
}
.menu-row.orderable:hover { background: var(--cream); }
.menu-row.orderable:hover .menu-name { color: var(--blue-deep); }

.menu-hint {
  text-align: center;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-text);
  margin: 0 0 20px;
}

@media (max-width: 820px) {
  .menu-board { columns: 1; }
}

/* ---------- Split sections (story teaser, custom cakes teaser) ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.split-photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--powder), var(--blue-mid));
  border: 1px solid var(--mist);
  position: relative;
  overflow: hidden;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-photo .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic;
  font-size: 26px; color: var(--white); text-align: center; padding: 30px;
}

/* Framed offset border, a timeless touch */
.framed { position: relative; }
.framed::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(255,255,255,.55);
  pointer-events: none;
}

.split-body .btn { margin-top: 34px; }
.split-body p + p { margin-top: 18px; }
.split-body p { color: var(--ink-soft); }

/* ---------- Quote band ---------- */

.quote-band {
  text-align: center;
  padding: 110px 24px;
  background: var(--powder);
}
.quote-band blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(26px, 3.6vw, 40px);
  color: var(--ink);
  max-width: 740px; margin: 0 auto;
}
.quote-band cite {
  display: block;
  font-family: var(--font-body); font-style: normal;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--blue-text); margin-top: 26px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--mist);
  padding: 80px 0 36px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(199,221,232,.18);
}
.footer-brand .brand-name { color: var(--white); font-size: 26px; }
.footer-brand .tagline {
  font-family: var(--font-display); font-style: italic;
  color: var(--blue-mid); margin-top: 10px;
}
.footer-head {
  font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--white); margin-bottom: 20px; font-weight: 400;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--mist); }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 32px;
  font-size: 12.5px; letter-spacing: .08em; color: var(--blue-mid);
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
  background: linear-gradient(160deg, var(--ice), var(--powder));
  text-align: center;
  padding: 90px 24px;
  border-bottom: 1px solid var(--powder);
}
.page-header h1 { font-size: clamp(36px, 5vw, 56px); }

/* ---------- Story page ---------- */

.prose { max-width: 700px; margin: 0 auto; }
.prose p { margin-bottom: 22px; color: var(--ink-soft); }
.prose p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 64px; float: left; line-height: .85;
  padding-right: 12px; color: var(--blue-deep);
}
.prose h2 { margin: 44px 0 18px; font-size: 28px; }

.milestones { margin: 70px auto 0; max-width: 700px; }
.milestone {
  display: grid; grid-template-columns: 110px 1fr; gap: 28px;
  padding: 26px 0; border-top: 1px solid var(--powder);
}
.milestone:last-child { border-bottom: 1px solid var(--powder); }
.milestone .year { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--blue-deep); }
.milestone p { color: var(--ink-soft); font-size: 15.5px; }
.milestone h3 { font-size: 19px; margin-bottom: 4px; }

/* ---------- Custom cakes / gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px; margin-top: 50px;
}
.gallery .tile {
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, var(--powder), var(--mist));
  border: 1px solid var(--mist);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.gallery .tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tile span {
  font-family: var(--font-display); font-style: italic;
  color: var(--white); font-size: 19px; text-align: center; padding: 16px;
}

/* ---------- Forms ---------- */

.form-card {
  max-width: 720px; margin: 60px auto 0;
  background: var(--white);
  border: 1px solid var(--powder);
  padding: 54px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 16px; font-weight: 300;
  color: var(--ink);
  border: 1px solid var(--mist);
  background: var(--cream);
  padding: 13px 15px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color .25s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue-deep);
}
.form-card .btn { margin-top: 30px; width: 100%; }
.form-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 18px; text-align: center; }

/* ---------- Visit page ---------- */

.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table td {
  padding: 13px 4px;
  border-bottom: 1px solid var(--powder);
  font-size: 15.5px;
}
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }
.hours-table tr.closed td { color: var(--blue-mid); }
.hours-table tr.closed td:last-child { font-style: italic; }

.visit-block { margin-bottom: 42px; }
.visit-block h3 { font-size: 22px; margin-bottom: 12px; }
.visit-block p { color: var(--ink-soft); }

.map-frame {
  border: 1px solid var(--mist);
  width: 100%; height: 480px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid var(--powder); }
.faq-item:first-child { border-top: 1px solid var(--powder); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: 20px; color: var(--ink);
  text-align: left;
  padding: 26px 4px;
}
.faq-q .indicator {
  font-family: var(--font-body); font-weight: 300; font-size: 24px;
  color: var(--blue-deep);
  transition: transform .3s;
  flex: 0 0 auto;
}
.faq-item.open .indicator { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
}
.faq-a p { color: var(--ink-soft); padding: 0 40px 28px 4px; }

/* ---------- Instagram band ---------- */

.insta-band { text-align: center; }
.insta-band .handle {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
}

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0; }
.notice {
  background: var(--ice); border: 1px solid var(--powder);
  font-size: 14px; color: var(--ink-soft);
  padding: 14px 20px; margin-top: 30px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split, .visit-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 70px 0; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 0; left: 0; right: 0;
    height: 100vh; height: 100dvh;
    flex-direction: column; justify-content: center;
    gap: 8px;
    background: var(--white);
    padding: 96px 24px 40px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 55;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 16px; font-size: 15px; }
  .nav-toggle { display: flex; position: relative; z-index: 60; }
  .hero { padding: 100px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .milestone { grid-template-columns: 1fr; gap: 6px; }
}
