/* Fimura — minimalist site styles. Plain CSS, no build step. */
:root {
  --bg: #fafaf9;
  --ink: #111111;
  --muted: #6b6b6b;
  --faint: #a3a3a3;
  --line: #e7e5e4;
  --accent: #ff5a1f;
  --wrap: 1080px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e0e0e; --ink: #f2f2f2; --muted: #a1a1a1; --faint: #6b6b6b; --line: #262626; }
}
* { 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; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; z-index: 10; }

/* header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { font-weight: 600; font-size: 19px; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 8px; }
.logo::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { color: var(--muted); transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 560px) { .nav { gap: 18px; font-size: 14.5px; } .wrap { padding: 0 20px; } }

/* type */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(42px, 7.2vw, 88px); }
h2 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -0.03em; }
h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }
.label { font-size: 13px; color: var(--faint); letter-spacing: 0; }
.lede { font-size: clamp(18px, 2.1vw, 22px); color: var(--muted); max-width: 620px; line-height: 1.5; letter-spacing: -0.012em; }
.muted { color: var(--muted); }

/* links as buttons */
.cta-row { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 44px; }
.link { font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link.arrow::after { content: " →"; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); padding: 14px 22px; border-radius: 999px; font-weight: 500; font-size: 15.5px; transition: transform .15s; }
.pill:hover { transform: translateY(-1px); }
.pill::after { content: "→"; }

/* sections */
section { padding: 120px 0; }
section.first { padding-top: 110px; }
@media (max-width: 700px) { section { padding: 84px 0; } section.first { padding-top: 64px; } }
.head { display: grid; grid-template-columns: 220px 1fr; gap: 40px; margin-bottom: 56px; }
.head h2 { max-width: 640px; }
@media (max-width: 800px) { .head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; } }

/* hero */
.hero h1 { max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--faint); }
.hero .lede { margin-top: 32px; }

/* numbered rows */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row .n { font-size: 14px; color: var(--faint); font-variant-numeric: tabular-nums; }
.row p { color: var(--muted); }
.row ul { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 15.5px; }
.row li { padding: 2px 0; }
.row li::before { content: "— "; color: var(--faint); }
a.row { transition: background .15s; }
a.row:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 800px) { .row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; } }

/* three columns */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.cols3 > div { border-top: 1px solid var(--ink); padding-top: 20px; }
.cols3 h3 { margin-bottom: 10px; }
.cols3 p { color: var(--muted); font-size: 16px; }
@media (max-width: 800px) { .cols3 { grid-template-columns: 1fr; gap: 32px; } }

/* contact block */
.contact-big { font-size: clamp(30px, 5.4vw, 64px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
.contact-big a { border-bottom: 2px solid var(--accent); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--faint); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--ink); }
.site-footer nav { display: flex; gap: 22px; }

/* prose (about) */
.prose { max-width: 640px; }
.prose p { font-size: 19px; line-height: 1.65; color: var(--muted); margin-bottom: 22px; letter-spacing: -0.01em; }
.prose p strong { color: var(--ink); font-weight: 500; }

/* social links in the footer */
.site-footer .socials { margin-left: 14px; }
.site-footer .socials a { margin: 0 2px; }
@media (max-width: 560px) { .site-footer .socials { display: block; margin: 8px 0 0; } }
.lede a[rel~="me"] { color: var(--ink); border-bottom: 1px solid var(--line); }
.lede a[rel~="me"]:hover { border-bottom-color: var(--ink); }

/* ---------- motion: animated line icons + small touches ---------- */
.row .n { display: flex; flex-direction: column; gap: 18px; }
.ic { display: block; width: 52px; height: 52px; color: var(--ink); overflow: visible; }
.step .ic { width: 44px; height: 44px; margin-bottom: 18px; }
.ic .f { stroke: var(--faint); }
.ic .a { stroke: var(--accent); }
.ic .af { fill: var(--accent); }
.ic .fd { fill: var(--faint); }
.ic .t { transform-box: fill-box; transform-origin: center; }
.ic .d1 { animation-delay: .35s !important; }
.ic .d2 { animation-delay: .7s !important; }
.ic .d3 { animation-delay: 1.3s !important; }
@media (max-width: 800px) { .row .n { flex-direction: row; align-items: center; justify-content: space-between; } .row .ic { width: 36px; height: 36px; } }

/* websites: content lines type themselves in */
.ic .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ic-draw 5s ease-in-out infinite; }
@keyframes ic-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 22%, 78% { stroke-dashoffset: 0; opacity: 1; } 92%, 100% { stroke-dashoffset: 0; opacity: 0; } }

/* booking: a slot gets picked and confirmed */
.ic .pop { animation: ic-pop 5s ease infinite; }
.ic .check { stroke: #fff; stroke-width: 1.7; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ic-check 5s ease infinite; }
@keyframes ic-pop { 0%, 14% { transform: scale(0); } 26% { transform: scale(1.15); } 32%, 80% { transform: scale(1); } 90%, 100% { transform: scale(0); } }
@keyframes ic-check { 0%, 32% { stroke-dashoffset: 1; opacity: 1; } 44%, 78% { stroke-dashoffset: 0; opacity: 1; } 86%, 100% { stroke-dashoffset: 0; opacity: 0; } }

/* automation: work flows from one tool to the next */
.ic .flow { stroke-width: 2; stroke-dasharray: .16 1.2; stroke-dashoffset: .16; animation: ic-flow 2.6s linear infinite; }
.ic .ping { animation: ic-ping 2.6s linear infinite; }
@keyframes ic-flow { to { stroke-dashoffset: -1.04; } }
@keyframes ic-ping { 0%, 76% { stroke: var(--ink); } 84% { stroke: var(--accent); } 100% { stroke: var(--ink); } }

/* ai: a slow breathing sparkle */
.ic .spark { animation: ic-breathe 3.6s ease-in-out infinite; }
.ic .tw { animation: ic-twinkle 3.6s ease-in-out infinite; }
@keyframes ic-breathe { 0%, 100% { transform: scale(.86) rotate(0deg); } 50% { transform: scale(1) rotate(12deg); } }
@keyframes ic-twinkle { 0%, 100% { opacity: .25; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }

/* search: a lens scans the page */
.ic .scan { animation: ic-scan 4.4s ease-in-out infinite; }
@keyframes ic-scan { 0%, 100% { transform: translate(0, 0); } 45%, 55% { transform: translate(-12px, -12px); } }

/* care: a steady heartbeat */
.ic .pulse { stroke-width: 2; stroke-dasharray: .3 1.4; stroke-dashoffset: .3; animation: ic-pulse 2.8s linear infinite; }
@keyframes ic-pulse { to { stroke-dashoffset: -1.1; } }

/* how we work */
.ic .look { animation: ic-look 5s ease-in-out infinite; }
@keyframes ic-look { 0%, 18%, 100% { transform: translateX(0); } 28%, 45% { transform: translateX(-6px); } 55%, 75% { transform: translateX(6px); } }
.ic .drop { animation: ic-drop 4.4s ease infinite; }
@keyframes ic-drop { 0% { transform: translateY(-10px); opacity: 0; } 14%, 80% { transform: translateY(0); opacity: 1; } 94%, 100% { transform: translateY(0); opacity: 0; } }
.ic .grow { transform-origin: center bottom; animation: ic-grow 4.4s ease-in-out infinite; }
@keyframes ic-grow { 0%, 100% { transform: scaleY(.25); } 35%, 75% { transform: scaleY(1); } }

/* hero enters gently */
.hero .label, .hero h1, .hero .lede, .hero .cta-row { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 { animation-delay: .06s; }
.hero .lede { animation-delay: .14s; }
.hero .cta-row { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* the logo dot breathes; arrows nudge on hover */
.logo::before { animation: dot 4s ease-in-out infinite; }
@keyframes dot { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .45); } 85% { box-shadow: 0 0 0 5px rgba(255, 90, 31, 0); } }
.pill::after, .link.arrow::after { display: inline-block; transition: transform .2s ease; }
.link.arrow::after { content: "→"; margin-left: .3em; }
.pill:hover::after, .link.arrow:hover::after { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .ic *, .hero *, .logo::before { animation: none !important; }
  .ic .draw, .ic .check { stroke-dashoffset: 0; }
  .ic .flow, .ic .pulse { display: none; }
}

/* contact form */
.cform { max-width: 680px; display: grid; gap: 18px; }
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .cgrid { grid-template-columns: 1fr; } }
.cform label { display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.cform .opt { color: var(--faint); }
.cform input, .cform textarea { font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .15s; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--ink); }
.cform textarea { resize: vertical; min-height: 140px; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform .pill { border: 0; cursor: pointer; font: inherit; font-weight: 500; font-size: 15.5px; }
.cform .pill:disabled { opacity: .6; cursor: default; }
.csend { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cstatus { font-size: 14.5px; color: var(--muted); } .cstatus.ok { color: var(--ink); } .cstatus.err { color: #c2410c; }
.cform .note { font-size: 13px; color: var(--faint); } .cform .note a { text-decoration: underline; text-underline-offset: 3px; }

/* cookie consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 520px; margin-left: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.3); font-size: 14.5px; }
.consent[hidden] { display: none; }
.consent p { color: var(--muted); } .consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent-btns { display: flex; gap: 10px; margin-top: 12px; }
.consent-btns button { font: inherit; font-size: 14px; font-weight: 500; padding: 9px 18px; border-radius: 999px; cursor: pointer; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); }
.consent-btns button[data-consent="no"] { background: transparent; color: var(--ink); }
