/* The Grand Kitchen, 2026 design. Warm, quiet, fast: one font, no frameworks, no scripts. */
@font-face { font-family: "Inter"; src: url("/assets/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #FBF7F2; --surface: #FFFFFF; --cream: #F5EDE2; --ink: #1E1B18; --ink-2: #4A433C; --muted: #6E655C; --line: #EAE0D3;
  --accent: #D8571F; --accent-2: #B6441A; --accent-soft: #FBE6DA; --green: #2F6B57; --green-soft: #E2EFE9;
  --radius: 16px; --shadow: 0 1px 2px rgba(30,27,24,.05), 0 10px 30px rgba(30,27,24,.07);
  --wrap: 1180px; --read: 740px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }

/* header */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(251,247,242,.9); backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo img { height: 42px; width: auto; }
nav.main { display: flex; gap: 4px; }
nav.main a, details.menu nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
nav.main a:hover, nav.main a[aria-current] { background: var(--accent-soft); color: var(--accent-2); }
details.menu { display: none; position: relative; }
details.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; gap: 5px; background: var(--surface); box-shadow: var(--shadow); }
details.menu summary::-webkit-details-marker { display: none; }
details.menu summary span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
details.menu nav { position: absolute; right: 0; top: 54px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: grid; min-width: 230px; }
@media (max-width: 980px) { nav.main { display: none; } details.menu { display: block; } }

/* buttons */
.btn, .prose a.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.2; padding: 12px 20px; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 16px rgba(216,87,31,.25); transition: transform .15s ease, background .15s ease; }
.btn:hover, .prose a.btn:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); }
.prose a.btn::after { content: "→"; }
.ghost { display: inline-flex; padding: 12px 18px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); }
.ghost:hover { border-color: var(--accent); color: var(--accent-2); }

/* hero */
.hero { background: radial-gradient(1200px 400px at 85% -10%, #FDE3D3 0%, transparent 60%), radial-gradient(800px 380px at -10% 110%, #E7F1EC 0%, transparent 60%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 72px 22px 80px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.025em; margin: 10px 0 18px; font-weight: 800; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-stack { position: relative; height: 360px; }
.hero-stack img { position: absolute; width: 78%; border-radius: 18px; box-shadow: 0 18px 50px rgba(30,27,24,.18); border: 6px solid #fff; }
.hero-stack img:nth-child(1) { right: 0; top: 0; transform: rotate(3deg); }
.hero-stack img:nth-child(2) { left: 0; top: 110px; transform: rotate(-4deg); }
.hero-stack img:nth-child(3) { right: 8%; bottom: -10px; transform: rotate(1.5deg); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; padding: 48px 22px 56px; } .hero-stack { height: 260px; } }

/* sections and cards */
.block { padding: 64px 0 8px; }
.block > header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.block h2, .related h2 { font-size: 30px; letter-spacing: -.02em; margin: 0; font-weight: 800; }
.block header p { margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(30,27,24,.06), 0 18px 40px rgba(30,27,24,.12); color: inherit; }
.card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--cream); }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 19px; line-height: 1.3; margin: 0; letter-spacing: -.01em; }
.card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }
.card .date { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--muted); }
.card.small h3 { font-size: 17px; }
.noimg { aspect-ratio: 2 / 1; display: grid; place-items: center; background: linear-gradient(135deg, #FBE2D3 0%, #F5EDE2 55%, #E4EFE9 100%); }
.card .noimg img { width: 72px; aspect-ratio: auto; background: none; opacity: .9; }
.resources .res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.res { display: block; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.res:hover { border-color: var(--accent); color: inherit; }
.res h3 { margin: 0 0 6px; font-size: 18px; }
.res p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.list-head { padding: 48px 0 28px; max-width: 720px; }
.list-head h1 { font-size: clamp(32px, 4.5vw, 46px); margin: 8px 0 10px; letter-spacing: -.025em; line-height: 1.1; }
.list-head p { color: var(--ink-2); font-size: 18px; margin: 0; }

/* article */
.crumbs { display: flex; gap: 8px; align-items: center; padding: 28px 0 0; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--accent-2); }
.post-head { max-width: var(--read); padding: 18px 0 10px; }
.post-head h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -.028em; margin: 8px 0 14px; font-weight: 800; }
.meta { color: var(--muted); font-size: 15px; margin: 0; }
.disclosure { display: inline-block; margin: 14px 0 0; font-size: 13px; color: var(--ink-2); background: var(--cream); padding: 6px 12px; border-radius: 999px; }
.post { display: grid; grid-template-columns: minmax(0, var(--read)) 1fr; gap: 56px; align-items: start; }
.post:not(.with-toc) { grid-template-columns: minmax(0, var(--read)); }
.toc { position: sticky; top: 96px; }
.toc details { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.toc summary { font-weight: 700; cursor: pointer; }
.toc ul { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; line-height: 1.45; }
.toc li { margin: 6px 0; }
.toc a { color: var(--ink-2); text-decoration: none; } .toc a:hover { color: var(--accent-2); }
@media (max-width: 1080px) { .post, .post.with-toc { grid-template-columns: minmax(0, 1fr); } .toc { position: static; order: -1; } }

.prose { font-size: 18px; color: var(--ink); min-width: 0; }
.prose > .feature { width: 100%; border-radius: 20px; box-shadow: var(--shadow); margin: 18px 0 28px; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.02em; margin: 2em 0 .55em; font-weight: 800; }
.prose h3 { font-size: 21px; line-height: 1.3; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 17px; text-transform: uppercase; letter-spacing: .06em; color: var(--green); margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose img { border-radius: 12px; margin: 18px auto; }
.prose blockquote { margin: 1.4em 0; padding: 4px 22px; border-left: 4px solid var(--accent); color: var(--ink-2); }
.prose ul.checks { list-style: none; padding-left: 0; }
.prose ul.checks li { position: relative; padding-left: 30px; }
.prose ul.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%232F6B57' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose aside.box { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 18px 22px; border-radius: 12px; margin: 26px 0; box-shadow: var(--shadow); }
.prose aside.box > :last-child { margin-bottom: 0; }
.prose .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 18px 0; }
.prose .col > :first-child { margin-top: 0; }
.prose .table-wrap { overflow-x: auto; margin: 24px 0 32px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 560px; }
.prose th { background: var(--ink); color: #fff; text-align: left; font-weight: 700; padding: 13px 16px; font-size: 14px; }
.prose td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.prose tr:nth-child(even) td { background: #FDFBF8; }
.prose td img, .prose img.product-thumb { width: 96px; max-width: 96px; margin: 0 auto; border-radius: 10px; }
.prose td a.btn { padding: 9px 14px; font-size: 14px; box-shadow: none; }
.prose section.product { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 26px 30px 22px; margin: 34px 0; }
.prose section.product > h2:first-child { margin-top: 0; font-size: 25px; }
.prose section.product img { max-height: 340px; width: auto; }
@media (max-width: 640px) { .prose { font-size: 17px; } .prose section.product { padding: 20px 18px; } }

.related { padding: 56px 0 8px; }
.related h2 { margin-bottom: 20px; }
.notfound { padding: 64px 22px; }
.notfound h1 { font-size: 44px; letter-spacing: -.025em; margin: 8px 0; }
.notfound .cards { margin: 24px 0 28px; }

/* footer */
footer.site { margin-top: 96px; background: #1C1916; color: #CFC6BB; padding: 56px 0 28px; font-size: 15px; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.fbrand img { height: 44px; width: auto; background: #fff; padding: 6px 10px; border-radius: 10px; }
.fbrand p { color: #A79D92; max-width: 26em; }
footer.site h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 4px 0 12px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site a { color: #E8DFD4; text-decoration: none; } footer.site a:hover { color: #fff; text-decoration: underline; }
.fnote { border-top: 1px solid #36302A; margin-top: 36px; padding-top: 20px; font-size: 13px; color: #9A9086; }
.fnote p { margin: 0 0 8px; max-width: 80em; }
@media (max-width: 760px) { .fgrid { grid-template-columns: 1fr; gap: 24px; } }

.wrap.solo { max-width: 820px; }
.wrap.solo .related .cards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.toc li.h3 { margin-left: 12px; font-size: 13.5px; }
.toc details { max-height: calc(100vh - 130px); overflow: auto; }
.prose section.product > h3:first-child { margin-top: 0; font-size: 23px; letter-spacing: -.01em; }

.toc li.h2 { font-weight: 600; margin-top: 10px; }
.toc li.h3 { border-left: 2px solid var(--line); padding-left: 10px; margin-left: 2px; }
.toc li.h3:hover { border-color: var(--accent); }
.prose section.product img.product-thumb { width: 200px; max-width: 100%; margin: 6px auto 14px; }
.prose section.product .cols { align-items: center; }
