:root {
  --bg: #fff; --alt: #f4f4f2; --text: #111; --muted: #5d5d5d; --line: #e2e2de;
  --accent: #0b4a9e; --dark: #121212;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin: 0 auto; }

/* header */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.nav { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.logo { text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.logo::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--accent); margin-right: .55rem; }
nav a { text-decoration: none; margin-left: 2rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 1.5rem 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a.current { border-bottom-color: var(--accent); }

nav { display: flex; align-items: center; }
.has-sub { position: relative; display: flex; }
nav a { display: block; line-height: 1.2; }
.has-sub > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); vertical-align: middle; }
.sub { display: none; position: absolute; top: 100%; left: 1rem; min-width: 190px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { display: block; margin: 0; padding: .85rem 1.1rem; border-bottom: 0; }
.sub a:hover { background: var(--alt); }

/* type */
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; max-width: 900px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; margin-bottom: .8rem; }
h3 { font-size: 1.35rem; letter-spacing: -.01em; margin-bottom: .5rem; }
p { color: var(--muted); }
.lead { font-size: 1.25rem; max-width: 680px; margin-top: 1.6rem; color: #333; }
.intro { max-width: 640px; margin-bottom: 2.5rem; }
.caption { font-size: .85rem; font-family: var(--mono); margin-top: .8rem; }
.caption a { text-decoration: none; }

/* hero with subtle grid */
.hero { padding: 7rem 0 6rem; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; background-position: -1px -1px; -webkit-mask-image: none; position: relative; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 45%, rgba(255,255,255,.1)); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero.wrap { width: 100%; padding-left: max(1.5rem, calc((100% - 1120px) / 2)); padding-right: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--accent); }

section { padding: 5rem 0; border-top: 1px solid var(--line); }

/* service cards */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { grid-column: span 2; background: var(--bg); padding: 2.2rem 2rem 2rem; position: relative; display: block; text-decoration: none; transition: background .15s; }
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .2s; }
.service:hover { background: var(--alt); }
.service:hover::before { width: 100%; }
.service .n { font-family: var(--mono); font-size: .78rem; color: var(--accent); letter-spacing: .08em; margin-bottom: 1.2rem; }
.service p { font-size: 1rem; }
.service .more { display: inline-block; margin-top: 1.2rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.service:hover .more { color: var(--accent); }


.services .service:nth-child(n+4) { grid-column: span 3; }
.page .services { margin-top: 2.5rem; }
.services .service.wide { grid-column: 1 / -1; }

/* inner pages */
.page { padding: 5rem 0 5rem; }
.page .caption:first-child { margin: 0 0 2rem; }
.page h2 { margin-top: 4rem; }
.page p + p { margin-top: 1rem; }
.btn { display: inline-block; margin-top: 2.5rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: .2rem; }
.btn:hover { color: var(--accent); }
.list { list-style: none; margin-top: 2.5rem; }
.list li { padding: 1.1rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list strong { color: var(--text); display: block; font-weight: 700; }
.figure { background: var(--alt); padding: 2rem; margin-top: 2.5rem; }
.figure svg { display: block; width: 100%; height: auto; }
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 1.5rem; }
.stages .n { font-size: 3rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: .6rem; }

/* footer */
footer { background: var(--dark); color: #aaa; padding: 2.2rem 0 2.6rem; font-size: .85rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
footer a { color: #fff; text-decoration: none; margin-left: 1.5rem; }
footer a:hover { color: #8db8ff; }

.hero-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.hero-art-link { display: block; transition: transform .2s, opacity .2s; }
.hero-art-link:hover { transform: translateY(-3px); opacity: .92; }
.hero-art-link:focus-visible { outline: 2px solid #0b4a9e; outline-offset: 4px; }
.hero-art { width: 100%; height: auto; display: block; }
.page section.tool { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; padding: 3rem 0; margin-top: 3rem; border-top: 1px solid var(--line); }
.tool:first-of-type { margin-top: 4rem; }
.tool-head .n { font-family: var(--mono); font-size: .95rem; font-weight: 700; color: var(--accent); letter-spacing: .08em; margin-bottom: 1rem; }
.tool-head h2 { margin: 0 0 .8rem; }
.tool-head .tag { color: var(--text); font-weight: 600; }
.tool .list { margin-top: 1.8rem; }
.contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: 4rem; margin-top: 3rem; }
.form label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.3rem; }
.form input, .form textarea { display: block; width: 100%; margin-top: .4rem; padding: .8rem .9rem; font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; border: 1px solid #bbb; border-radius: 0; background: #fff; color: var(--text); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.form button { background: var(--accent); color: #fff; border: 0; padding: .95rem 1.8rem; font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.form button:hover { background: #083a7d; }
.person { border-top: 3px solid var(--accent); padding-top: 1.2rem; align-self: start; }
.person .n { font-family: var(--mono); font-size: .78rem; color: var(--accent); letter-spacing: .08em; margin-bottom: .6rem; }
.person .who { color: var(--text); font-weight: 700; font-size: 1.2rem; }
.person .phone { font-size: 1.4rem; margin-top: .2rem; }
.person .phone a { text-decoration: none; }
.person .phone a:hover { color: var(--accent); }
@media (max-width: 800px) {
  .sub { display: none !important; }
  .has-sub > a::after { display: none; }
  .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .services .service, .services .service:nth-child(n) { grid-column: 1 / -1 !important; }
  .page section.tool { grid-template-columns: 1fr; gap: 1.2rem; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art-link { max-width: 380px; }
  .services, .stages { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3.5rem; }
  section, .page { padding: 3rem 0; }
  nav a { margin-left: 1rem; font-size: .7rem; letter-spacing: .04em; }
  .logo { font-size: 1rem; }
}

/* Workshops */
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: start; }
.split .list:first-of-type { margin-top: 2.5rem; }
.side { border-left: 1px solid var(--line); padding-left: 2.5rem; margin-top: 2.5rem; }
.side h2 { margin-top: 0; font-size: 1.6rem; }
.side .ws { list-style: none; margin-top: 1.2rem; counter-reset: ws; }
.side .ws li { border-top: 1px solid var(--line); }
.side .ws li:last-child { border-bottom: 1px solid var(--line); }
.side .ws li { counter-increment: ws; }
.side .ws a::before { content: counter(ws) ". "; color: var(--muted); font-family: var(--mono); }
.side .ws a { display: block; padding: .8rem 0; text-decoration: none; font-weight: 600; }
.side .ws a:hover { color: var(--accent); }
.topics { margin: 2rem 0 0 1.2rem; color: var(--muted); }
.topics li { padding: .25rem 0; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 2rem; } .side { border-left: 0; padding-left: 0; } }

.wslist { list-style: none; margin-top: 1.5rem; counter-reset: wl; }
.wslist li { border-top: 1px solid var(--line); counter-increment: wl; }
.wslist li:last-child { border-bottom: 1px solid var(--line); }
.wslist a { display: block; padding: 1.1rem 0; text-decoration: none; color: inherit; }
.wslist a:hover strong { color: var(--accent); }
.wslist strong { display: block; font-size: 1.15rem; margin-bottom: .25rem; }
.wslist strong::before { content: counter(wl) ". "; color: var(--muted); font-family: var(--mono); }
.form-status { margin-top: 1rem; font-size: .95rem; }
.form button:disabled { opacity: .6; cursor: default; }

/* Pricing / packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; align-items: stretch; }
.package { border: 1px solid var(--line); border-top: 3px solid var(--accent); background: var(--bg); display: flex; flex-direction: column; }
.package-body { padding: 2rem 1.8rem 1.6rem; flex: 1; }
.package h2 { margin: 0; font-size: 1.5rem; }
.package .for { margin-top: .6rem; color: var(--muted); font-size: .95rem; }
.package ul { list-style: none; margin-top: 1.5rem; }
.package li { position: relative; padding: .35rem 0 .35rem 1.2rem; color: var(--text); font-size: .98rem; }
.package li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 6px; height: 6px; background: var(--accent); }
.package .result { background: var(--alt); padding: 1.3rem 1.8rem; font-size: .92rem; border-top: 1px solid var(--line); }
.package .result strong { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; }
.page .more-info { margin-top: 3rem; padding-top: 0; }
@media (max-width: 860px) { .packages { grid-template-columns: 1fr; } }

/* Package calls to action */
.cta-band, .page .next { display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--alt); border-left: 3px solid var(--accent); padding: 2rem 2.2rem; }
.cta-band { margin-top: 2.5rem; }
.cta-band h3, .page .next h2 { margin: 0 0 .5rem; font-size: 1.25rem; }
.cta-band p, .page .next p { max-width: 640px; margin: 0; }
.cta-band .btn, .page .next .btn { margin-top: 0; white-space: nowrap; }
.page .next { margin-top: 4rem; }
@media (max-width: 860px) { .cta-band, .page .next { flex-direction: column; align-items: flex-start; } }
