/* The Perch, Brentwood. Concept: the fold. A crêpe folded into a quarter circle is also the arc of a morning.
   Marble white, the teal of their cup, crêpe gold, awning chocolate. Erode + Plus Jakarta Sans. */
:root {
  --bg: #f4f1ec;
  --surface: #e9e3da;
  --marble: #faf8f5;
  --ink: #2b1a14;
  --muted: #7a6a60;
  --accent: #159a96;
  --accent2: #d9a55b;
  --choc: #3b2318;
  --light: #f4f1ec;
  --font-display: "Erode";
  --font-body: "Plus Jakarta Sans";
  --radius-fold: 100%;
}
html { scroll-padding-top: 90px; }
body { background: var(--bg); }
h1, h2, h3 { font-weight: 500; letter-spacing: -.02em; }
h2 { font-size: var(--step-4); line-height: .96; }
::selection { background: var(--accent2); color: var(--ink); }

.cursor { opacity: 0; transition: opacity .3s; }
.cursor.is-live { opacity: 1; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: var(--step--1); letter-spacing: .01em; border: 1.5px solid transparent; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out); cursor: pointer; }
.btn-ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-ink:hover { background: var(--accent); border-color: var(--accent); }
.btn-line { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.btn-line:hover { border-color: var(--ink); }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter); }
.site-header.is-solid { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand img { width: 118px; height: auto; filter: brightness(0); }
.site-nav { display: flex; gap: 26px; margin-left: 24px; }
.site-nav a { text-decoration: none; font-size: var(--step--1); font-weight: 500; color: var(--ink); opacity: .75; transition: opacity .3s; }
.site-nav a:hover { opacity: 1; }
.order { margin-left: auto; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: var(--step--1); transition: background .3s; }
.order:hover { background: var(--ink); }
@media (max-width: 899px) { .site-nav { display: none; } .order { display: none; } }

/* hero: the fold */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 0; padding: 120px 0 0; overflow: hidden; }
.hero-copy { position: relative; z-index: 3; padding: 0 var(--gutter) 11vh; max-width: 760px; }
.hero-kicker { font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 26px; }
.hero h1 { font-size: clamp(2.9rem, 1.2rem + 6.2vw, 7.4rem); line-height: .96; letter-spacing: -.025em; font-weight: 400; }
.hero h1 .split-mask { padding-bottom: .12em; margin-bottom: -.12em; }
.hero-sub { max-width: 520px; margin-top: 30px; font-size: var(--step-0); line-height: 1.65; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-photo { position: relative; margin: 0; align-self: end; justify-self: end; width: min(48vw, 84vh); aspect-ratio: 1; z-index: 2; }
.hero-photo-in { position: absolute; inset: 0; overflow: hidden; border-top-left-radius: var(--radius-fold); background: var(--surface);
  animation: fold 1.6s var(--ease-out) both .15s; box-shadow: -30px 0 80px -40px rgba(43, 26, 20, .35); }
.hero-photo-in .slides { background: var(--surface); }
.hero-photo-in img { object-fit: cover; }
@keyframes fold { from { border-top-left-radius: 0; transform: translate(10%, 10%); opacity: 0; } to { border-top-left-radius: var(--radius-fold); transform: none; opacity: 1; } }
.hero-cap { position: absolute; left: 0; bottom: 0; z-index: 4; padding: 12px 14px; font-size: var(--step--1); color: var(--muted); background: var(--bg); border-top-right-radius: 14px; }
.hero-cap span { color: var(--ink); font-weight: 600; }
.hero-scroll { position: absolute; left: var(--gutter); bottom: 32px; z-index: 3; width: 1px; height: 54px; overflow: hidden; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.hero-scroll span { position: absolute; inset: 0; background: var(--ink); animation: drip 2.2s var(--ease-out) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.motion-off .hero-photo-in { animation: none; }

/* about: four things, uneven */
.about { padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 120px); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.about-lead { font-size: clamp(2.4rem, 1rem + 4.6vw, 5.6rem); line-height: .98; position: sticky; top: 110px; }
.about-lead .split-mask { padding-bottom: .12em; margin-bottom: -.12em; }
.about-list { display: grid; gap: 0; }
.thing { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 30px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.thing:nth-child(2) { margin-left: 8%; }
.thing:nth-child(3) { margin-left: 2%; }
.thing:nth-child(4) { margin-left: 14%; }
.thing-no { font-family: var(--font-display); font-style: italic; color: var(--accent2); font-size: var(--step-1); line-height: 1; padding-top: 6px; }
.thing h3 { font-size: var(--step-2); margin-bottom: 10px; }
.thing p { grid-column: 2; color: var(--muted); max-width: 46ch; }

/* hours: the arc of a morning */
.hours { background: var(--choc); color: var(--light); padding: clamp(80px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.hours::before { content: ""; position: absolute; right: -20vw; bottom: -40vw; width: 70vw; height: 70vw; border-top-left-radius: 100%; background: color-mix(in srgb, var(--light) 3%, transparent); pointer-events: none; }
.hours-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: center; position: relative; }
.hours h2 { font-size: clamp(2.4rem, 1rem + 4.4vw, 5.4rem); }
.hours h2 .split-mask { padding-bottom: .12em; margin-bottom: -.12em; }
.hours-list { margin: 40px 0 0; display: grid; gap: 0; max-width: 520px; }
.hours-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-top: 1px solid color-mix(in srgb, var(--light) 18%, transparent); }
.hours-list dt { font-size: var(--step--1); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--light) 65%, transparent); }
.hours-list dd { margin: 0; font-family: var(--font-display); font-size: var(--step-2); }
.hours-status { margin-top: 26px; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--accent2); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent2); opacity: .5; }
.status-dot.is-open { background: #58d6b0; opacity: 1; box-shadow: 0 0 0 6px rgba(88, 214, 176, .18); }
.hours-note { margin-top: 20px; max-width: 48ch; color: color-mix(in srgb, var(--light) 60%, transparent); font-size: var(--step--1); line-height: 1.7; }
.arc { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; }
.arc-svg { width: 100%; height: 100%; overflow: visible; }
.arc-track { fill: none; stroke: color-mix(in srgb, var(--light) 22%, transparent); stroke-width: .5; }
.arc-done { fill: none; stroke: var(--accent2); stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-out); }
.arc-sun { fill: var(--accent2); }
.arc-bird { position: absolute; width: clamp(30px, 8%, 46px); height: auto; transform: translate(-50%, -100%); left: 5.36%; top: 94.6%; transition: left 1.6s var(--ease-out), top 1.6s var(--ease-out); filter: drop-shadow(0 6px 12px rgba(0,0,0,.4)); }
.arc-label { position: absolute; font-family: var(--font-display); font-size: var(--step-2); color: var(--light); line-height: 1; }
.arc-open { left: 0; bottom: -1.2em; }
.arc-close { right: -.3em; top: -2.2em; }

/* menu: one sheet */
.menu { padding: clamp(80px, 12vw, 160px) 0; background: var(--marble); }
.menu-head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.menu-head h2 { font-size: clamp(3.4rem, 1rem + 9vw, 10rem); line-height: .9; }
.menu-head h2 .split-mask { padding-bottom: .14em; margin-bottom: -.14em; }
.menu-head p { color: var(--muted); max-width: 46ch; justify-self: end; }
.menu-body { display: grid; grid-template-columns: 180px 1fr; gap: clamp(28px, 4vw, 70px); align-items: start; }
.menu-nav { position: sticky; top: 100px; display: grid; gap: 6px; }
.menu-nav a { text-decoration: none; font-size: var(--step--1); font-weight: 500; color: var(--muted); padding: 6px 0 6px 18px; position: relative; transition: color .3s; }
.menu-nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; transform: translateY(-50%) scale(.5); border-top-right-radius: 100%; background: var(--accent2); opacity: 0; transition: opacity .3s, transform .3s var(--ease-out); }
.menu-nav a.is-on { color: var(--ink); }
.menu-nav a.is-on::before { opacity: 1; transform: translateY(-50%) scale(1); }
.menu-cols { columns: 2; column-gap: clamp(32px, 4vw, 72px); }
.mgroup { break-inside: avoid; margin-bottom: clamp(36px, 4vw, 60px); }
.mgroup h3 { font-size: var(--step-2); display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.mgroup h3 i { width: 14px; height: 14px; border-top-right-radius: 100%; background: var(--accent); flex: none; align-self: center; }
.mgroup h3 small { margin-left: auto; font-family: var(--font-body); font-size: var(--step--1); color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.mgroup ul { list-style: none; margin: 0; padding: 0; }
.mgroup li { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px dotted color-mix(in srgb, var(--ink) 22%, transparent); }
.mgroup li > div { flex: 1; min-width: 0; }
.mgroup li b { display: block; font-weight: 600; font-size: var(--step-0); }
.mgroup li > div > span { display: block; color: var(--muted); font-size: var(--step--1); line-height: 1.5; margin-top: 2px; }
.mgroup li em .sep { margin: 0 .25em; color: var(--muted); }
.mgroup li em { font-style: normal; font-family: var(--font-display); font-size: var(--step-1); white-space: nowrap; color: var(--ink); }
.mgroup mark { background: color-mix(in srgb, var(--accent2) 30%, transparent); color: var(--ink); padding: 1px 7px; border-radius: 999px; font-size: .78em; font-weight: 600; letter-spacing: .04em; margin-left: 4px; }
.menu-foot { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding-top: 30px; border-top: 1.5px solid var(--ink); }
.menu-foot p { color: var(--muted); max-width: 60ch; }

/* catering */
.catering { padding: clamp(80px, 12vw, 160px) 0; background: var(--surface); position: relative; overflow: hidden; }
.catering::after { content: ""; position: absolute; left: -12vw; top: -12vw; width: 36vw; height: 36vw; border-bottom-right-radius: 100%; background: color-mix(in srgb, var(--accent2) 22%, transparent); pointer-events: none; }
.catering-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.catering h2 { font-size: clamp(2.4rem, 1rem + 4.6vw, 5.6rem); }
.catering h2 .split-mask { padding-bottom: .12em; margin-bottom: -.12em; }
.catering-copy p { margin-top: 28px; max-width: 48ch; color: var(--muted); }
.catering-direct { color: var(--ink) !important; font-weight: 500; }
.catering-form { display: grid; gap: 16px; background: var(--marble); padding: clamp(24px, 3vw, 40px); border-top-right-radius: 64px; }
.catering-form label { display: grid; gap: 6px; font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.catering-form input, .catering-form textarea { width: 100%; padding: 13px 14px; border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 400; transition: border-color .3s; }
.catering-form input:focus, .catering-form textarea:focus { outline: none; border-color: var(--accent); }
.catering-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.catering-form button { justify-self: start; margin-top: 6px; }
.form-note { font-size: var(--step--1); color: var(--muted); }

/* find us */
.find { padding: clamp(80px, 12vw, 160px) 0; }
.find-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.find-photo { margin: 0; aspect-ratio: 4/3; overflow: hidden; border-top-right-radius: 100%; }
.find-photo img { width: 100%; height: 100%; object-fit: cover; }
.find h2 { font-size: clamp(2.4rem, 1rem + 4.4vw, 5.2rem); }
.find h2 .split-mask { padding-bottom: .12em; margin-bottom: -.12em; }
address { font-style: normal; margin-top: 30px; display: grid; gap: 14px; }
.find-addr { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; }
address a { text-decoration: none; color: var(--ink); border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); }
.find-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.find-small { margin-top: 24px; color: var(--muted); font-size: var(--step--1); }

/* footer */
.site-footer { background: var(--choc); color: var(--light); padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 40px; align-items: start; }
.foot-logo { width: 150px; height: auto; }
.foot-col p { color: color-mix(in srgb, var(--light) 72%, transparent); font-size: var(--step--1); line-height: 1.8; }
.foot-col a { color: var(--light); text-decoration: none; }
.foot-links { display: grid; gap: 6px; }
.foot-links a { color: var(--light); text-decoration: none; font-size: var(--step--1); font-weight: 600; }
.foot-links a:hover { color: var(--accent2); }
.foot-fine { margin-top: 50px; font-size: var(--step--1); color: color-mix(in srgb, var(--light) 45%, transparent); }

/* sticky call bar (phones) */
.callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; gap: 8px; }
.callbar a { flex: 1; text-align: center; padding: 15px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; font-size: var(--step--1); }
.callbar a:last-child { background: var(--accent); color: #fff; flex: 1.4; }

/* phones + small tablets */
@media (max-width: 899px) {
  html { scroll-padding-top: 76px; }
  .hero { grid-template-columns: 1fr; align-items: start; padding-top: 86px; min-height: auto; }
  .hero-photo { order: -1; width: min(84vw, 440px); justify-self: end; margin-right: calc(-1 * var(--gutter) * .5); }
  .hero-copy { padding: 34px var(--gutter) 70px; }
  .hero h1 { font-size: clamp(2.5rem, 1rem + 9vw, 4.4rem); }
  .hero-sub { margin-top: 22px; }
  .hero-scroll { display: none; }
  .about-grid, .hours-grid, .catering-grid, .find-grid, .menu-head, .menu-body { grid-template-columns: 1fr; }
  .about-lead { position: static; }
  .thing:nth-child(n) { margin-left: 0; }
  .thing { grid-template-columns: 44px 1fr; }
  .arc { width: min(100%, 360px); margin-top: 60px; margin-bottom: 40px; justify-self: start; }
  .menu-head p { justify-self: start; }
  .menu-nav { position: sticky; top: 60px; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter); background: color-mix(in srgb, var(--marble) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); scrollbar-width: none; }
  .menu-nav::-webkit-scrollbar { display: none; }
  .menu-nav a { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
  .menu-nav a::before { display: none; }
  .menu-nav a.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .menu-cols { columns: 1; }
  .hours-list dd { white-space: nowrap; font-size: var(--step-1); }
  .hours-list dt { font-size: .72rem; }
  .mgroup li em { font-size: var(--step-0); text-align: right; line-height: 1.35; }
  .mgroup li em .sep { display: block; font-size: 0; height: 0; margin: 0; }
  .menu-foot { grid-template-columns: 1fr; }
  .catering-form .row { grid-template-columns: 1fr; }
  .find-photo { order: 2; aspect-ratio: 4/3; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding-bottom: 96px; }
  .callbar { display: flex; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .menu-cols { columns: 1; }
}
