/* CareJi Studio: editorial studio layout in the book colours.
   Fonts: Outfit (SIL OFL, self-hosted). Mono labels use the system monospace. */
@font-face { font-family: "Outfit"; src: url("fonts/Outfit-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/Outfit-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/Outfit-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/Outfit-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/Outfit-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --paper: #f6f2ea;      /* warm page */
  --paper-2: #eee7da;    /* soft panels */
  --white: #fffdf9;
  --ink: #141815;        /* headlines */
  --text: #2b312d;
  --muted: #5d645f;
  --line: #ddd4c4;
  --green: #1f3d2e;      /* brand forest green */
  --green-2: #2d5a43;
  --gold: #c98a2b;       /* saffron gold, for dark backgrounds and fills */
  --gold-ink: #8a5a12;   /* gold that reads on light backgrounds */
  --night: #12221b;      /* dark sections */
  --mono: ui-monospace, "Cascadia Mono", "Consolas", "SFMono-Regular", monospace;
  --serif: "Georgia", "Times New Roman", serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: "Outfit", system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Mono labels */
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.dot::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: 1px; }

/* Header */
.head { position: sticky; top: 0; z-index: 10; background: rgba(246,242,234,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { width: 40px; height: 40px; border-radius: 50%; background: var(--green); border: 2px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-word { height: 34px; width: auto; }
.brand { gap: 10px; }
.brand b { display: block; font-size: 23px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); line-height: 1; }
.brand small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .36em; color: var(--gold-ink); margin-top: 3px; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--gold); }
.cta-sm { text-decoration: none; background: var(--green); color: #fff; font-size: 14px; font-weight: 500; padding: 10px 18px; border-radius: 4px; }
.cta-sm:hover { background: var(--green-2); }

/* Strip under header */
.strip { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.strip .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.strip span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Hero */
.hero { padding: 72px 0 64px; background:
  radial-gradient(900px 420px at 92% 0%, rgba(201,138,43,.13), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, rgba(31,61,46,.08), transparent 60%), var(--paper); }
.hero h1 { margin: 26px 0 30px; font-size: clamp(46px, 9.2vw, 128px); line-height: .92; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); }
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--gold-ink); letter-spacing: -.01em; }
.hero h1 .g { color: var(--green); }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hero-foot p { max-width: 520px; margin: 0; font-size: 19px; color: var(--muted); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; padding: 15px 24px; border-radius: 4px; border: 2px solid var(--green); }
.btn-solid { background: var(--green); color: #fff; }
.btn-solid:hover { background: var(--green-2); border-color: var(--green-2); }
.btn-line { color: var(--green); }
.btn-line:hover { background: var(--white); }
.hero-meta { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Section heads */
section { padding: 96px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head h2 { margin: 10px 0 0; font-size: clamp(34px, 5vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); }
.sec-head p { margin: 0; max-width: 360px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: right; }

/* Ventures grid */
.ventures { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.tile { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(20,24,21,.55); }
.tile .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.tile .media img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--green); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.badge::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 7px; vertical-align: 0; }
.track { position: absolute; right: 14px; bottom: 14px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; padding: 5px 9px; }
.tile .body { padding: 22px 24px 26px; }
.tile h3 { margin: 4px 0 8px; font-size: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.tile p { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.tile .more { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }

/* Book cover collage inside a tile */
.covers { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; gap: 4%; padding: 8% 8% 0; background: linear-gradient(160deg, #e9e0cf, #d9cbb2); }
.covers img { width: 27%; height: auto; border-radius: 4px 4px 0 0; box-shadow: 0 16px 30px -16px rgba(0,0,0,.6); }
.covers img:nth-child(2) { width: 31%; }

/* Typographic tiles (no stock photos) */
.type-tile { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; }
.type-tile.apps { background: var(--night); color: #f3ead9; }
.type-tile.design { background: var(--green); color: #f3ead9; }
.phone { width: 110px; height: 190px; border-radius: 22px; border: 3px solid var(--gold); padding: 18px 12px; display: flex; flex-direction: column; gap: 9px; }
.phone i { display: block; height: 10px; border-radius: 5px; background: rgba(243,234,217,.22); }
.phone i:first-child { background: var(--gold); width: 60%; }
.menu-card { background: #f6f0e3; color: var(--green); width: 150px; padding: 18px 16px; border-radius: 3px; box-shadow: 0 18px 30px -18px rgba(0,0,0,.7); font-family: var(--serif); text-align: center; }
.menu-card b { display: block; font-size: 15px; letter-spacing: .2em; margin-bottom: 8px; }
.menu-card span { display: block; font-size: 11px; line-height: 1.9; border-top: 1px solid #d9ccb3; }

/* Books feature */
.feature { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.book img { width: 100%; aspect-ratio: 5 / 8; object-fit: cover; border-radius: 4px; box-shadow: 0 24px 40px -26px rgba(0,0,0,.6); }
.book .label { display: block; margin: 20px 0 6px; }
.book h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; color: var(--ink); font-weight: 600; }
.book p { margin: 0; color: var(--muted); font-size: 16px; }
.specs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.specs span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--paper); border: 1px solid var(--line); padding: 5px 9px; border-radius: 3px; color: var(--text); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-img { position: relative; border-radius: 6px; overflow: hidden; }
.about-img img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: 70% 30%; }
.about h2 { margin: 12px 0 20px; font-size: clamp(34px, 4.6vw, 58px); line-height: 1; text-transform: uppercase; font-weight: 700; color: var(--ink); }
.about h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--gold-ink); }
.about p { color: var(--muted); margin: 0 0 16px; }
.facts { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts li span:first-child { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts li span:last-child { font-weight: 500; color: var(--ink); text-align: right; }

/* Contact */
.contact { background: var(--night); color: #d9e2da; }
.contact .box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.contact .label { color: var(--gold); }
.contact h2 { margin: 14px 0 0; font-size: clamp(42px, 7vw, 96px); line-height: .95; font-weight: 700; text-transform: uppercase; color: #fff; }
.contact h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--gold); }
.contact p { margin: 0 0 22px; color: #b9c7bd; }
.mail { display: inline-block; text-decoration: none; background: var(--gold); color: var(--night); font-weight: 600; font-size: 17px; padding: 16px 26px; border-radius: 4px; }
.mail:hover { background: #e0a447; }

/* Footer */
.foot { background: #0c1712; color: #93a598; padding: 26px 0; }
.foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .ventures { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact .box { grid-template-columns: 1fr; gap: 32px; }
  .sec-head p { text-align: left; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding: 44px 0 44px; }
  .hero-foot p { font-size: 17px; }
  .hero-meta { margin-top: 36px; }
  .ventures, .books { grid-template-columns: 1fr; }
  .books { gap: 44px; }
  .book img { max-width: 300px; }
  .strip .wrap span:last-child { display: none; }
  .cta-sm { padding: 9px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile { transition: none; }
}

/* ===== Photo backgrounds (15 Nov 2026) ===== */
/* Hero: chef's hands laminating dough */
.hero {
  background:
    linear-gradient(90deg, rgba(12,24,18,.94) 0%, rgba(12,24,18,.82) 42%, rgba(12,24,18,.35) 100%),
    url("img/bg-hero.jpg") center / cover no-repeat;
  color: #e9eee9;
}
.hero .label { color: #e0a447; }
.hero h1 { color: #fff; }
.hero h1 em { color: #e0a447; }
.hero h1 .g { color: #a9d1b8; }
.hero-foot p { color: #d3dbd5; }
.hero .btn-solid { background: #e0a447; border-color: #e0a447; color: var(--night); }
.hero .btn-solid:hover { background: #f0b85c; border-color: #f0b85c; }
.hero .btn-line { color: #fff; border-color: rgba(255,255,255,.7); }
.hero .btn-line:hover { background: rgba(255,255,255,.12); }
.hero-meta { border-top-color: rgba(255,255,255,.2); }

/* Studio ventures: dark baking table */
#ventures {
  background:
    linear-gradient(rgba(14,26,20,.9), rgba(14,26,20,.86)),
    url("img/bg-studio.jpg") center / cover no-repeat;
}
#ventures .sec-head h2 { color: #fff; }
#ventures .sec-head .label { color: #e0a447; }
#ventures .sec-head p { color: #c9d4cc; }
#ventures .tile { border-color: transparent; }

/* Full-width photo band: patisserie counter */
.band {
  position: relative; padding: 0; min-height: 440px; display: grid; align-items: end;
  background:
    linear-gradient(0deg, rgba(10,20,15,.88) 0%, rgba(10,20,15,.35) 55%, rgba(10,20,15,.1) 100%),
    url("img/bg-band.jpg") center / cover no-repeat;
}
.band .wrap { width: 100%; padding-top: 140px; padding-bottom: 56px; }
.band blockquote { margin: 0; max-width: 820px; color: #fff; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.05; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.band blockquote em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; color: #e0a447; }
.band .label { display: block; margin-bottom: 14px; color: #e0a447; }

/* Books: soft ingredients photo under a cream veil */
.feature {
  background:
    linear-gradient(rgba(255,253,249,.93), rgba(255,253,249,.95)),
    url("img/bg-books.jpg") center / cover no-repeat;
}

/* About: warm paper with a faint gold glow */
.about { background: radial-gradient(700px 380px at 100% 0%, rgba(201,138,43,.12), transparent 65%), var(--paper); }

/* Contact: croissants in a dark kitchen */
.contact {
  background:
    linear-gradient(90deg, rgba(12,24,18,.95) 0%, rgba(12,24,18,.86) 55%, rgba(12,24,18,.6) 100%),
    url("img/bg-contact.jpg") center 40% / cover no-repeat;
}

/* Apps tile: code editor drawing */
.code-win { width: min(86%, 360px); background: #0d1a14; border: 1px solid rgba(224,164,71,.35); border-radius: 10px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.8); text-align: left; overflow: hidden; }
.code-win .bar { display: flex; gap: 6px; padding: 9px 12px; background: #16271f; }
.code-win .bar i { width: 9px; height: 9px; border-radius: 50%; background: #3c5547; }
.code-win .bar i:first-child { background: #e0a447; }
.code-win pre { margin: 0; padding: 14px 16px 16px; font-family: var(--mono); font-size: 12px; line-height: 1.75; color: #c9d4cc; white-space: pre; overflow: hidden; }
.code-win .k { color: #e0a447; }
.code-win .s { color: #a9d1b8; }
.code-win .c { color: #6f8a7b; }

@media (max-width: 700px) {
  .hero { background:
    linear-gradient(180deg, rgba(12,24,18,.9) 0%, rgba(12,24,18,.86) 60%, rgba(12,24,18,.7) 100%),
    url("img/bg-hero.jpg") 72% center / cover no-repeat; }
  .band { min-height: 340px; }
  .band .wrap { padding-top: 110px; padding-bottom: 40px; }
  .code-win pre { font-size: 11px; }
}

/* ===== Menu design samples (16 Nov 2026) ===== */
.design-sec { background: var(--paper-2); }
.menus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.menu-s { margin: 0; }
.menu-s .m-in { aspect-ratio: 3 / 4.2; padding: 30px 26px; border-radius: 4px; box-shadow: 0 26px 44px -28px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.menu-s small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
.menu-s b { display: block; }
.menu-s i { font-style: normal; display: block; margin-top: 10px; }
.menu-s ul { list-style: none; margin: 0; padding: 0; }
.menu-s li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14px; }
.menu-s figcaption { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.m-classic .m-in { background: #f7f0e1; color: #2b2418; border: 1px solid #d9c9a6; outline: 1px solid #d9c9a6; outline-offset: -10px; text-align: center; font-family: var(--serif); }
.m-classic small { color: #8a5a12; }
.m-classic b { font-size: 30px; font-weight: 400; font-style: italic; color: var(--green); margin: 4px 0 6px; }
.m-classic i { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #8a5a12; border-top: 1px solid #d9c9a6; padding-top: 10px; }
.m-classic li { border-bottom: 1px dotted #cdbd98; }

.m-modern .m-in { background: var(--green); color: #f3ead9; font-family: "Outfit", sans-serif; }
.m-modern small { color: #e0a447; }
.m-modern b { font-size: 40px; line-height: .92; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 10px; }
.m-modern i { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #e0a447; }
.m-modern li { border-bottom: 1px solid rgba(243,234,217,.18); }
.m-modern li span:last-child { color: #e0a447; font-family: var(--mono); }

.m-dessert .m-in { background: #12221b; color: #e9e2d2; font-family: var(--serif); text-align: center; justify-content: center; }
.m-dessert small { color: #e0a447; }
.m-dessert b { font-size: 34px; font-weight: 400; margin: 6px 0 14px; color: #fff; }
.m-dessert b em { color: #e0a447; }
.m-plated li { flex-direction: column; align-items: center; gap: 2px; padding: 9px 0; border-top: 1px solid rgba(224,164,71,.25); }
.m-plated li span { font-size: 16px; }
.m-plated li em { font-size: 12.5px; color: #b9c2b8; }

.design-cta { margin: 36px 0 0; font-size: 18px; color: var(--text); }
.design-cta a { color: var(--green); font-weight: 600; }

@media (max-width: 960px) { .menus { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .menus { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; } }

/* ===== Instagram links (16 Nov 2026) ===== */
.head-actions { display: flex; align-items: center; gap: 14px; }
.ig-ico { width: 22px; height: 22px; display: block; flex: none; }
.ig-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green); text-decoration: none; }
.head .ig-link { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
.head .ig-link:hover { border-color: var(--gold); color: var(--gold-ink); }
.facts a { color: var(--green); }
.contact-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ig-btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; border: 2px solid rgba(255,255,255,.6); font-weight: 600; font-size: 17px; padding: 14px 22px; border-radius: 4px; }
.ig-btn:hover { background: rgba(255,255,255,.1); }
.foot-r { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ig-foot { color: #d9e2db; }
.ig-foot .ig-ico { width: 16px; height: 16px; }
@media (max-width: 700px) { .head .ig-link { width: 36px; height: 36px; } .head-actions { gap: 10px; } }
.cta-sm { white-space: nowrap; }
@media (max-width: 420px) {
  .logo-mark { width: 38px; height: 38px; }
  .logo-word { height: 27px; }
  .head .wrap { gap: 10px; }
  .cta-sm { padding: 9px 12px; }
}

/* ===== 404 page (moved from inline styles for a strict CSP) ===== */
.page-404 { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.page-404 .lead { margin: 0 auto 28px; max-width: 520px; color: #d3dbd5; font-size: 19px; }
.page-404 h1 { font-size: clamp(40px, 7vw, 80px); }
/* Footer privacy note */
.foot-note { flex-basis: 100%; opacity: .8; }
