/* Nicolas Pisar portfolio redesign, "Crête": slate-blue night, coral contour lines, wide sans-serif (Archivo),
   the logo's coral as accent. Logo, hexagon portrait and menu indicator come from brand.js and motion.css. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,300..800&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
	--snow: #eff1f4; --card: #ffffff; --ink: #111925; --soft: #5a6573; --line: #d5dae1;
	--night: #111925; --night-2: #18222f; --on-night: #e9edf2; --on-night-soft: #9aa6b4; --contour: #4b3238;
	--sail: #dc5c48; --sail-ink: #ffffff; --logo: #dc5c48; --hl: var(--sail); --night-line: rgba(255,255,255,.14);
	--sans: "Archivo", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
	color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--snow); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sans); font-weight: 750; font-stretch: 112%; line-height: 1.02; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 7vw, 96px); }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: 24px; letter-spacing: -.015em; }
h1 .o, h2 .o { color: var(--sail); }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 32px; }
@media (max-width: 700px) { .wrap { padding-inline: 16px; } }
.mono { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.lede { font-size: 20px; line-height: 1.55; color: var(--soft); max-width: 56ch; }

/* dark blocks with contour lines */
.dark { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; isolation: isolate; }
.dark .lede, .dark .soft { color: var(--on-night-soft); }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--contour); z-index: -1; opacity: .9; }
.dark.fade .topo { mask-image: linear-gradient(100deg, transparent 25%, #000 75%); }
/* page headers are not isolated, so the header (and the phone tab bar inside it) stays above the rest of the page */
[data-topo="hero"] { isolation: auto; }
[data-topo="hero"] > .topo { z-index: 0; }
[data-topo="hero"] > :not(.topo) { position: relative; z-index: 1; }
[data-topo="hero"] > .top, [data-topo="hero"] .top { z-index: 60; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 22px; flex-wrap: wrap; position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-stretch: 112%; font-size: 18px; letter-spacing: -.01em; }
.brand svg { width: 44px; height: 44px; color: var(--logo); flex: none; }
.nav { display: flex; gap: 6px; align-items: center; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; white-space: nowrap; padding: 8px 14px; border-radius: 999px; }
.nav-ind { top: var(--y, 0px); height: var(--h, 0px); border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); }
.nav a:not(.btn):hover { color: inherit; }
.nav .btn { margin-left: 10px; }
.nav .btn .s { display: none; }
@media (max-width: 760px) { .nav .btn .l { display: none; } .nav .btn .s { display: inline; } }
@media (max-width: 760px) { .nav { width: 100%; overflow-x: auto; margin-inline: -14px; } .nav a { padding-inline: 10px; } .nav .btn { margin-left: auto; } }

.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15px var(--sans); text-decoration: none; border-radius: 999px; padding: 12px 22px; background: var(--sail); color: var(--sail-ink); border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.line:hover { background: color-mix(in srgb, currentColor 10%, transparent); filter: none; }
a:focus-visible, button:focus-visible, input:focus, select:focus, textarea:focus { outline: 2px solid var(--sail); outline-offset: 2px; }

/* home hero */
.hero { padding-block: 80px 0; min-height: min(88vh, 820px); display: flex; flex-direction: column; }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: end; flex: 1; }
.hero h1 { margin-block: 22px 28px; max-width: 13ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--night-line); border-radius: 999px; padding: 7px 14px 7px 10px; background: color-mix(in srgb, var(--night) 70%, transparent); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5fd38d; box-shadow: 0 0 0 4px rgba(95,211,141,.2); }
.me svg, .photo-frame svg { display: block; width: 100%; height: auto; overflow: visible; }
.me .ring, .photo-frame .ring { fill: none; stroke: var(--sail); stroke-width: 1.2; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; border-top: 1px solid var(--night-line); }
.stats div { padding: 24px 20px 28px 0; }
.stats div + div { padding-left: 20px; border-left: 1px solid var(--night-line); }
.stats b { display: block; font-size: 40px; font-weight: 750; font-stretch: 112%; letter-spacing: -.03em; line-height: 1.1; }
.stats span { color: var(--on-night-soft); }
@media (max-width: 860px) {
	.hero .grid { grid-template-columns: 1fr; }
	.me { max-width: 240px; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stats div, .stats div + div { padding: 18px 12px; border-left: 0; }
	.stats div:nth-child(even) { border-left: 1px solid var(--night-line); }
	.stats div:nth-child(n+3) { border-top: 1px solid var(--night-line); }
}

section { padding-block: 96px; }
@media (max-width: 700px) { section { padding-block: 64px; } }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.head .mono { color: var(--sail); display: block; margin-bottom: 14px; }
.arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.arrow::after { content: ""; transition: transform .2s; }
.arrow:hover::after { transform: translateX(4px); }

/* project cards */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: 18px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(20,33,28,.35); }
.card .img { background: #e3e7e1; aspect-ratio: 16/10; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card .body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.card .row { display: flex; justify-content: space-between; gap: 12px; color: var(--soft); }
.card p { color: var(--soft); font-size: 16px; }
.card.big { grid-column: span 2; grid-row: span 2; }
.card.big .img { aspect-ratio: auto; flex: 1; min-height: 320px; }
.card.big img { object-position: left top; }
.card.big h3 { font-size: 34px; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .card.big { grid-row: auto; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .card.big { grid-column: auto; } .card.big .img { min-height: 0; aspect-ratio: 16/10; } }

/* service rows (home) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 40px; gap: 24px; align-items: center; padding-block: 28px; border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 28px; }
.rows p { color: var(--soft); }
.rows li > span:last-child { font-size: 24px; text-align: right; color: var(--soft); }
@media (max-width: 760px) { .rows li { grid-template-columns: 1fr; gap: 8px; } .rows li > span:last-child { display: none; } }

/* hobbies: equal text cards, no pictures */
.hobbies { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.hob { border-radius: 18px; padding: 24px; min-height: 0; display: flex; flex-direction: column; gap: 8px; background: var(--night-2); border: 1px solid var(--night-line); }
.hob h3 { font-size: 24px; }
.hob p { color: var(--on-night-soft); font-size: 16px; }
@media (max-width: 1000px) { .hobbies { grid-template-columns: repeat(6, minmax(0, 1fr)); } .hob { grid-column: span 2; } .hob:nth-child(n+4) { grid-column: span 3; } }
@media (max-width: 560px) { .hobbies { grid-template-columns: 1fr; } .hob, .hob:nth-child(n+4) { grid-column: auto; min-height: 0; } }

/* call to action band */
.cta { background: var(--sail); color: var(--sail-ink); }
.cta .wrap { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.cta h2 { max-width: 14ch; }
.cta a.mail { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; }

.foot { padding-block: 40px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; align-items: center; }
.foot .links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { text-decoration: none; color: var(--on-night-soft); }
.foot a:hover { color: var(--on-night); }

/* inner page header */
.pagehead { padding-block: 72px 80px; }
.pagehead h1 { margin-block: 18px 24px; max-width: 16ch; font-size: clamp(40px, 6vw, 80px); }
.pagehead .mono { color: var(--sail); }

/* portfolio: category filters, then one card per project in its accent colour (--c, text on it --t).
   The motion lives in motion.css. */
.works-page { padding-block: 40px 96px; }
.filters { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 32px; }
.filters button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--soft); background: none; border: 0; border-radius: 999px; padding: 11px 18px; cursor: pointer; }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--on-night); }
.filters sup { font-size: 10px; margin-left: 4px; opacity: .65; }
.filters .pill { position: absolute; left: 0; top: 0; z-index: -1; border-radius: 999px; background: var(--ink); pointer-events: none; }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work { position: relative; isolation: isolate; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; text-decoration: none; }
.work .img { aspect-ratio: 16/10; overflow: hidden; background: color-mix(in srgb, var(--c) 22%, var(--snow)); }
.work img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work .body { padding: 20px 22px 26px; display: grid; gap: 8px; align-content: start; }
.work .row { display: flex; align-items: center; gap: 12px; color: var(--soft); }
.work .row .n { margin-left: auto; }
.work p { color: var(--soft); font-size: 16px; }
.work .visit { color: var(--sail); font-weight: 600; margin-top: 6px; }
.work.lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; }
.work.lead .img { aspect-ratio: auto; min-height: 400px; }
.work.lead .body { padding: 40px; align-content: center; }
.work.lead h3 { font-size: 40px; }
@media (max-width: 760px) {
	.works { grid-template-columns: 1fr; }
	.work.lead { grid-template-columns: 1fr; }
	.work.lead .img { min-height: 0; aspect-ratio: 16/10; }
	.work.lead .body { padding: 20px 22px 26px; }
	.work.lead h3 { font-size: 24px; }
	.filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
	.filters button { white-space: nowrap; padding-inline: 14px; }
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; list-style: none; padding: 0; }
.chips li, .chips span { font: 500 12px var(--mono); padding: 4px 10px; border-radius: 6px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--soft); }
.card .visit { color: var(--sail); font-weight: 600; margin-top: 6px; }

/* about */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.photo-frame { position: relative; }
.prose p { font-size: 19px; line-height: 1.7; margin-bottom: 22px; }
.prose p:first-child { font-size: 24px; line-height: 1.5; font-weight: 500; color: var(--ink); }
.prose p { color: var(--soft); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 48px; } .photo-frame { max-width: 360px; } }

.route { list-style: none; margin: 0; padding: 0; position: relative; }
.route::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; border-left: 2px dashed var(--line); }
.route li { position: relative; padding: 0 0 40px 48px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
.route li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--snow); border: 3px solid var(--sail); }
.route .mono { color: var(--soft); padding-top: 4px; }
.route h3 { margin-bottom: 6px; }
.route p { color: var(--soft); }
@media (max-width: 700px) { .route li { grid-template-columns: 1fr; gap: 6px; padding-left: 36px; } }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.value .mono { color: var(--sail); display: block; margin-bottom: 40px; }
.value h3 { margin-bottom: 10px; }
.value p { color: var(--soft); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* services */
.svc { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.svc article { grid-column: span 2; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; isolation: isolate;
	transition: transform .4s cubic-bezier(.3, 1.4, .5, 1), box-shadow .4s, border-color .4s; }
.svc article::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--sail); transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.6, 0, .2, 1); }
.svc article:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--sail) 35%, var(--line)); box-shadow: 0 26px 44px -26px rgba(17, 25, 37, .4); }
.svc article:hover::before { transform: scaleX(1); }
.svc .topo { color: var(--line); opacity: 0; transition: opacity .6s; mask-image: radial-gradient(circle at 100% 0%, #000 0%, transparent 70%); }
.svc article:hover .topo { opacity: 1; }
.svc article.dark .topo { color: var(--contour); opacity: .7; mask-image: none; }
.svc article.dark:hover .topo { opacity: 1; }
.svc .ico { width: 52px; height: 52px; margin-bottom: 16px; overflow: visible; }
.refs { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.refs .mono { color: var(--soft); }
.stack { display: flex; flex: none; filter: drop-shadow(0 2px 3px rgba(17, 25, 37, .18)); }
.ref { position: relative; display: block; margin-left: -8px; text-decoration: none; transition: margin .4s cubic-bezier(.3, 1.4, .5, 1), transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.ref:first-child { margin-left: 0; }
.svc article:hover .ref:not(:first-child) { margin-left: 4px; }
.ref:hover, .ref:focus-visible { transform: translateY(-4px) scale(1.12); z-index: 1; }
.ref:focus-visible { outline: none; }
.ref:focus-visible .hx { outline: 2px solid var(--sail); }
.tip { position: absolute; left: 50%; bottom: calc(100% + 8px); translate: -50% 4px; white-space: nowrap; font: 600 12px var(--sans); color: #fff; background: var(--ink); padding: 5px 9px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s, translate .25s; }
.tip::after { content: ""; position: absolute; left: 50%; top: 100%; translate: -50% 0; border: 5px solid transparent; border-top-color: var(--ink); }
.ref:hover .tip, .ref:focus-visible .tip { opacity: 1; translate: -50% 0; }
.svc article:nth-child(n+4) { grid-column: span 3; }
.svc p { color: var(--soft); }
.svc small { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--soft); font-size: 14px; }
.svc article.dark { border: 0; background: var(--night); }
.svc article.dark p, .svc article.dark small { color: var(--on-night-soft); }
.svc article.dark small { border-color: var(--night-line); }
@media (max-width: 960px) { .svc { grid-template-columns: 1fr 1fr; } .svc article, .svc article:nth-child(n+4) { grid-column: span 1; } .svc article:last-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .svc { grid-template-columns: 1fr; } .svc article:last-child { grid-column: auto; } }

.waypoints { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.waypoints::before { content: ""; position: absolute; top: 7px; left: 8px; right: 8px; border-top: 2px dashed var(--night-line); }
.waypoints li { position: relative; }
.waypoints b { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--sail); box-shadow: 0 0 0 6px color-mix(in srgb, var(--sail) 25%, transparent); margin-bottom: 28px; }
.waypoints h3 { margin-bottom: 8px; }
.waypoints p { color: var(--on-night-soft); }
@media (max-width: 860px) {
	.waypoints { grid-template-columns: 1fr; gap: 32px; }
	.waypoints::before { top: 8px; bottom: 8px; left: 7px; right: auto; border-top: 0; border-left: 2px dashed var(--night-line); }
	.waypoints li { padding-left: 40px; }
	.waypoints b { position: absolute; left: 0; top: 0; }
}

/* FAQ as a short conversation: the visitor's question (night bubble, right), my answer (white bubble, left, hexagon avatar) */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 56px; }
.faq article { display: grid; gap: 10px; padding-left: 50px; }
.faq h3 { justify-self: end; max-width: 88%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--night); color: var(--on-night);
	font: 600 16.5px/1.4 var(--sans); letter-spacing: 0; text-wrap: pretty; transform-origin: 100% 100%; }
.faq p { position: relative; justify-self: start; max-width: 94%; margin: 0; padding: 14px 18px; border-radius: 18px 18px 18px 4px; background: var(--card); border: 1px solid var(--line);
	color: var(--ink); box-shadow: 0 12px 26px -20px rgba(17, 25, 37, .4); transform-origin: 0 100%; }
.faq p::before { content: ""; position: absolute; left: -50px; bottom: -1px; width: 38px; height: 38px; background: url("img/profile-pict.jpg") center 25% / cover;
	clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); transform-origin: 50% 100%; }
/* typing indicator laid over the answer bubble while it "writes" */
.faq p::after { content: "•••"; position: absolute; inset: 0; display: flex; align-items: center; padding-inline: 18px; border-radius: inherit; background: var(--card);
	color: var(--sail); font-size: 22px; letter-spacing: 4px; opacity: 0; pointer-events: none; }
.faq article:hover p::before { animation: np-nod .7s cubic-bezier(.3, 1.6, .5, 1); }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 100vh; }
.contact .left { padding: 0 48px 48px; display: flex; flex-direction: column; }
.contact .left .top { padding-inline: 0; }
.contact .left h1 { font-size: clamp(40px, 5vw, 72px); margin-block: auto 24px; padding-top: 64px; }
.contact .info { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 18px; }
.contact .info li { display: grid; gap: 2px; }
.contact .info .mono { color: var(--on-night-soft); }
.contact .info a { text-decoration: none; font-size: 18px; font-weight: 600; }
.contact .info a:hover { color: var(--sail); }
.contact .right { padding: 96px 64px; display: flex; align-items: center; }
form { display: grid; gap: 22px; width: 100%; max-width: 620px; }
label { display: grid; gap: 8px; font-weight: 600; font-size: 14px; }
input, select, textarea { font: 16px var(--sans); color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; width: 100%; }
textarea { min-height: 170px; resize: vertical; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pick legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.pick label { font-weight: 500; font-size: 15px; display: block; position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--card); }
.pick input:checked + span { border-color: var(--sail); box-shadow: inset 0 0 0 1px var(--sail); }
.pick input:focus-visible + span { outline: 2px solid var(--sail); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn:disabled { opacity: .6; cursor: progress; }
.form-status { color: var(--soft); font-size: 15px; max-width: 46ch; }
.form-status[data-kind="error"] { color: #b93a28; font-weight: 600; }
.sent-ok { display: grid; gap: 14px; justify-items: start; max-width: 520px; outline: none; }
.sent-ok .mono { color: var(--sail); }
.sent-ok h2 { font-size: clamp(30px, 3.6vw, 44px); }
.sent-ok p { color: var(--soft); font-size: 18px; }
.note { color: var(--soft); font-size: 13px; font-weight: 400; }
@media (max-width: 960px) {
	.contact { grid-template-columns: 1fr; min-height: 0; }
	.contact .left { padding: 0 16px 48px; }
	.contact .right { padding: 48px 16px 72px; }
	.pick { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .pair { grid-template-columns: 1fr; } }


/* Crête layout: portrait first, even project grid, hobbies under a coral rule */
.hero .grid { grid-template-columns: 380px minmax(0, 1fr); gap: 72px; align-items: center; }
.hero .me { order: -1; }
.bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card.big { grid-row: auto; }
.card.big .img { aspect-ratio: 16/8; min-height: 0; flex: none; }
.card { border-radius: 4px; }
.hob { background: none; border: 0; border-top: 2px solid var(--sail); border-radius: 0; padding: 20px 0 0; min-height: 0; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; gap: 40px; } .hero .me { max-width: 260px; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .card.big { grid-column: auto; } .card.big .img { aspect-ratio: 16/10; } }

/* project hexagon: a project's accent colour with its initials (cards, project pages) */
.hx { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; background: var(--c); color: var(--t); font: 700 11px/1 var(--sans); letter-spacing: .02em; text-decoration: none;
	clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); }
.hx.big { width: 82px; height: 82px; font-size: 22px; }

/* project detail page */
.case-head { padding-block: 40px 72px; }
.crumbs { display: flex; gap: 10px; color: var(--on-night-soft); margin-bottom: 40px; }
.crumbs a { color: var(--sail); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.case-title { display: flex; align-items: center; gap: 24px; }
.case-title .mono { color: var(--sail); }
.case-head h1 { margin-block: 8px 0; max-width: none; }
.case-head .lede { margin-top: 24px; font-size: 22px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 48px 0 0; border-top: 1px solid var(--night-line); }
.facts div { padding: 20px 20px 0 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--night-line); }
.facts dt { color: var(--on-night-soft); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; }
.facts a { color: var(--on-night); text-decoration: none; border-bottom: 1px solid var(--sail); }
.facts a:hover { color: var(--sail); }
.cover { margin-top: -40px; position: relative; }
.cover img { width: 100%; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(17, 25, 37, .45); background: var(--card); }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 48px; }
.metrics div { border-top: 2px solid var(--sail); padding-top: 16px; }
.metrics b { display: block; font-size: 48px; font-weight: 750; font-stretch: 112%; letter-spacing: -.03em; line-height: 1; }
.metrics span { color: var(--soft); }
.overview { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; }
.overview .mono { color: var(--sail); display: block; margin-bottom: 16px; }
.overview p { font-size: 20px; line-height: 1.6; color: var(--ink); }
.overview .challenge { border-left: 3px solid var(--sail); padding-left: 28px; }
.overview .challenge p { font-size: 24px; font-weight: 600; line-height: 1.45; }
.built { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.built article { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 28px; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), border-color .35s; }
.built article:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--sail) 35%, var(--line)); }
.built h3 { margin-bottom: 10px; }
.built p { color: var(--soft); }
.layers { margin: 0; border-top: 1px solid var(--line); }
.layers div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.layers dt { color: var(--sail); padding-top: 3px; }
.layers dd { margin: 0; font-size: 18px; }
.gallery { display: grid; gap: 28px; }
.g-row.wide { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 20px; }
.g-row.tall { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 20px; }
/* each screenshot sits in a frame from the palette that contrasts with it: night for light screens, white for dark ones;
   the frame turns coral on hover */
.g-row a { display: block; padding: 2px; border-radius: 9px; background: var(--night); box-shadow: 0 18px 40px -22px rgba(17, 25, 37, .5);
	transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), box-shadow .35s, background-color .3s; }
.g-row a[data-tone="dark"] { background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -22px rgba(17, 25, 37, .5); }
.g-row a:hover, .g-row a:focus-visible { transform: translateY(-4px); background: var(--sail); box-shadow: 0 26px 50px -24px rgba(17, 25, 37, .55); }
.g-row img { display: block; border-radius: 7.5px; }
.g-row.tall a { padding: 2.5px; border-radius: 12px; }
.g-row.tall img { border-radius: 9.5px; }
.g-row.wide img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.g-row.wide a:only-child { max-width: 820px; }
.g-row.tall img { width: 100%; height: auto; }
.chips.big li { font-size: 14px; padding: 7px 14px; }
.next { display: block; text-decoration: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 36px; margin-block: 24px 96px; }
.next > .mono { color: var(--sail); }
.next-row { display: flex; align-items: center; gap: 20px; margin-top: 14px; }
.next-row b { display: block; font-size: clamp(28px, 4vw, 44px); font-weight: 750; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.05; }
.next-row b + span { color: var(--soft); }
.next .hx { width: 64px; height: 64px; font-size: 17px; }
.next .arr { margin-left: auto; font-size: 36px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.next:hover .arr { transform: translateX(8px); color: var(--sail); }
.next:hover b { color: var(--sail); }
@media (max-width: 860px) {
	.facts { grid-template-columns: 1fr 1fr; }
	.facts div, .facts div + div { padding: 16px 12px 16px 0; border-left: 0; }
	.facts div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--night-line); }
	.overview { grid-template-columns: 1fr; gap: 40px; }
	.built { grid-template-columns: 1fr; }
	.layers div { grid-template-columns: 1fr; gap: 4px; }
}
/* phones: each gallery row is a swipeable strip that peeks at the next card */
@media (max-width: 700px) {
	.gallery { gap: 4px; }
	.g-row.wide, .g-row.tall { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
		margin-inline: -16px; padding: 8px 16px 28px; scroll-padding-inline: 16px; scrollbar-width: none; }
	.g-row::-webkit-scrollbar { display: none; }
	.g-row a { flex: none; scroll-snap-align: center; }
	.g-row.wide a { width: 84%; }   /* one full screen + the start of the next */
	.g-row.tall a { width: 41%; }   /* two full phones + the start of a third */
	.g-row.wide a:only-child { width: 100%; }
}
@media (max-width: 520px) { .hx.big { width: 64px; height: 64px; font-size: 17px; } .case-title { gap: 16px; } .next .arr { display: none; } .overview .challenge p { font-size: 20px; } }

/* phones: the menu becomes a bottom tab bar (icon + label), above the transition cover */
.nav a { --ic: none; }
/* tab icons: icons/nav/*.svg inlined; --ic-on is the filled version for the current page */
.nav a[href^="/portfolio"]{--ic:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath opacity=%22.5%22 d=%22M7 3.5h11.5a2.5 2.5 0 0 1 2.5 2.5v10%22/%3E%3Crect x=%223%22 y=%227.5%22 width=%2214.5%22 height=%2213%22 rx=%222.5%22 /%3E%3Cpath d=%22m3.6 18.4 4.2-4.4 3 3 2-2 4.2 4%22/%3E%3Ccircle cx=%2213.2%22 cy=%2211.3%22 r=%221.5%22 fill=%22black%22 stroke=%22none%22/%3E%3C/svg%3E");--ic-on:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath opacity=%22.5%22 d=%22M7 3.5h11.5a2.5 2.5 0 0 1 2.5 2.5v10%22/%3E%3Crect x=%223%22 y=%227.5%22 width=%2214.5%22 height=%2213%22 rx=%222.5%22 fill=%22black%22 fill-opacity=%22.22%22/%3E%3Cpath d=%22m3.6 18.4 4.2-4.4 3 3 2-2 4.2 4%22/%3E%3Ccircle cx=%2213.2%22 cy=%2211.3%22 r=%221.5%22 fill=%22black%22 stroke=%22none%22/%3E%3C/svg%3E")}
.nav a[href^="/services"]{--ic:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7.2 3.9 10.75 5.95V10.05L7.2 12.1 3.65 10.05V5.95Z%22 /%3E%3Cpath d=%22M16.8 3.9 20.35 5.95V10.05L16.8 12.1 13.25 10.05V5.95Z%22 /%3E%3Cpath d=%22M12 12.3 15.55 14.35V18.45L12 20.5 8.45 18.45V14.35Z%22 /%3E%3Ccircle cx=%2212%22 cy=%2216.4%22 r=%221.4%22 fill=%22black%22 stroke=%22none%22/%3E%3C/svg%3E");--ic-on:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7.2 3.9 10.75 5.95V10.05L7.2 12.1 3.65 10.05V5.95Z%22 fill=%22black%22 fill-opacity=%22.22%22/%3E%3Cpath d=%22M16.8 3.9 20.35 5.95V10.05L16.8 12.1 13.25 10.05V5.95Z%22 fill=%22black%22 fill-opacity=%22.22%22/%3E%3Cpath d=%22M12 12.3 15.55 14.35V18.45L12 20.5 8.45 18.45V14.35Z%22 fill=%22black%22 stroke=%22none%22/%3E%3C/svg%3E")}
.nav a[href^="/about"]{--ic:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 2 20.66 7V17L12 22 3.34 17V7Z%22 /%3E%3Ccircle cx=%2212%22 cy=%229.6%22 r=%223%22 /%3E%3Cpath d=%22M6.8 18.1c1.2-2.5 3.1-3.8 5.2-3.8s4 1.3 5.2 3.8%22/%3E%3C/svg%3E");--ic-on:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 2 20.66 7V17L12 22 3.34 17V7Z%22 fill=%22black%22 fill-opacity=%22.22%22/%3E%3Ccircle cx=%2212%22 cy=%229.6%22 r=%223%22 fill=%22black%22 stroke=%22none%22/%3E%3Cpath d=%22M6.8 18.1c1.2-2.5 3.1-3.8 5.2-3.8s4 1.3 5.2 3.8%22/%3E%3C/svg%3E")}
.nav a[href^="/contact"]{--ic:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 4h14a2.5 2.5 0 0 1 2.5 2.5v8.5a2.5 2.5 0 0 1-2.5 2.5h-7.5L7 21v-3.5H5A2.5 2.5 0 0 1 2.5 15V6.5A2.5 2.5 0 0 1 5 4Z%22 /%3E%3Ccircle cx=%228%22 cy=%2210.8%22 r=%221.25%22 fill=%22black%22 stroke=%22none%22/%3E%3Ccircle cx=%2212%22 cy=%2210.8%22 r=%221.25%22 fill=%22black%22 stroke=%22none%22/%3E%3Ccircle cx=%2216%22 cy=%2210.8%22 r=%221.25%22 fill=%22black%22 stroke=%22none%22/%3E%3C/svg%3E");--ic-on:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 4h14a2.5 2.5 0 0 1 2.5 2.5v8.5a2.5 2.5 0 0 1-2.5 2.5h-7.5L7 21v-3.5H5A2.5 2.5 0 0 1 2.5 15V6.5A2.5 2.5 0 0 1 5 4Z%22 fill=%22black%22 fill-opacity=%22.22%22/%3E%3Ccircle cx=%228%22 cy=%2210.8%22 r=%221.25%22 fill=%22black%22 stroke=%22none%22/%3E%3Ccircle cx=%2212%22 cy=%2210.8%22 r=%221.25%22 fill=%22black%22 stroke=%22none%22/%3E%3Ccircle cx=%2216%22 cy=%2210.8%22 r=%221.25%22 fill=%22black%22 stroke=%22none%22/%3E%3C/svg%3E")}
@media (max-width: 760px) {
	body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
	.nav { position: fixed; inset: auto 0 0; width: auto; margin: 0; z-index: 70; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; overflow: visible;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); color: #e9edf2; background: color-mix(in srgb, #111925 90%, transparent);
		-webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-top: 1px solid rgba(255, 255, 255, .08); }
	.nav a, .nav .btn { display: grid; justify-items: center; gap: 4px; margin: 0; padding: 7px 4px 6px; border-radius: 14px; font: 600 11.5px/1.1 var(--sans); text-align: center; color: inherit; background: none; box-shadow: none; }
	.nav a::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
	.nav a[aria-current]::before, .nav a:active::before { transform: translateY(-2px) scale(1.08); }
	.nav .btn { color: var(--sail); }
	.nav .btn::after { display: none; }
	.nav .btn:hover { transform: none; box-shadow: none; }
	.nav a:not(.btn):hover { color: inherit; }
	.nav a[aria-current] { color: #fff; }
}
@media (max-width:760px){.nav a[aria-current]::before{mask-image:var(--ic-on,var(--ic));-webkit-mask-image:var(--ic-on,var(--ic))}}
@media (min-width: 761px) { .only-phone { display: none !important; } }

/* ── landing page ── */
.hero { min-height: 0; padding-block: 48px 0; }
.hero h1 { font-size: clamp(38px, 4.6vw, 64px); max-width: 17ch; margin-block: 20px 22px; }
.hero .lede { max-width: 52ch; }
.hero .badge { margin: 0; }
.hero .actions { margin-top: 32px; }
.me-wrap { position: relative; order: -1; padding: 22px; }
/* client strip at the foot of the header */
.marquee { display: flex; align-items: center; gap: 24px; margin-top: 64px; padding-block: 22px; border-top: 1px solid var(--night-line); }
.marquee > .mono { flex: none; }
.marquee .track { display: flex; overflow: hidden; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee ul { list-style: none; margin: 0; padding: 0; display: flex; flex: none; }
.marquee li a { display: flex; align-items: center; gap: 10px; padding-inline: 18px 26px; white-space: nowrap; text-decoration: none; font-weight: 650; font-stretch: 108%; }
.marquee li a:hover { color: var(--sail); }
.marquee small { color: var(--on-night-soft); font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.marquee .hx { width: 30px; height: 30px; font-size: 9px; }
/* why me */
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.perks li { border-top: 2px solid var(--sail); padding-top: 20px; }
.perks li::before { content: ""; display: block; width: 22px; height: 25px; margin-bottom: 18px; background: var(--sail); clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.perks li:hover::before { transform: rotate(30deg) scale(1.15); }
.perks h3 { margin-bottom: 8px; }
.perks p { color: var(--soft); }
@media (max-width: 960px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .me-wrap { max-width: 300px; } .hero .me { max-width: none; } }
@media (max-width: 560px) {
	.perks { grid-template-columns: 1fr; gap: 28px; }
	.marquee { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 48px; }
	.me-wrap { max-width: 230px; padding: 16px; }
	.hero { padding-top: 24px; }
	.badge .lg { display: none; }
}

/* ── icons: inline SVG masks instead of text arrows (phones can swap ↗ etc. for emoji) ── */
:root {
	--g-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12h15M13.5 6l6 6-6 6'/%3E%3C/svg%3E");
	--g-ext: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8.5 7H17v8.5'/%3E%3C/svg%3E");
	--g-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}
.ic, .arrow::after, .nav .btn::after { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -.14em; background: currentColor;
	-webkit-mask: var(--g, var(--g-arrow)) center / contain no-repeat; mask: var(--g, var(--g-arrow)) center / contain no-repeat; }
.ic.ext { --g: var(--g-ext); width: .9em; height: .9em; }
.ic.close { --g: var(--g-close); }
.ic.back { rotate: 180deg; }
/* external links: the arrow flies out to the top right and comes back in from the bottom left */
a:hover > .ic.ext, a:focus-visible > .ic.ext { animation: np-ext .55s cubic-bezier(.4, 0, .2, 1); }
@keyframes np-ext { 45% { transform: translate(.45em, -.45em); opacity: 0; } 46% { transform: translate(-.45em, .45em); opacity: 0; } }
.card .visit .ic { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.card:hover .visit .ic { transform: translateX(5px); }
.next .arr .ic { vertical-align: middle; }

/* ── project gallery lightbox ── */
.gallery a { cursor: zoom-in; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 24px 80px; border: 0; background: transparent; color: var(--on-night);
	display: none; place-items: center; overflow: hidden; }
.lightbox[open] { display: grid; animation: np-lb-in .3s ease-out; }
.lightbox::backdrop { background: rgba(10, 15, 22, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes np-lb-in { from { opacity: 0; } }
.lightbox { touch-action: none; user-select: none; -webkit-user-select: none; }
.lightbox img { -webkit-user-drag: none; pointer-events: none; }
.lightbox figure { margin: 0; display: grid; gap: 18px; justify-items: center; max-width: min(1200px, 100%); max-height: 100%; min-height: 0; grid-template-rows: minmax(0, 1fr) auto; }
.lightbox img { outline: 1px solid rgba(255, 255, 255, .12); max-width: 100%; max-height: calc(100dvh - 210px); object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px -30px #000; background: var(--card); }
.lightbox figcaption { max-width: 64ch; text-align: center; display: grid; gap: 6px; }
.lightbox .lb-count { color: var(--sail); }
.lightbox h2 { font-size: 24px; }
.lightbox p { color: var(--on-night-soft); }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--night-line); cursor: pointer;
	background: color-mix(in srgb, var(--night-2) 85%, transparent); color: var(--on-night); font-size: 20px; transition: background-color .2s, border-color .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.lightbox button:hover { background: var(--sail); border-color: var(--sail); }
.lb-close { top: 20px; right: 20px; }
.lb-close:hover { transform: rotate(90deg); }
.lb-nav { top: 50%; translate: 0 -50%; }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-prev:hover { transform: translateX(-3px); } .lb-next:hover { transform: translateX(3px); }
.lightbox.single .lb-nav, .lightbox.single .lb-count { display: none; }
@media (max-width: 700px) {
	.lightbox { padding: 72px 12px 84px; }
	.lightbox img { max-height: calc(100dvh - 300px); }
	.lb-nav { top: auto; bottom: 20px; translate: none; }
	.lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
	.lightbox h2 { font-size: 20px; }
}
