/* Kinnera Caterers · "The Leaf Plan" (Tez Labs concept). Tokens mirror the brand kit's tokens/tokens.css. */
:root {
  --ink: #163A27;        /* leaf ink: text, footer */
  --leaf: #2B6A3E;       /* leaf green: buttons (white 6.5:1) */
  --leaf-hi: #3E7F4F;
  --tender: #E6EEDB;     /* tender leaf: section fill */
  --tender-2: #D3E2C2;
  --rice: #FBF8F1;       /* rice white: page */
  --white: #FFFFFF;
  --tur: #E7A928;        /* turmeric: dots and fills, never text on light */
  --tur-soft: #F7E3B0;
  --tur-ink: #7A5200;    /* turmeric text on light (6.5:1 on rice) */
  --chilli: #A4352A;     /* SAMPLE tags and errors */
  --steel: #D9DCD3;      /* steel-plate grey: borders */
  --slate: #4B5A50;      /* secondary text */
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Helvetica Neue", Arial, sans-serif;
  --te: "Ramabhadra", "Noto Sans Telugu", sans-serif;
  --r-sm: 12px; --r-md: 18px; --r-lg: 28px;
  --shadow: 0 1px 2px rgba(22, 58, 39, .06), 0 12px 32px -12px rgba(22, 58, 39, .22);
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--rice); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1.25em; height: 1.25em; flex: none; }
a { color: var(--leaf); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 1.35rem + 2.5vw, 3.35rem); }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--tur); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; }
.skip:focus { top: 12px; color: #fff; }

/* concept strip */
.concept-strip { margin: 0; background: var(--ink); color: #E8F0E0; font-size: .875rem; text-align: center; padding: 8px var(--gut); }
.concept-strip a { color: var(--tur-soft); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--steel); }
.top__in { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; }
.brand__te { font-family: var(--te); font-size: .95rem; color: var(--leaf); margin-top: 2px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--tender); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--steel); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.pill--solid { background: var(--leaf); color: #fff; }
.pill--solid:hover { background: var(--ink); color: #fff; }
.pill--line { border-color: var(--leaf); color: var(--leaf); background: transparent; }
.pill--line:hover { background: var(--leaf); color: #fff; }
.pill--big { min-height: 56px; padding: 14px 32px; font-size: 1.05rem; }
.top__call { padding: 10px 18px; min-height: 44px; font-size: .95rem; }
.top__call svg { width: 18px; height: 18px; }

/* spread (hero) */
.spread { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; max-width: 1440px; margin: 0 auto; padding: clamp(20px, 3vw, 40px) var(--gut) clamp(32px, 4vw, 56px) 0; }
.spread__photo { margin: 0; }
.spread__photo img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; object-position: 50% 55%; border-radius: 0 var(--r-lg) var(--r-lg) 0; box-shadow: var(--shadow); }
.spread__photo figcaption, .pic figcaption { font-size: .8125rem; color: var(--slate); margin-top: 10px; padding-left: var(--gut); }
.spread__copy { max-width: 34rem; }
.lede { font-size: 1.15rem; color: var(--slate); max-width: 32rem; }
.spread__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.facts { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--steel); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; font-size: .95rem; }
.facts li { display: flex; gap: 10px; align-items: flex-start; }
.facts svg { color: var(--leaf); margin-top: 2px; }
.facts strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }

/* steps */
.steps { list-style: none; margin: 0 auto; padding: 0 var(--gut); max-width: var(--wrap); display: flex; gap: 8px; position: relative; z-index: 2; margin-bottom: -26px; }
.steps a { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--steel); border-radius: 999px; padding: 8px 18px 8px 8px; min-height: 48px; text-decoration: none; color: var(--ink); font-weight: 500; box-shadow: var(--shadow); }
.steps__n { width: 32px; height: 32px; border-radius: 50%; background: var(--tur); color: var(--ink); display: inline-grid; place-items: center; font-family: var(--serif); }
.steps a:hover { border-color: var(--leaf); }

/* bands */
.band { background: var(--tender); padding: clamp(64px, 8vw, 112px) 0 clamp(48px, 7vw, 96px); }
.band--leaf { background: var(--white); border-top: 1px solid var(--steel); }
.kicker { font-weight: 700; color: var(--tur-ink); margin: 0 0 .5rem; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tur); }
.note, .src { color: var(--slate); font-size: .9rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--chilli); border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; margin-right: 6px; letter-spacing: .02em; }
.sample-note { font-size: .85rem; color: var(--slate); margin: 14px 0 0; }

/* occasion */
.occasion__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tiles { border: 0; padding: 0; margin: 24px 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile__box { display: flex; flex-direction: column; gap: 14px; min-height: 120px; padding: 18px 16px; background: var(--white); border: 1.5px solid var(--steel); border-radius: var(--r-md); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; position: relative; }
.tile__box svg { width: 34px; height: 34px; color: var(--leaf); }
.tile__name { font-weight: 700; line-height: 1.25; }
.tile:hover .tile__box { border-color: var(--leaf-hi); }
.tile input:checked + .tile__box { border-color: var(--leaf); box-shadow: 0 0 0 2px var(--leaf) inset, var(--shadow); }
.tile input:checked + .tile__box::after { content: ""; position: absolute; top: 14px; right: 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--tur); box-shadow: 0 0 0 3px var(--tur-soft); }
.tile input:focus-visible + .tile__box { outline: 3px solid var(--tur); outline-offset: 3px; }
.asks { background: var(--rice); border-radius: var(--r-md); padding: 22px 24px; margin-bottom: 28px; border-left: 4px solid var(--tur); }
.asks__head { font-weight: 500; margin-bottom: .6em; }
.asks ul { margin: 0; padding-left: 1.2em; }
.asks li { margin: 4px 0; }
.asks li::marker { color: var(--leaf); }
.occasion__pics { position: relative; padding-bottom: 72px; }
.pic { margin: 0; }
.pic img { border-radius: var(--r-md); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.pic figcaption { padding-left: 0; }
.pic--tall img { aspect-ratio: 4 / 5; }
.pic--tall figcaption { text-align: right; padding-left: 46%; }
.pic--inset { position: absolute; width: 52%; left: -12%; bottom: 0; }
.pic--inset img { aspect-ratio: 4 / 3; border: 6px solid var(--white); }
.pic--square img { aspect-ratio: 1; }

/* menu / leaf */
.menu { padding: clamp(64px, 8vw, 112px) 0; }
.menu__head { max-width: 46rem; }
.menu__intro { color: var(--slate); font-size: 1.08rem; }
.leafbox { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin: 36px 0 clamp(56px, 7vw, 96px); }
.leaf { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 18px 24px rgba(22, 58, 39, .18)); }
.leaf__body { fill: #3D7C37; }
.leaf__veins path { stroke: #5A9550; stroke-width: 1.4; fill: none; }
.leaf__rib { stroke: #A9CC8C; stroke-width: 5; fill: none; stroke-linecap: round; }
.leaf__dot { fill: var(--tur); }
.spot { cursor: pointer; }
.spot circle { fill: rgba(22, 58, 39, .2); stroke: rgba(251, 248, 241, .75); stroke-width: 2; stroke-dasharray: 5 6; transition: fill .2s ease, stroke .2s ease; }
.spot text { font: 700 15px var(--sans); fill: #fff; text-anchor: middle; pointer-events: none; }
.spot.is-on circle { fill: var(--rice); stroke: var(--tur); stroke-width: 4; stroke-dasharray: none; }
.spot.is-on text { fill: var(--ink); }
.spot:hover circle { stroke: #fff; }
.picks fieldset { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.picks legend { font-weight: 700; margin-bottom: 10px; padding: 0; width: 100%; display: flex; justify-content: space-between; align-items: baseline; }
.count { font-weight: 400; font-size: .9rem; color: var(--slate); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--steel); border-radius: 999px; background: var(--white); font-weight: 500; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.chip:hover span { border-color: var(--leaf-hi); }
.chip input:checked + span { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.chip input:checked + span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tur); }
.chip input:focus-visible + span { outline: 3px solid var(--tur); outline-offset: 2px; }
.mentions { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.topics { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics li { background: var(--tender); border-radius: 999px; padding: 8px 14px; font-weight: 500; }
.topics b { font-family: var(--serif); font-weight: 400; color: var(--leaf); margin-left: 4px; }

/* quote */
.quote__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.slip { position: sticky; top: 100px; background: var(--rice); border: 1.5px solid var(--steel); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); background-image: radial-gradient(circle at 28px 28px, var(--tur) 7px, transparent 8px); }
.slip h3 { padding-left: 34px; }
.slip dl { margin: 18px 0; }
.slip dl div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--steel); }
.slip dt { color: var(--slate); }
.slip dd { margin: 0; font-weight: 700; }
.slip__edit { font-size: .95rem; }
.slip__edit a { display: inline-block; padding: 10px 0; }
.slip__note { font-size: .9rem; color: var(--slate); margin: 0; }
.quote__intro { color: var(--slate); max-width: 36rem; }
form { margin-top: 24px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input[type=text], .field input[type=tel], .field input[type=date], .field input[type=number] { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #9AA59C; border-radius: var(--r-sm); background: var(--white); font: inherit; color: var(--ink); }
.field input:focus-visible { outline: 3px solid var(--tur); outline-offset: 1px; border-color: var(--leaf); }
.field input[aria-invalid=true] { border-color: var(--chilli); }
.hint { font-size: .875rem; color: var(--slate); margin: 6px 0 0; }
.err { color: var(--chilli); font-size: .9rem; font-weight: 700; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.field--check { display: grid; grid-template-columns: 28px 1fr; gap: 6px 10px; align-items: start; }
.field--check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--leaf); }
.field--check label { font-weight: 500; margin: 0; min-height: 28px; }
.field--check .err { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.status { margin: 18px 0 0; }
.status:empty { display: none; }
.status.is-ok { background: var(--tender); border-radius: var(--r-sm); padding: 16px 18px; }
.status pre { white-space: pre-wrap; word-break: break-word; font: .85rem/1.5 ui-monospace, Menlo, monospace; margin: 10px 0 0; background: var(--white); padding: 10px; border-radius: 8px; }
.privacy { font-size: .875rem; color: var(--slate); margin-top: 14px; }

/* kitchen */
.kitchen { padding: clamp(64px, 8vw, 112px) 0; background: var(--rice); }
.kitchen__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pic--arch img { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--r-md) var(--r-md); }
.addr { font-style: normal; font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.35; margin: 18px 0 8px; }
.addr__near { color: var(--slate); }
.kitchen__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 28px; }
.info { margin: 0 0 18px; display: grid; gap: 0; }
.info div { display: grid; grid-template-columns: 8rem 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--steel); }
.info dt { display: flex; gap: 8px; align-items: center; color: var(--slate); }
.info dt svg { color: var(--leaf); }
.info dd { margin: 0; font-weight: 500; }
.info dd a { display: inline-block; padding: 8px 0; margin: -8px 0; }
.today { display: block; font-weight: 700; color: var(--leaf); }
.today.is-closed { color: var(--tur-ink); }

/* notes */
.notes { background: var(--tender); padding: clamp(56px, 7vw, 96px) 0; }
.notes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 24px; }
.notes__grid > div { background: var(--rice); border-radius: var(--r-md); padding: 24px; }
.notes ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }
.notes li { margin: 6px 0; }

/* footer */
.foot { background: var(--ink); color: #E8F0E0; padding: 56px 0 120px; font-size: .95rem; }
.foot a { color: var(--tur-soft); display: inline-block; padding: 10px 0; }
.foot a:hover { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr; gap: 32px; align-items: start; }
.foot__mark { width: 280px; height: auto; }
.foot__small { font-size: .85rem; color: #C9D8C2; margin-top: 10px; }

/* phone dock */
.dock { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--rice); border-bottom: 1px solid var(--steel); padding: 8px var(--gut) 16px; display: none; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.1rem; }
  .menu-btn { display: inline-flex; }
  .nav { margin-left: 0; }
  .top__call { margin-left: auto; }
  .menu-btn { margin-left: 0; }
}
@media (max-width: 999px) {
  .spread { grid-template-columns: 1fr; padding: 0 0 40px; }
  .spread__photo img { border-radius: 0 0 var(--r-lg) var(--r-lg); aspect-ratio: 16 / 11; }
  .spread__copy { padding: 0 var(--gut); max-width: 40rem; }
  .occasion__grid, .leafbox, .mentions, .quote__grid, .kitchen__grid { grid-template-columns: 1fr; }
  .occasion__pics { max-width: 520px; margin-left: auto; }
  .pic--inset { left: -8%; }
  .slip { position: static; }
  .notes__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .pic--arch { max-width: 460px; }
}
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .top__call { display: none; }
  .menu-btn { margin-left: auto; }
  .brand__name { font-size: 1.15rem; }
  .facts { grid-template-columns: 1fr; }
  .steps { gap: 6px; flex-wrap: wrap; margin-bottom: -22px; }
  .steps a { padding: 6px 12px 6px 6px; font-size: .9rem; min-height: 44px; }
  .steps__n { width: 30px; height: 30px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile__box { min-height: 112px; }
  .row2 { grid-template-columns: 1fr; }
  .spot text { display: none; }
  .occasion__pics { padding-bottom: 0; }
  .pic--tall figcaption { text-align: left; padding-left: 0; }
  .pic--inset { position: static; width: 78%; margin: 20px 0 0 auto; }
  .addr br { display: none; }
  .slip { padding: 22px; }
  .slip dl div { grid-template-columns: 5.5rem 1fr; }
  .info div { grid-template-columns: 1fr; gap: 4px; }
  .dock { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(251, 248, 241, .97); border-top: 1px solid var(--steel); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--leaf); color: var(--leaf); }
  .dock .dock__main { background: var(--leaf); color: #fff; }
}
@media (max-width: 360px) {
  .tiles { grid-template-columns: 1fr; }
  .brand__te { font-size: .85rem; }
}
