/* JMK Studio — site stylesheet. Same system as the business card: Inter 400/600, black and paper white. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); }

:root {
  --ink: #000000;
  --paper: #ffffff;
  --paper-warm: #f6f5f2;
  --muted: #5f5f5f;
  --muted-on-dark: #b8b8b8;
  --line: #e4e3df;
  --line-on-dark: #2a2a2a;
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 4px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01";
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; font-size: 17px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header + hero share the black band */
.band-dark { background: var(--ink); color: var(--paper); }
.band-dark .muted { color: var(--muted-on-dark); }
header.site { padding: 22px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; }
nav.primary { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 0.95rem; }
nav.primary a { text-decoration: none; opacity: 0.9; }
nav.primary a:hover, nav.primary a:focus { text-decoration: underline; opacity: 1; }
nav.primary .lang { border: 1px solid var(--line-on-dark); border-radius: var(--radius); padding: 3px 9px; opacity: 1; }

.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 42em; color: var(--muted-on-dark); }
.hero h1 { max-width: 14em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 0.95rem; border: 1px solid currentColor; }
.btn.primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.primary:hover { background: #e9e9e9; border-color: #e9e9e9; }
.band-dark .btn.ghost:hover { background: rgba(255,255,255,0.08); }
.btn.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.dark:hover { background: #222; }

section { padding: clamp(56px, 8vw, 104px) 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 40px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.kicker::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.band-dark .kicker { color: var(--muted-on-dark); }

.grid { display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) { .grid.two { grid-template-columns: 1fr; } }
.item h3 { margin-bottom: 0.35em; }
.item p { margin: 0; color: var(--muted); }
.num { font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 8px; display: block; }

.services .item { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); }
.warm { background: var(--paper-warm); }

.about { display: grid; gap: 32px 56px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.about .role { font-weight: 600; margin-bottom: 4px; }
.about .portrait { width: min(100%, 240px); height: auto; border-radius: var(--radius); margin-bottom: 20px; }
.contact-page .portrait { width: 96px; height: 96px; border-radius: var(--radius); object-fit: cover; margin-bottom: 20px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

.contact-band .details { display: grid; gap: 20px 40px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 28px; }
.contact-band dt { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 6px; }
.contact-band dd { margin: 0; font-size: 1.25rem; font-weight: 600; }
.contact-band dd a { text-decoration: none; }
.contact-band dd a:hover { text-decoration: underline; }

/* contact page */
.contact-page { padding: clamp(56px, 8vw, 104px) 0; }
.contact-page .big { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; word-break: break-all; }
.contact-page .big:hover { text-decoration: underline; }
.contact-page dl { margin: 32px 0; display: grid; gap: 28px; }
.contact-page dt { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-page dd { margin: 0; }
.note { border-left: 3px solid var(--ink); padding: 4px 0 4px 18px; max-width: 40em; color: var(--muted); }

footer.site { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 0.9rem; color: var(--muted); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
footer.site img { height: 22px; width: auto; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .band-dark { background: #fff; color: #000; } .btn { border-color: #000; } }
