/* Fonts: Newsreader and Hanken Grotesk, self-hosted (SIL Open Font License, see fonts/) */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-latin-opsz-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-latin-ext-opsz-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-latin-opsz-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-latin-ext-opsz-italic.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* One text size everywhere, like a calm letter: hierarchy comes from weight and space, not from size.
   Measured on the reference: 24px text, 1.3 line height, -0.01em spacing, ~1.9em between blocks,
   656px column, 13px sans for the small UI text. */
:root {
  --ink: #1f2322;
  --muted: #5d605d;
  --soft: #6a6d69;
  --line: #e2ddd4;
  --line-light: #ece7df;
  --underline: #c6c1b8;
  --brush: #ebe3d6;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, "Segoe UI", Arial, sans-serif;
  --size: 24px;
  --gap: 1.9em;          /* between paragraphs and blocks */
  --section: 3.8em;      /* before a new section */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--serif); font-size: var(--size); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); background: #fff; }

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* page frame */
.page { padding: 44px 36px 44px; }
main { max-width: 656px; margin-top: 128px; }
footer { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 128px; font-family: var(--sans); font-size: 13px; letter-spacing: -0.01em; }

/* type: same size, weight carries the hierarchy */
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0 0 var(--gap); }
h1, h2, h3 { font-size: 1em; line-height: 1.3; font-weight: 600; }
h2 { margin-top: var(--section); }
h3 { margin-top: var(--gap); margin-bottom: .4em; }
h2 + h3 { margin-top: 0; }
strong { font-weight: 600; }
.lead { font-weight: 600; }
.muted, .price { color: var(--muted); font-weight: 400; }
ol, ul { padding-left: 1.1em; }
li { margin: 0 0 .7em; }
li:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--section) 0; }
hr + h2 { margin-top: 0; }
main > :last-child { margin-bottom: 0; }

/* small notes and labels: the small sans, like the reference's UI text */
.small, .count, figcaption { font-family: var(--sans); font-size: 14px; line-height: 1.45; letter-spacing: 0; color: var(--soft); }
.label, .kicker { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--soft); margin: 0 0 .8em; }
.kicker + h2 { margin-top: 0; }

/* the soft brush stroke under the main link and the choices */
.brush { position: relative; display: inline-block; text-decoration: none; }
.brush svg { position: absolute; left: -5px; bottom: .04em; width: calc(100% + 10px); height: .42em; }
.brush svg path { fill: var(--brush); }
.brush > span { position: relative; }
.cta { font-weight: 600; }
.chev { margin-left: 8px; vertical-align: -2px; }

/* home: photo line */
.me { display: flex; align-items: center; gap: 16px; margin: 0 0 var(--gap); font-family: var(--sans); font-size: 13px; letter-spacing: -0.01em; color: var(--soft); }
.me img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.me p { margin: 0; }
.me .name { color: var(--ink); }

/* stories page */
blockquote { padding-left: 18px; border-left: 2px solid var(--line); font-style: italic; }
.you { color: var(--muted); font-style: italic; }
.last { font-style: italic; }
.days { list-style: none; padding: 0; }
.days li { margin-bottom: .9em; }
figure svg { display: block; width: 100%; max-width: 380px; height: auto; margin-bottom: 8px; }
figcaption { margin-bottom: 28px; }
.shot { display: block; width: 100%; height: auto; border: 1px solid var(--line); }

/* showroom */
.sentence { margin: 0 0 var(--gap); line-height: 1.6; }
.pick { position: relative; display: inline-block; white-space: nowrap; cursor: pointer; }
.pick .chev { margin-left: 6px; }
.pick select { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; cursor: pointer; }
.pick:focus-within { outline: 2px solid var(--ink); outline-offset: 6px; }
.count { margin: 0 0 16px; }
.cards { display: flex; flex-direction: column; gap: 20px; margin: 0 0 var(--gap); }
.card { border: 1px solid var(--line); padding: 26px 26px 24px; font-size: 21px; }
.card[hidden] { display: none; }
.card h2 { margin: 0 0 .7em; }
.card p { margin: 0 0 .7em; }
.card .label { margin-bottom: 1em; }
.card .now { color: var(--muted); }
.card .after { padding-top: .7em; border-top: 1px solid var(--line-light); margin-bottom: 0; }
.card .extras { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 1em; font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; color: var(--soft); }
.empty { border: 1px solid var(--line); padding: 26px; margin: 0 0 var(--gap); }
.empty p { margin-bottom: .6em; }
.linkbutton { font-family: var(--sans); font-size: 15px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--underline); text-underline-offset: 5px; background: none; border: 0; padding: 8px 0; min-height: 44px; cursor: pointer; }
.closing { margin-top: var(--section); }

/* phone: same size, slightly tighter frame */
@media (max-width: 640px) {
  .page { padding: 24px 32px 40px; }
  main { margin-top: 112px; }
  footer { margin-top: 96px; }
  :root { --section: 3em; }
  .card { padding: 22px 20px 20px; font-size: 20px; }
}

/* ink drawings: spots between sections of the home page, and the paper plane on the showroom */
.spot { display: block; height: auto; color: var(--ink); margin: 0 0 1.1em; }
.spot-s { width: 150px; }
.spot-m { width: 200px; }
.spot-plane { width: 190px; }
@media (max-width: 640px) {
  .spot-s { width: 124px; }
  .spot-m { width: 168px; }
  .spot-plane { width: 170px; }
}

/* home opening and closing (Erick speaking to you): Meshed Display (free for commercial use, files unmodified; licence in fonts/) */
@font-face { font-family: "Meshed Display"; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/MeshedDisplay-Light.woff2) format("woff2"); }
@font-face { font-family: "Meshed Display"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/MeshedDisplay-SemiBold.woff2) format("woff2"); }
.hero, .outro { font-family: "Meshed Display", var(--serif); font-size: 22px; font-weight: 300; letter-spacing: 0; }
.hero h1, .outro .lead, .outro .cta { font-weight: 600; }


/* header and menu: name on the left; links, Menu and the call on the right.
   The menu drops down from the top and covers the page. */
.lh { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.nm { text-decoration: none; color: var(--ink); }
.nm strong { display: block; font-weight: 600; }
.nm span { display: block; font-style: italic; color: var(--muted); }
.lh-nav { display: flex; align-items: baseline; gap: 30px; padding-top: 2px; white-space: nowrap; }
.u { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.u[aria-current="page"] { text-decoration-color: var(--ink); }
.menu-btn, .menu-close { font: inherit; background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.menu-btn span, .menu-close span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.menu-btn:hover span, .menu-close:hover span { text-decoration-color: var(--underline); }
.mi { width: 18px; height: 18px; flex: none; }
.lh-nav .menu-btn { align-self: center; padding-left: 26px; border-left: 1px solid var(--line); }
.lh .cta-top { font-weight: 600; }
@media (max-width: 900px) { .lh-nav > a.u { display: none; } }
@media (max-width: 640px) { .lh-nav > a.cta-top { display: none; } .lh-nav .menu-btn { padding-left: 0; border-left: 0; } }

html.menu-open { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 50; overflow-y: auto; background: #fff; font-family: var(--serif);
  transform: translateY(-100%); transition: transform .38s cubic-bezier(.2, .8, .2, 1); }
.sheet.open { transform: none; }
@media (prefers-reduced-motion: reduce) { .sheet { transition: none; } }
.sheet-in { max-width: 1280px; margin: 0 auto; padding: 44px 36px 48px; }
.sheet-top { display: flex; justify-content: space-between; align-items: flex-start; font-size: 18px; line-height: 1.3; margin-bottom: 80px; }
.sheet .gl { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin: 0 0 18px; }
.sheet ol { list-style: none; padding: 0; margin: 0; }
.sheet li { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; margin: 0 0 18px; }
.sheet .n { font-family: var(--sans); font-size: 13px; color: var(--soft); }
.sheet li a { font-size: 28px; line-height: 1.2; text-decoration: none; color: var(--ink); }
.sheet li a:hover { text-decoration: underline; text-decoration-color: var(--underline); text-underline-offset: 6px; }
.sheet .dd { display: block; font-size: 18px; line-height: 1.35; color: var(--muted); margin-top: 4px; }
.sheet-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; }
.sg-main li { margin-bottom: 24px; }
.sg-main li a { font-size: 34px; }
.sg-side ol { margin-bottom: 44px; }
.sheet .else { font-family: var(--sans); font-size: 13px; color: var(--soft); margin: 6px 0 0 34px; }
.sheet .else a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--underline); text-underline-offset: 4px; }
.sheet-cta { margin: 48px 0 0; font-size: 28px; font-weight: 600; }
.sheet-cta .note { display: block; font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--soft); margin-top: 6px; }
.curious { margin-top: var(--gap); }
@media (max-width: 640px) {
  .sheet-in { padding: 24px 32px 40px; }
  .sheet-top { margin-bottom: 44px; }
  .sheet-grid { grid-template-columns: 1fr; gap: 30px; }
  .sheet li { grid-template-columns: 30px 1fr; margin-bottom: 14px; }
  .sheet li a { font-size: 23px; }
  .sg-main li { margin-bottom: 16px; }
  .sg-main li a { font-size: 25px; }
  .sheet .dd { font-size: 16.5px; }
  .sheet .else { margin-left: 30px; }
  .sg-side ol { margin-bottom: 28px; }
  .sheet-cta { font-size: 24px; margin-top: 28px; }
}



/* the beige brush redraws itself on hover */
.brush svg path { transition: fill .35s ease; }
.chev { transition: transform .25s ease; }
@keyframes brush-redraw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  a.brush:hover svg, .pick:hover .brush svg { animation: brush-redraw .6s cubic-bezier(.3, .7, .2, 1); }
  a.brush:hover svg path, .pick:hover .brush svg path { fill: #dfcfb4; }
  a.brush:hover + .chev { transform: translateX(3px); }
}

/* Meshed sections read as the voice of the page: a touch bigger than the body, and the opening fits one laptop screen with its drawing */
main.home { margin-top: 56px; }
.hero { font-size: 23px; line-height: 1.3; }
.hero h1 { font-size: 1.85em; line-height: 1.08; margin-bottom: .55em; }
.hero p { margin-bottom: .9em; }
.hero + .spot { margin-top: 1em; }
.outro { font-size: 23px; line-height: 1.32; }
.outro .lead { font-size: 1.5em; line-height: 1.12; }
.outro .lead { margin-bottom: .6em; }
.outro p { margin-bottom: 1.1em; }
@media (max-width: 640px) {
  main.home { margin-top: 64px; }
  .hero { font-size: 21px; }
  .hero h1 { font-size: 1.6em; }
  .outro { font-size: 21px; }
  .outro .lead { font-size: 1.4em; }
}

/* work with me: icons on a beige brush dot (I3) */
.way { scroll-margin-top: 24px; }
.way + .way { padding-top: .4em; }
.way h3 { margin-top: 0; }
.way-ic { position: relative; display: block; width: 74px; height: 74px; margin: 0 0 .1em -12px; }
.way-ic .blob { position: absolute; inset: 0; width: 74px; height: 74px; }
.way-ic .blob path { fill: var(--brush); }
#hand-off .blob { transform: rotate(150deg); }
#learn .blob { transform: rotate(-70deg) scaleX(-1); }
.way-ic .ic { position: absolute; left: 13px; top: 13px; width: 48px; height: 48px; color: var(--ink); }
@media (max-width: 640px) {
  .way-ic { width: 64px; height: 64px; margin-left: -10px; }
  .way-ic .blob { width: 64px; height: 64px; }
  .way-ic .ic { left: 12px; top: 12px; width: 40px; height: 40px; }
}
/* end work with me */

/* page openings (Learn, showroom, real situations): title and first line in Meshed, like the home opening */
main:has(> h1) { margin-top: 56px; }
main > h1 { font-family: "Meshed Display", var(--serif); font-weight: 600; font-size: 42.5px; line-height: 1.08; letter-spacing: 0; margin-bottom: .55em; }
main > h1 + p, main > h1 + .lead { font-family: "Meshed Display", var(--serif); font-weight: 300; font-size: 23px; line-height: 1.3; letter-spacing: 0; }
@media (max-width: 640px) {
  main:has(> h1) { margin-top: 64px; }
  main > h1 { font-size: 33.5px; }
  main > h1 + p, main > h1 + .lead { font-size: 21px; }
}

/* menu without numbers (29 Nov) */
.sheet li { display: block; }
.sheet .else { margin-left: 0; padding-left: 0; }

/* how we work together (29 Nov): three steps linked by a hand-drawn dotted trail */
.steps { position: relative; margin-top: .4em; }
.step { position: relative; display: grid; grid-template-columns: 74px 1fr; column-gap: 20px; scroll-margin-top: 24px; }
.step:not(:last-child) { padding-bottom: 2.1em; }
.step .way-ic { margin: 0 0 0 -6px; }
.step h3 { margin: 0 0 .35em; }
.step .st-b p:last-child { margin-bottom: 0; }
.st-l { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin: 6px 0 .45em; }
.step .trail { position: absolute; left: 23px; top: 80px; width: 20px; height: calc(100% - 86px); color: #6f6a62; overflow: visible; }
.steps + .curious { margin-top: 1.8em; }
@media (max-width: 640px) {
  .step { grid-template-columns: 56px 1fr; column-gap: 12px; }
  .step .way-ic { margin-left: -8px; }
  .step .trail { left: 14px; top: 68px; height: calc(100% - 74px); }
}
/* end how we work together */

/* prices page (hidden, 30 Nov) */
.st-price { margin: 0 0 .4em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.st-price .pr { font-family: "Meshed Display", var(--serif); font-weight: 600; font-size: 1.25em; letter-spacing: 0; }
.st-price .fm { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.custom-line { margin-top: 1.8em; padding: 18px 22px; background: #f5f0e8; }
.dls { display: grid; grid-template-columns: 1fr; gap: 34px; margin-top: .6em; }
.dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 26px; align-items: start; }
.dl-img img { display: block; width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(31, 35, 34, .08); transition: transform .25s ease; }
@media (hover: hover) { .dl-img:hover img { transform: translateY(-3px) rotate(-.6deg); } }
.dl h3 { margin: 0 0 .3em; }
.dl-b p { margin: 0 0 .5em; }
.dl-meta { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.dl-cta { margin-top: .9em !important; }
ul.gk { padding-left: 1.1em; }
ul.gk li { margin-bottom: .35em; }
.next { margin-top: 2.4em; }
.next .nx-big { font-family: "Meshed Display", var(--serif); font-weight: 600; font-size: 1.6em; line-height: 1.1; letter-spacing: 0; margin: 0 0 .3em; }
.next .nx { margin: 0 0 1.1em; }
.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 14px 40px; }
.contacts div { display: flex; flex-direction: column; gap: 4px; }
.contacts .cl { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.contacts a { font-size: .8em; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .dl { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
  .contacts { grid-template-columns: 1fr; }
  .st-price .fm { font-size: 13px; }
}
/* end prices page */
