
:root {
  --bg: #efe7d2; --ink: #15140f; --soft: #3a362d; --muted: #6a6354;
  --line: rgba(21, 20, 15, .18); --go: #ed6f5c;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Tight', -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -.025em; max-width: 18ch; }
h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.015em; max-width: 22ch; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 19px; line-height: 1.35; letter-spacing: -.005em; margin: 0; }
p { margin: 0; }
.lead { font-size: 19px; line-height: 1.55; color: var(--soft); max-width: 58ch; margin-top: 22px; }
.kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.kicker a { text-decoration: none; }
.kicker a:hover { text-decoration: underline; }

.btn { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 2px; font-size: 15px; font-weight: 500; letter-spacing: .02em; text-decoration: none; color: var(--ink); background: transparent; transition: background .15s ease; }
.btn:hover { background: rgba(21, 20, 15, .06); }
.btn-go { background: var(--go); border-color: var(--go); }
.btn-go:hover { background: #e25e4a; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 36px; }
.plain { font-size: 16px; text-underline-offset: 4px; }
.more { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 500; text-underline-offset: 4px; }

/* intro */
.intro { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 72px; }
.intro h1 { font-size: clamp(52px, 9vw, 120px); letter-spacing: -.03em; }
.dot { color: var(--go); }
.tittle { position: relative; }
.tittle::after { content: ""; position: absolute; left: calc(50% + .008em); top: .31em; width: .14em; height: .14em; border-radius: 50%; background: var(--go); transform: translateX(-50%); }
.intro-line { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--soft); max-width: 40ch; margin-top: 26px; }

/* nav */
.nav { border-bottom: 1px solid var(--line); }
.nav-in { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.nav .name { font-weight: 600; font-size: 17px; text-decoration: none; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:hover, .nav nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }

.back { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-top: 32px; border: 1px solid var(--ink); border-radius: 2px; color: var(--ink); text-decoration: none; transition: background .15s ease; }
.back:hover { background: rgba(21, 20, 15, .06); }
.back:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.page-head { padding: 56px 0 72px; }
.sec { padding: 88px 0; border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 44px; }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.two .sec-head { margin-bottom: 0; }

.facts { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts li { padding: 18px 20px 0 0; font-size: 15px; color: var(--muted); }
.facts b { display: block; color: var(--ink); font-weight: 600; font-size: 17px; }

/* work rows */
.rows { list-style: none; padding: 0; margin: 0; }
.row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); align-items: start; }
.row-img img, .hero-img img, figure img { border: 1px solid var(--ink); }
.row h2 { font-size: clamp(26px, 2.6vw, 34px); }
.row h2 a { text-decoration: none; }
.row h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.glance-s { margin: 20px 0 0; }
.glance-s dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 14px; }
.glance-s dd { margin: 4px 0 0; font-size: 16px; line-height: 1.55; color: var(--soft); }

/* work with me */
.pairs { list-style: none; padding: 0; margin: 0; }
.pairs li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 28px 0; border-top: 1px solid var(--line); }
.pairs p { color: var(--soft); }
.demo { margin: 0; }
.demo figcaption, figure figcaption { font-size: 15px; color: var(--muted); margin-top: 14px; max-width: 70ch; }
.demo figcaption b { color: var(--ink); font-weight: 600; }
.demo-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 48px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 72px minmax(0, 4fr) minmax(0, 7fr); gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); align-items: baseline; }
.steps .n { font-family: var(--serif); font-size: 26px; color: var(--muted); }
.steps p { color: var(--soft); }
.prose p { color: var(--soft); max-width: 62ch; margin-bottom: 18px; }
.prose p b { color: var(--ink); font-weight: 600; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin-top: 12px; color: var(--soft); max-width: 60ch; }
.contact { padding-bottom: 120px; }
.contact h2 { font-size: clamp(34px, 4.4vw, 56px); }

/* case */
.case-head { padding-bottom: 56px; }
.meta { display: flex; flex-wrap: wrap; gap: 40px; margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.meta dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.meta dd { margin: 4px 0 0; font-size: 15px; font-weight: 500; }
.hero-img { margin: 0; }
.flow { border: 1px solid var(--ink); aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 6%; }
.flow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flow-row span { border: 1px solid var(--ink); padding: 10px 14px; font-size: 15px; font-weight: 500; background: var(--bg); }
.flow-row span.person { background: var(--ink); color: var(--bg); }
.flow-row i { width: 22px; height: 1px; background: var(--ink); display: inline-block; }
.row .flow { gap: 22px; }
.row-img { text-decoration: none; display: block; }
.hero-img .flow { aspect-ratio: auto; padding: 56px 6%; gap: 28px; }
.hero-img .flow-row span { font-size: 17px; padding: 12px 16px; }
.row .flow-row span { font-size: 13px; padding: 7px 10px; }
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 56px 0 0; }
.glance dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-top: 16px; border-top: 1px solid var(--ink); }
.glance dd { margin: 10px 0 0; font-size: 17px; color: var(--soft); }
.glance .res dd { color: var(--ink); font-weight: 500; }
.divider { margin: 96px 0 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.notes, .todo { list-style: none; padding: 0; margin: 28px 0 0; }
.notes li, .todo li { padding: 18px 0; border-top: 1px solid var(--line); }
.notes p { color: var(--soft); margin-top: 6px; }
.todo li { color: var(--soft); }
.prose figure { margin: 36px 0 0; }
.fig-text pre { font-family: Consolas, 'SF Mono', Menlo, monospace; font-size: 14px; line-height: 1.9; margin: 0; padding: 22px 24px; border: 1px solid var(--ink); overflow-x: auto; }
.fig-text .bar { position: relative; padding: 10px 0; font-size: 15px; color: var(--soft); }
.fig-text .bar span { display: block; height: 10px; background: var(--ink); margin-bottom: 8px; }
.fig-text .bar b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.embed { margin-top: 32px; }
.embed iframe { width: 100%; max-width: 390px; border: 1px solid var(--ink); border-radius: 22px; display: block; background: #111; }
.embed p { font-size: 15px; color: var(--muted); margin-top: 14px; }
.end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 72px 0 96px; border-top: 1px solid var(--line); }
.end p { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); }
.next { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); text-decoration: none; }
.next:hover { text-decoration: underline; text-underline-offset: 6px; }

.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 15px; }
.foot .small { font-size: 13px; letter-spacing: .01em; color: var(--muted); }

/* reveal: opacity only, once */
.io [data-in] { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.io [data-in].on { opacity: 1; transform: none; }

@media (max-width: 880px) {
  .two, .row, .pairs li { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .glance { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); }
  .steps li p { grid-column: 2; }
  .demo-two { grid-template-columns: minmax(0, 1fr); }
  .page-head { padding: 64px 0 48px; }
  .sec { padding: 64px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav nav { gap: 18px; }
  .btn { height: 48px; padding: 0 18px; }
}

.hire-form { padding-bottom: 96px; max-width: 820px; }
.q { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 36px 0; min-width: 0; }
.q legend { float: left; width: 100%; padding: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.01em; line-height: 1.25; margin-bottom: 20px; }
.q legend em, .fields em, .wide em { font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--muted); letter-spacing: .01em; margin-left: 6px; }
.qn { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-right: 14px; vertical-align: 4px; }
.opts { clear: both; display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-block; padding: 11px 16px; border: 1px solid var(--ink); border-radius: 2px; font-size: 15px; font-weight: 500; line-height: 1.3; transition: background .12s ease; }
.opt:hover span { background: rgba(21, 20, 15, .06); }
.opt input:checked + span { background: var(--ink); color: var(--bg); }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.other-text, .fields input, .wide textarea { display: block; width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 2px; padding: 12px 14px; margin-top: 8px; }
.other-text { max-width: 480px; margin-top: 12px; }
.other-text:focus, .fields input:focus, .wide textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.fields { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fields label, .wide { font-size: 14px; font-weight: 500; }
.wide { display: block; margin-top: 18px; clear: both; }
.err { color: #9a3324; font-size: 14px; margin-top: 12px; clear: both; }
.hp { position: absolute; left: -9999px; }
.other-text[hidden], .err[hidden], .hire-form[hidden], .sent[hidden] { display: none; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding-top: 32px; }
.submit-row .btn { font-family: inherit; cursor: pointer; min-width: 140px; justify-content: center; }
.submit-row .btn:disabled { opacity: .6; cursor: default; }
.status { font-size: 15px; color: var(--soft); }
.sent { padding: 24px 0 120px; }
@media (max-width: 720px) { .fields { grid-template-columns: minmax(0, 1fr); } }
