/* REMfood.com — Chef Robert Moore
   Palette and type from the December 2026 redevelopment plan. */

:root {
  --ivory: #F5F2EB;
  --ivory-deep: #ECE7DC;
  --charcoal: #242424;
  --bronze: #94774E;
  --bronze-dark: #7A6140;
  --taupe: #A69B8B;
  --rule: rgba(36, 36, 36, 0.14);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --display: clamp(40px, 6.2vw, 78px);
  --narrow: 720px;
  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--bronze); text-underline-offset: 3px; }
a:hover { color: var(--bronze-dark); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.005em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 400; }
h2 { font-size: clamp(32px, 4.2vw, 50px); }
h3 { font-size: clamp(24px, 2.6vw, 30px); }
p { margin: 0 0 1.2em; }
strong { font-weight: 700; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--charcoal); color: var(--ivory); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 18px;
}
.lede { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 27px); line-height: 1.5; font-style: italic; color: #3a3a3a; }
.rule { width: 56px; height: 1px; background: var(--bronze); border: 0; margin: 28px 0; }
.center .rule, .rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 235, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.wordmark { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.wordmark-name { font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: 0.04em; }
.wordmark-sub { font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--taupe); margin-top: 6px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.4vw, 34px); }
.site-nav a {
  text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--bronze-dark); border-bottom-color: var(--bronze); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--charcoal); }
.nav-toggle span { display: block; width: 24px; height: 1px; background: currentColor; margin: 6px 0; transition: transform .25s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 78px; left: 0; right: 0; background: var(--ivory);
    border-bottom: 1px solid var(--rule); display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.tight { padding: clamp(40px, 6vw, 80px) 0; }
.section.alt { background: var(--ivory-deep); }
.section.dark { background: var(--charcoal); color: var(--ivory); }
.section.dark .eyebrow { color: var(--taupe); }
.section h2 { font-size: var(--display); line-height: 1.04; font-weight: 400; }
.section.center h2 { font-size: clamp(32px, 4.4vw, 52px); }
.center .rule { margin-left: auto; margin-right: auto; }

.page-intro { padding: clamp(72px, 10vw, 128px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--rule); }
.page-intro h1 { font-size: clamp(34px, 8vw, 104px); line-height: 1; margin-bottom: .3em; }
.page-intro .lede { margin-bottom: .6em; max-width: 720px; }
.intro-text { max-width: 640px; }
.lockup { width: min(300px, 70%); margin-bottom: 36px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-block; max-width: 100%; text-align: center; text-decoration: none; cursor: pointer;
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  padding: 17px 32px; border: 1px solid var(--charcoal); color: var(--charcoal); background: transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--charcoal); color: var(--ivory); }
.btn.solid { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.btn.solid:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); }
.dark .btn, .hero .btn { border-color: var(--ivory); color: var(--ivory); }
.dark .btn:hover, .hero .btn:hover { background: var(--ivory); color: var(--charcoal); }
.hero .btn.solid { border-color: var(--bronze); }
.hero .btn.solid:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.center .btn-row, .center-row { justify-content: center; }
.more, .press-link {
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; border-bottom: 1px solid var(--bronze); padding-bottom: 4px;
}

/* ---------- Images ---------- */
.bw { filter: grayscale(1) contrast(1.04); }
.hover-color { transition: filter .8s ease; }
.hover-color:hover { filter: grayscale(0); }
figure { margin: 0; }

/* ---------- Home hero: the name is the artwork ---------- */
.hero { background: #0b0b0b; color: var(--ivory); overflow: hidden; padding-top: clamp(40px, 6vw, 80px); }
.hero .eyebrow { color: var(--taupe); margin-bottom: 12px; }
.hero h1 { font-size: clamp(33px, 10.3vw, 142px); line-height: 1; font-weight: 400; letter-spacing: -.01em; white-space: nowrap; margin: 0; padding-bottom: .22em; border-bottom: 1px solid rgba(245,242,235,.18); }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 32px; align-items: center; }
.hero-text { padding: 48px 0; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.2; color: var(--bronze); margin: 0 0 20px; }
.hero-sub { max-width: 420px; color: var(--taupe); margin: 0; }
.hero-photo { align-self: end; margin-top: 24px; }
.hero-photo img { width: 100%; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-text { padding: 32px 0 8px; }
}

/* ---------- Statements and two columns ---------- */
.statement h2 { max-width: 14em; margin-bottom: .8em; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.columns .lede { margin: 0; font-size: clamp(24px, 2.7vw, 32px); }
@media (max-width: 900px) { .columns { grid-template-columns: 1fr; } }

/* ---------- Roster of kitchens ---------- */
.roster { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid rgba(245,242,235,.18); }
.roster a { display: grid; grid-template-columns: 1fr 190px 100px; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid rgba(245,242,235,.18); text-decoration: none; }
.r-name { font-family: var(--serif); font-size: clamp(28px, 4.2vw, 52px); line-height: 1.08; transition: color .25s, transform .25s; text-wrap: balance; }
.r-role, .r-place { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.r-place { text-align: right; }
.roster a:hover .r-name, .roster a:focus-visible .r-name { color: var(--bronze); transform: translateX(10px); }
.after-roster { margin: 40px 0 0; }
@media (max-width: 760px) {
  .roster a { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 20px 0; }
  .r-name { grid-column: 1 / -1; }
}

/* ---------- Pull quotes ---------- */
.pull { text-align: center; }
.pull blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(32px, 5vw, 62px); line-height: 1.18; margin: 0 auto; max-width: 17em; }
.pull figcaption { margin-top: 28px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); }

/* ---------- Press names on home ---------- */
.press-strip { text-align: center; }
.press-strip ul { list-style: none; margin: 8px 0 32px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px; }
.press-strip ul a { font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); text-decoration: none; }
@media (max-width: 600px) { .press-strip ul { flex-direction: column; align-items: center; gap: 14px; } }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.split .sticky { position: sticky; top: 110px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .sticky { position: static; } }
.quotes { display: grid; gap: 48px; }
.quote { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.45; margin: 0; padding-left: 28px; border-left: 1px solid var(--taupe); }

/* ---------- Career / resume ---------- */
.jump { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: block; text-decoration: none; border: 1px solid var(--rule); padding: 9px 16px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.jump a:hover { border-color: var(--bronze); }
.resume-link, .tl-toggle { background: none; border: 0; border-bottom: 1px solid var(--bronze); padding: 0 0 4px; cursor: pointer; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--charcoal); }
.resume-link { display: inline-block; margin-top: 28px; text-decoration: none; }
.era { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 72px); padding: 56px 0; scroll-margin-top: 80px; }
.era + .era { border-top: 1px solid var(--rule); }
.era-head { position: sticky; top: 118px; align-self: start; }
.resume .era-head h2 { font-size: clamp(34px, 4.1vw, 54px); margin: 0 0 10px; }
.era-head p { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); }
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--taupe); }
.js .timeline::before { background: var(--bronze); transform-origin: top; transform: scaleY(var(--drawn, 0)); }
.tl-item { position: relative; padding-bottom: 52px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::after { content: ""; position: absolute; left: -34px; top: 5px; width: 11px; height: 11px; background: var(--ivory); border: 1px solid var(--bronze); transform: rotate(45deg); transition: background .3s; }
.tl-item.passed::after { background: var(--bronze); }
.tl-role { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin: 0 0 10px; }
.tl-role span { color: var(--taupe); }
.tl-role span::before { content: "\00b7\00a0"; }
.tl-item h3 { font-size: clamp(28px, 3.4vw, 42px); }
.tl-item p { max-width: 620px; }
.tl-toggle { display: none; }
.js .tl-toggle { display: inline-block; }
.js .tl-more { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s ease, visibility .4s; }
.js .tl-more > div { overflow: hidden; min-height: 0; }
.js .tl-more.open { grid-template-rows: 1fr; visibility: visible; }
@media (max-width: 760px) {
  .era { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .era-head { position: static; }
}
.mentors { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
@media (max-width: 1100px) { .mentors { grid-template-columns: 1fr; } }
.mentors li { border-top: 1px solid var(--rule); padding: 28px 0; }
.mentors p { margin: 0; }
.skills { list-style: none; margin: 40px 0 0; padding: 0; columns: 2; column-gap: 56px; }
.skills li { break-inside: avoid; font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); padding: 18px 0; border-top: 1px solid var(--rule); }
@media (max-width: 760px) { .mentors { grid-template-columns: 1fr; } .skills { columns: 1; } }

/* ---------- Press ---------- */
.press-list { list-style: none; margin: 0; padding: 0; }
.press-item { display: grid; grid-template-columns: 200px 1fr auto; gap: 32px; align-items: baseline; padding: 40px 0; border-bottom: 1px solid var(--rule); }
.press-item:first-child { padding-top: 0; }
.press-outlet { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.section .press-item h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.press-item p { margin: 0; color: #4a4a4a; }
@media (max-width: 900px) { .press-item { grid-template-columns: 1fr; gap: 12px; } .press-link { justify-self: start; } }

/* ---------- Consulting ---------- */
.expertise { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); margin-top: 40px; }
.expertise article { padding: 40px 34px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.expertise .num { font-family: var(--serif); font-style: italic; color: var(--bronze); font-size: 20px; }
.expertise h3 { font-size: 26px; margin: 8px 0 12px; }
.expertise p { margin: 0; font-size: 16px; }
@media (max-width: 960px) { .expertise { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .expertise { grid-template-columns: 1fr; } }
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px 72px; margin-top: 28px; }
.client-logos img { height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.client-logos img:hover { filter: none; opacity: 1; }
.contact-block { margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(245,242,235,.15); }
.contact-email { font-family: var(--serif); font-size: 22px; margin: 18px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--ivory); padding: 72px 0 40px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-name { font-family: var(--serif); font-size: 30px; letter-spacing: 0.04em; margin: 0 0 6px; }
.footer-meta { color: var(--taupe); margin: 0; line-height: 1.9; }
.footer-logo { width: 150px; opacity: .85; margin-top: 24px; }
.site-footer h4 { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--taupe); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--taupe); }
.footer-base { border-top: 1px solid rgba(245, 242, 235, 0.15); margin-top: 56px; padding-top: 24px; font-size: 13px; color: var(--taupe); }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

.section .narrow h2 { font-size: clamp(32px, 4.6vw, 56px); }
@media (max-width: 360px) {
  .page-intro h1 { font-size: 30px; }
  .section h2, .section .narrow h2, .resume .era-head h2 { font-size: 31px; }
  .tl-item h3, .expertise h3 { font-size: 23px; }
  .skills li { font-size: 21px; }
}

/* ---------- Interactions, line breaks, print ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
h1, h2, h3, h4, .lede, .quote, .pull blockquote, .tagline, figcaption, .btn, .eyebrow, .footer-meta, .center p { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
@media (max-width: 480px) { .btn { padding-left: 22px; padding-right: 22px; letter-spacing: .18em; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  @page { margin: 16mm; }
  body { background: #fff; font-size: 11pt; line-height: 1.5; }
  .site-header, .site-footer, .jump, .resume-link, .tl-toggle, .skip-link, .section.dark { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  .section, .section.tight, .section.alt, .page-intro { padding: 12px 0; background: none; }
  .wrap { padding: 0; }
  .page-intro h1 { font-size: 32pt; }
  .section h2, .resume .era-head h2 { font-size: 20pt; }
  .era { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .era-head { position: static; break-after: avoid; }
  .tl-item { break-inside: avoid; padding-bottom: 16px; }
  .tl-item h3 { font-size: 16pt; margin-bottom: 4px; }
  .js .tl-more { display: block; visibility: visible; }
  .js .timeline::before { transform: none; }
  .skills li { font-size: 13pt; padding: 4px 0; }
  .mentors li { padding: 8px 0; break-inside: avoid; }
}

/* ---------- Photography: atmosphere, never placeholders ---------- */
/* Shapes follow each photo's own proportions so subjects are not cropped away */
.band { overflow: hidden; background: #0b0b0b; }
.band img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; max-height: 92vh; object-fit: cover; }
.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.has-bg > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.has-bg::before { content: ""; position: absolute; inset: 0; background: rgba(14, 12, 11, .8); z-index: -1; }
.section.pull.has-bg { padding: clamp(104px, 15vw, 200px) 0; }
.pull.has-bg::before { background: rgba(14, 12, 11, .68); }
.pull.has-bg figcaption { color: #c9a877; }
.has-bg .eyebrow, .has-bg .r-role, .has-bg .r-place { color: #c8bfb0; }
.has-bg .lede, .dark .lede { color: #d8d0c2; }
.plates { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plates img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
@media (max-width: 900px) { .plates { grid-template-columns: 1fr 1fr; gap: 10px; } }
.thumbs { list-style: none; margin: 4px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 620px; }
.thumbs img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.mosaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: #0b0b0b; }
.mosaic img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 900px) { .mosaic { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mosaic { grid-template-columns: 1fr; } }
/* Career list over the plating photo */
.kitchens.has-bg > .bg { object-position: 50% 60%; }
.kitchens.has-bg::before { background: linear-gradient(180deg, rgba(14,12,11,.45), rgba(14,12,11,.7) 42%, rgba(14,12,11,.74)); }
@media (max-width: 760px) {
  /* A tall phone section would zoom far into a wide photo, so it sits at the top and fades out */
  .kitchens.has-bg > .bg { height: 480px; object-position: 50% 50%; }
  .kitchens.has-bg::before { background: linear-gradient(180deg, rgba(14,12,11,.4), rgba(14,12,11,.66) 300px, var(--charcoal) 480px); }
}
/* Focal point of each cropped photo */
.band img[src*="kitchen-pans"] { object-position: 50% 80%; }
/* A photo held to the text column, shown whole */
.band.framed { background: none; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 8vw, 96px); }
.band.framed img { aspect-ratio: 16 / 9; max-height: none; }
.band img[src*="kitchen-tickets"] { object-position: 50% 20%; }
.has-bg > .bg[src*="kitchen-grill"] { object-position: 36% 68%; }
.has-bg > .bg[src*="kitchen-oven"] { object-position: 80% 18%; }
.section.closing.has-bg { padding: clamp(104px, 14vw, 200px) 0; }
.closing.has-bg::before { background: rgba(14, 12, 11, .68); }
.plates li.fade { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.plates li.fade.shown { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .band img { aspect-ratio: 16 / 9; }
}
@media (max-width: 360px) { .section.closing .narrow h2 { font-size: 27px; } }
@media print {
  .band, .mosaic, .thumbs, .menu, .has-bg > .bg { display: none !important; }
}
