/* BÖUJIE.studios — white and beige, black type.
   Headings: Manrope. Text: Inter. */

:root {
  --white: #ffffff;
  --sand-1: #f6f1e8;
  --sand-2: #efe8dc;
  --sand-3: #e9e0d1;
  --line: #ddd3c2;
  --ink: #111111;
  --ink-2: #3a352e;
  --muted: #5e574d;
  --display: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--text); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 5px; }
a:hover { color: var(--muted); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
[id] { scroll-margin-top: 24px; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 6px; z-index: 10; }
.skip:focus { top: 16px; color: var(--white); }
.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-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.sand { background: var(--sand-1); }
.sand-deep { background: var(--sand-2); }

/* Type */
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
.h-hero { font-size: clamp(40px, 5.6vw, 72px); }
.h-xl { font-size: clamp(34px, 4.4vw, 58px); }
.h-lg { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; }
.h-md { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.025em; }
.display em { font-style: normal; color: #8a7f6e; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.prose { max-width: 40em; display: flex; flex-direction: column; gap: 18px; color: var(--ink-2); }
.prose h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; font-size: 26px; line-height: 1.15; color: var(--ink); margin-top: 18px; }
.prose ul { list-style: disc; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 32px; border-radius: 999px; border: 1px solid var(--ink); font: 500 15px/1.2 var(--text); text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2c2823; color: var(--white); }
.btn-light { background: transparent; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-white:hover { background: var(--sand-2); color: var(--ink); }
.btn-small { min-height: 44px; padding: 10px 24px; font-size: 14px; }
.text-link { font-weight: 500; font-size: 15px; padding: 12px 0; display: inline-block; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Header */
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav a:not(.btn) { text-decoration: none; padding: 12px 0; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }
.site-nav .btn { letter-spacing: 0.04em; }
.menu-toggle { display: none; min-height: 44px; padding: 8px 18px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 500 14px var(--text); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }

@media (max-width: 1140px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .header-row { flex-wrap: wrap; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-top: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
}

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 5vw, 56px) var(--section); }
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.photo { background: var(--sand-3); border-radius: 4px; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-54 { aspect-ratio: 5 / 4; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
}

/* Section heads */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--ink); padding-top: 22px; margin-bottom: 36px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-lg { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 60px); }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 561px) and (max-width: 860px) {
  .grid-3.keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.tile { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.tile-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.tile-meta strong { font-weight: 500; }
a.tile:hover .photo { opacity: 0.9; }

.step { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--ink); padding-top: 22px; }
.step-num { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.step h3 { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.step p { color: var(--ink-2); }

.section-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(20px, 2.4vw, 32px); }
@media (max-width: 860px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: minmax(0, 1fr); } }
.service-card { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink); padding-top: 22px; text-decoration: none; color: var(--ink); }
.service-card h3 { font-size: 19px; letter-spacing: -0.01em; font-weight: 600; line-height: 1.25; }
.service-card p { color: var(--ink-2); }
.service-card .more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }
a.service-card:hover { color: var(--ink); }
a.service-card:hover h3 { text-decoration: underline; text-underline-offset: 6px; }

.service { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 0.9fr); gap: 20px clamp(24px, 4vw, 56px); padding-block: clamp(32px, 4vw, 48px); border-top: 1px solid var(--ink); align-items: start; }
.service-title { display: flex; flex-direction: column; gap: 10px; }
.service-title h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; }
.service-body { display: flex; flex-direction: column; gap: 16px; color: var(--ink-2); }
.service-body ul { display: flex; flex-direction: column; gap: 8px; }
.service-body li { padding-left: 18px; position: relative; }
.service-body li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--ink); }
.service-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.service-price { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
.service-price b { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; font-size: 32px; line-height: 1; color: var(--ink); }
.service-price .row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.service-price .row b { font-size: 24px; }
@media (max-width: 980px) {
  .service { grid-template-columns: minmax(0, 1fr); }
}

.icon { color: var(--ink); }

/* Pain points */
.pain-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 700px) { .pain-grid { grid-template-columns: minmax(0, 1fr); } }
.pain { border: 1px solid var(--line); border-radius: 8px; padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 10px; background: var(--white); }
.pain h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: 21px; line-height: 1.2; }
.pain p { color: var(--ink-2); }

/* Accordion (questions, reasons) */
.accordion { border-top: 1px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; flex: 0 0 auto; font-family: var(--text); font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); }
.accordion details[open] summary::after { content: "\2013"; }
.accordion details p { padding: 0 0 22px; color: var(--ink-2); max-width: 36em; }

/* Free review steps */
.review-list { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.review-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; gap: 8px; padding: 22px 0; border-bottom: 1px solid #cfc4b0; }
.review-list h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.review-list p { color: var(--ink-2); margin-top: 4px; }

/* Yuki section */
.chat-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 60px rgba(60, 48, 30, 0.08); }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--sand-2); }
.avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 999px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 16px; }
.chat-head div span { display: block; line-height: 1.3; }
.chat-head .who { font-weight: 600; }
.chat-head .sub { font-size: 13px; color: var(--muted); }
.bubble { align-self: flex-start; max-width: 88%; background: var(--sand-1); padding: 12px 18px; border-radius: 18px 18px 18px 4px; font-size: 15px; }
.chips { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.chip { max-width: 88%; text-align: left; min-height: 44px; padding: 11px 18px; border: 1px solid var(--ink); border-radius: 18px 18px 4px 18px; background: var(--white); color: var(--ink); font: 400 15px/1.35 var(--text); cursor: pointer; text-decoration: none; transition: background-color 0.15s, color 0.15s; }
.chip:hover { background: var(--ink); color: var(--white); }
.ask { display: flex; gap: 10px; padding-top: 6px; }
.ask input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 18px; border: 1px solid #c9beaa; border-radius: 999px; font: 400 16px var(--text); color: var(--ink); background: var(--white); }
.ask button { width: 48px; height: 48px; flex: 0 0 48px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fineprint { font-size: 13px; color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 28px); align-items: stretch; }
@media (max-width: 980px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { border: 1px solid var(--line); border-radius: 8px; padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; background: var(--white); }
.plan h3 { font-size: 18px; font-weight: 600; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--sand-2); color: var(--ink); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.price { display: flex; align-items: baseline; gap: 8px; color: var(--muted); }
.price b { font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; font-size: 44px; line-height: 1; color: var(--ink); }
.plan ul { display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.plan .btn { margin-top: auto; }
.plan-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.plan-dark .price { color: #d9cfbe; }
.plan-dark .price b { color: var(--white); }
.plan-dark ul { color: #f1eadd; }

.rate-list { border-top: 1px solid var(--ink); }
.rate { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr) 132px 128px; gap: 12px 28px; align-items: center; padding-block: 24px; border-bottom: 1px solid var(--line); }
.rate h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.rate p { color: var(--ink-2); }
.rate .amount { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; font-size: 28px; line-height: 1; white-space: nowrap; }
@media (max-width: 860px) {
  .rate { grid-template-columns: minmax(0, 1fr) auto; }
  .rate p { grid-column: 1 / -1; grid-row: 2; }
  .rate .btn { grid-column: 1 / -1; justify-self: start; }
}

/* Check lists, step rows, pillars */
.checks { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.checks li { position: relative; padding: 20px 0 20px 40px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 26px; width: 14px; height: 7px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.checks h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.checks p { color: var(--ink-2); margin-top: 4px; }
.sand .checks li, .sand-deep .checks li { border-bottom-color: #cfc4b0; }
.steps-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.steps-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.steps-5 .step h3, .steps-4 .step h3 { font-size: 19px; }
@media (max-width: 1020px) { .steps-5, .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps-5, .steps-4 { grid-template-columns: minmax(0, 1fr); } }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .plans-2 { grid-template-columns: minmax(0, 1fr); } }
.extras li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.extras li:first-child { border-top: 1px solid var(--line); }
.extras b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.plan ul.extras { gap: 0; }
@media (min-width: 861px) { .rate .amount { text-align: right; } .rate .btn { justify-self: end; } }
.rate .amount small { font-family: var(--text); font-size: 15px; color: var(--muted); }
.pillar { display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); border-radius: 8px; padding: clamp(26px, 3vw, 36px); background: var(--white); text-decoration: none; color: var(--ink); transition: border-color 0.15s; }
a.pillar:hover { border-color: var(--ink); color: var(--ink); }
.pillar h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(23px, 2.1vw, 28px); line-height: 1.12; }
.pillar p { color: var(--ink-2); }
.pillar ul { display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 15px; border-top: 1px solid var(--line); padding-top: 16px; }
.pillar li { padding-left: 18px; position: relative; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--ink); }
.pillar .more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }
.service-body .text-link { padding: 0; }

/* Reviews and social links */
.review { margin: 0; border: 1px solid var(--line); border-radius: 8px; padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 18px; background: var(--white); }
.review blockquote { margin: 0; color: var(--ink-2); }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: 14px; }
.review figcaption span { color: var(--muted); }
.social img { width: 22px; height: 22px; }
.site-nav a.social { display: inline-flex; align-items: center; }

.langs { font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 16px; }
.langs strong { font-weight: 600; color: var(--ink); }

/* Price groups */
.price-group { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: 20px clamp(24px, 4vw, 64px); padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink); align-items: start; }
.price-group > .stack { position: sticky; top: 24px; }
.price-group .rate-list { border-top: 0; }
.price-group .rate:first-child { padding-top: 0; }
.rate .note { font-size: 13px; color: var(--muted); display: block; margin-top: 2px; font-weight: 400; }
@media (max-width: 980px) { .price-group { grid-template-columns: minmax(0, 1fr); } .price-group > .stack { position: static; } }

/* Closing call to action */
.cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta .lead { max-width: 30em; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

/* Form */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid #b9ad97; border-radius: 8px; background: var(--white); color: var(--ink); font: 400 16px/1.5 var(--text); }
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; font-size: 15px; }
.form-status.ok { color: #1f5a37; font-weight: 500; }
.form-status.err { color: #8a2b1d; font-weight: 500; }
.contact-list { display: flex; flex-direction: column; align-items: flex-start; font-size: 18px; }
.contact-list a { padding: 9px 0; }
.contact-list span { padding-top: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 0; }
.footer-row { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 32px; }
.footer-head { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; color: var(--ink-2); font-size: 15px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; font-size: 15px; }
.footer-links a { padding: 10px 0; text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { text-decoration: underline; }
.footer-fine { padding-block: 20px 32px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .footer-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-row { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
