/* Neuforma studio site. Self-hosted fonts, no third-party requests. */
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/inter-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: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/inter-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+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/ibm-plex-mono-latin-400-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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ebe7f5; --ink: #1d1c21; --muted: #5d5a66; --line: #1d1c21; --soft: rgba(29, 28, 33, .12);
  --accent: #6440c9; --accent-display: #7f56e3;   /* brand violet, darkened to pass WCAG on --bg (3.98:1 large, 5.54:1 small) */ --card: #f6f4fa;
  --wrap: 1200px; --pad: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 46px; height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 16px; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* type */
h1, h2, h3 { font-weight: 300; letter-spacing: -.035em; line-height: 1.05; margin: 0; }
.hero { padding: clamp(40px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); }
.hero .hi { color: var(--accent-display); font-weight: 600; font-size: clamp(40px, 7vw, 88px); letter-spacing: -.045em; line-height: 1.02; }
.hero h1 { font-size: clamp(40px, 7vw, 88px); }
.lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; max-width: 760px; color: var(--ink); margin: 28px 0 0; font-weight: 300; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(34px, 5vw, 60px); }
.section-head a { white-space: nowrap; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

/* buttons + links */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; }
.btn:hover { background: #3a3842; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.ghost:hover { background: rgba(29, 28, 33, .06); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; font-weight: 500; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* services */
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--soft); }
.svc > div { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--soft); }
.svc h3 { font-size: 26px; font-weight: 400; margin-bottom: 12px; }
.svc ul { margin: 0; padding: 0; list-style: none; }
.svc li { padding: 3px 0; color: var(--muted); }
.svc .num { display: block; margin-bottom: 18px; color: var(--accent); }

/* work grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 40px 28px; }
.card { margin: 0; }
.card .ph { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--card); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph.type { display: grid; place-items: center; font-size: 44px; font-weight: 300; letter-spacing: -.04em; background: #dcd5ef; }
.card figcaption { padding-top: 14px; }
.card .t { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.card .d { color: var(--muted); font-size: 15px; }

/* feature (Kind) */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature .shot { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(60, 40, 110, .14); }
.feature .meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.feature .meta img { width: 56px; height: 56px; border-radius: 13px; }
.feature h3 { font-size: clamp(30px, 4vw, 44px); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; }
.tools { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--soft); }
.tools li { display: grid; grid-template-columns: 210px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--soft); }
.tools b { font-weight: 500; }

/* about */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.portrait { border-radius: 22px; overflow: hidden; }
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--soft); }
.facts li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--soft); }
.lenses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.lenses div { background: var(--card); border-radius: 18px; padding: 24px; }
.lenses h3 { font-size: 24px; font-weight: 400; margin-bottom: 8px; }

/* prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; font-weight: 400; margin: 44px 0 14px; letter-spacing: -.02em; }
.prose ul { padding-left: 20px; }

/* contact + footer */
.contact { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 96px) 0; }
.contact h2 { font-size: clamp(40px, 6vw, 72px); }
.contact .mail { font-size: clamp(24px, 3.4vw, 40px); font-weight: 300; letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--ink); }
.foot { padding: 40px 0 48px; border-top: 1px solid var(--soft); font-size: 14px; color: var(--muted); }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.foot b { color: var(--ink); font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 2px 0; }
.foot .copy { margin-top: 32px; }

@media (max-width: 860px) {
  .feature, .split { grid-template-columns: 1fr; }
  .lenses { grid-template-columns: 1fr; }
  .tools li, .facts li { grid-template-columns: 1fr; gap: 2px; }
  .foot .cols { grid-template-columns: 1fr; }
  .top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
