/* novaluma.dev
   Light, like a printed production document. See NOVALUMA-DEV-BRAND-GUIDE.md. */

@font-face {
	font-family: "Montserrat";
	src: url("fonts/montserrat-var.woff") format("woff");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--paper: #F5F5F3;
	--white: #FFFFFF;
	--band: #EBEBE8;
	--ink: #0A0A0B;
	--grey: #3B3E42;
	--dim: #8A8F94;
	--rule: #C9CBCD;
	--margin: 56px;
	--pad: 112px;
	--text: 640px;
}

@media (max-width: 767px) {
	:root { --margin: 20px; --pad: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	font-variant-numeric: tabular-nums;
}

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { color: var(--grey); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

img, svg { display: block; max-width: 100%; height: auto; }

.skip {
	position: absolute;
	left: var(--margin);
	top: -100px;
	background: var(--ink);
	color: var(--white);
	padding: 8px 12px;
}
.skip:focus { top: 12px; }

/* Small letterspaced capitals, used like running headers on a document */
.label {
	margin: 0;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--dim);
}

/* ---------- Header ---------- */

.site-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding: 32px var(--margin) 24px;
	border-bottom: 1px solid var(--rule);
}
.brand { display: block; text-decoration: none; color: var(--ink); }
.brand svg { width: 168px; }
.brand span {
	display: block;
	margin-top: 9px;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: .42em;
	color: var(--ink);
}
.site-nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav a { font-size: 14px; text-decoration: none; }
.site-nav a:hover,
.site-nav a[aria-current="page"] { text-decoration: underline; }

@media (max-width: 767px) {
	.site-header { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 24px; }
	.brand svg { width: 140px; }
	.site-nav ul { gap: 22px; }
	.site-nav a { display: inline-block; padding: 4px 0; font-size: 15px; }
}

/* ---------- Sections: label on the left, content on the right ---------- */

.section {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
	column-gap: 24px;
	padding: var(--pad) var(--margin);
	border-bottom: 1px solid var(--rule);
}
.section > .label { padding-top: 6px; }
.section--band { background: var(--band); }
.section--intro { padding-top: 96px; }

@media (max-width: 767px) {
	.section { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
	.section--intro { padding-top: 56px; }
}

.prose { max-width: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1em; }
.prose h2 { margin: 2.2em 0 .5em; font-size: 17px; font-weight: 600; line-height: 1.35; }
.prose h3 { margin: 1.8em 0 .4em; font-size: 15px; font-weight: 600; }
.prose ul { margin: 0 0 1em; padding-left: 1.1em; }
.prose li { margin-bottom: .4em; }

h1 {
	margin: 0;
	max-width: 760px;
	font-size: 40px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -.01em;
}
.lede {
	margin: 24px 0 0;
	max-width: 600px;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--grey);
}
@media (max-width: 767px) {
	h1 { font-size: 28px; }
	.lede { font-size: 17px; }
}

.small { font-size: 13px; color: var(--grey); }

/* ---------- App list on the home page ---------- */

.apps { margin: 0; padding: 0; list-style: none; max-width: 760px; }
.app { padding: 40px 0; border-top: 1px solid var(--rule); }
.app:first-child { padding-top: 0; border-top: 0; }
.app:last-child { padding-bottom: 0; }
.app h2 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.2; }
.app h2 a { text-decoration: none; }
.app h2 a:hover { text-decoration: underline; }
.app p { margin: 12px 0 0; max-width: var(--text); }
.app .for { margin-top: 8px; font-size: 14px; color: var(--grey); }
.app .more { margin-top: 20px; font-size: 14px; }

/* ---------- Key facts under an app title ---------- */

.facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, max-content));
	column-gap: 56px;
	row-gap: 16px;
	margin: 40px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--rule);
	max-width: 760px;
}
.facts div { margin: 0; }
.facts dt { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 4px 0 0; font-size: 15px; }
@media (max-width: 767px) {
	.facts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Figures: plans and examples ---------- */

.figure { margin: 0; max-width: 860px; }
.figure__frame { background: var(--white); border: 1px solid var(--rule); }
.figure figcaption { margin-top: 12px; font-size: 13px; color: var(--grey); }

.plan { width: 100%; }
.plan text { font-family: Montserrat, "Helvetica Neue", Arial, sans-serif; fill: var(--ink); }

/* An example shot list, typeset like the paper version */
.shotlist { width: 100%; border-collapse: collapse; font-size: 14px; }
.shotlist caption { text-align: left; padding: 20px 24px 12px; }
.shotlist th {
	text-align: left;
	padding: 10px 24px 10px 0;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--dim);
	border-bottom: 1px solid var(--ink);
}
.shotlist td { padding: 12px 24px 12px 0; vertical-align: top; border-bottom: 1px solid var(--rule); }
.shotlist th:first-child, .shotlist td:first-child { padding-left: 24px; }
.shotlist tr:last-child td { border-bottom: 0; }
.shotlist .num { white-space: nowrap; }
.shotlist .setup td { padding-top: 22px; font-weight: 600; border-bottom-color: var(--ink); }
.shotlist-wrap { overflow-x: auto; }

/* ---------- Footer ---------- */

.site-footer {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
	column-gap: 24px;
	padding: 72px var(--margin) 56px;
	background: var(--ink);
	color: var(--paper);
	font-size: 14px;
}
.site-footer a:hover { color: var(--white); opacity: .75; }
.site-footer .label { color: var(--dim); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.site-footer .mail { display: inline-block; margin-bottom: 32px; font-size: 22px; font-weight: 500; }
.site-footer .legal { margin: 40px 0 0; font-size: 12px; color: var(--rule); }

@media (max-width: 767px) {
	.site-footer { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
	.site-footer .mail { font-size: 18px; }
	.site-footer li a { display: inline-block; padding: 4px 0; }
}

/* ================================================================
   Picture-led layout (November 2026): a large opening line,
   real screenshots next to the text, one dark band for the 3D view.
   ================================================================ */

/* ---------- Opening of a page ---------- */

.hero {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
	column-gap: 24px;
	padding: 128px var(--margin) 112px;
	border-bottom: 1px solid var(--rule);
}
.hero > .label { padding-top: 14px; }
.hero > div > :first-child { margin-top: 0; }
.hero h1 {
	max-width: 15em;
	font-size: clamp(38px, 5.4vw, 78px);
	font-weight: 500;
	line-height: 1.06;
	letter-spacing: -.02em;
}
.hero .lede { margin-top: 32px; max-width: 34em; font-size: 20px; }
.hero .facts { margin-top: 56px; }

@media (max-width: 767px) {
	.hero { grid-template-columns: minmax(0, 1fr); row-gap: 20px; padding-top: 64px; padding-bottom: 64px; }
	.hero > .label { padding-top: 0; }
	.hero .lede { font-size: 17px; margin-top: 20px; }
	.hero .facts { margin-top: 36px; }
}

/* ---------- Full-width dark band for a picture ---------- */

.bleed { background: var(--ink); border-bottom: 1px solid var(--ink); }
.bleed .figure { max-width: none; margin: 0; }
.bleed img { width: 100%; max-height: 86vh; object-fit: cover; }
.bleed figcaption { margin: 0; padding: 16px var(--margin) 20px; color: var(--rule); }

/* ---------- Screenshots ---------- */

.figure--screen img { background: var(--white); border: 1px solid var(--rule); }
.figure--phone { max-width: 340px; }
.figure--phone img { width: 100%; }

/* ---------- An app on the home page: text on the left, picture on the right ---------- */

.showcase {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
	align-items: end;
	padding: var(--pad) var(--margin);
	border-bottom: 1px solid var(--rule);
}
.showcase__text { grid-column: 1 / span 4; }
.showcase .figure { grid-column: 6 / -1; max-width: none; margin: 0; }
.showcase .figure img { width: 100%; }
.showcase h2 { margin: 16px 0 0; font-size: clamp(32px, 3.6vw, 52px); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; }
.showcase h2 a { text-decoration: none; }
.showcase h2 a:hover { text-decoration: underline; }
.showcase p { margin: 16px 0 0; }
.showcase .for { font-size: 14px; color: var(--grey); }
.showcase .more { margin-top: 28px; font-size: 14px; }

@media (max-width: 1023px) {
	.showcase { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
	.showcase__text, .showcase .figure { grid-column: 1 / -1; }
}

/* ---------- How it works: one row per step, picture beside the words ---------- */

.feature {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
	align-items: center;
	padding: 96px var(--margin);
	border-bottom: 1px solid var(--rule);
}
.feature__text { grid-column: 4 / span 4; max-width: 30em; }
.feature__text > :first-child { margin-top: 0; }
.feature__text h2 { margin: 12px 0 0; font-size: 26px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.feature__text p { margin: 14px 0 0; }
.feature .figure { grid-column: 8 / -1; margin: 0; justify-self: start; }
.feature .figure img { width: 100%; }
.feature .figure--phone { justify-self: center; }
.feature--wide .feature__text { grid-column: 4 / span 4; }
.feature--wide .figure { grid-column: 4 / -1; grid-row: 2; margin-top: 48px; max-width: none; }

@media (max-width: 1023px) {
	.feature { grid-template-columns: minmax(0, 1fr); row-gap: 40px; padding: 72px var(--margin); }
	.feature__text, .feature .figure, .feature--wide .feature__text, .feature--wide .figure { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
	.feature .figure--phone { justify-self: start; max-width: 280px; }
}

/* One grid for every section, so the label column and the text line up down the page */
.section, .hero, .site-footer { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.section > :first-child, .hero > :first-child, .site-footer > :first-child { grid-column: 1 / span 3; }
.section > :nth-child(n+2), .hero > :nth-child(n+2), .site-footer > :nth-child(n+2) { grid-column: 4 / -1; }
@media (max-width: 767px) {
	.section, .hero, .site-footer { grid-template-columns: minmax(0, 1fr); }
	.section > *, .hero > *, .site-footer > * { grid-column: 1 / -1 !important; }
}
