/* =========================================================
   Jayesh Pariyani Architects — main stylesheet
   Colours and sizes are set once here in :root.
   ========================================================= */

:root {
  --bg: #1C2430;          /* page background (deep navy) */
  --panel: #2A3544;       /* photo / panel background */
  --line: #2E3A4A;        /* divider lines */
  --input: #3A4757;       /* input borders */
  --text: #E8ECF0;        /* main text */
  --soft: #C3CCD6;        /* body text */
  --muted: #A9B4C0;       /* labels, small text */
  --accent: #D4917A;      /* accent colour: terracotta (buttons, labels, numbers) */
  --on-accent: #1C2430;   /* text on accent buttons */
  --error: #F2A7A0;

  --serif: "Jost", "Century Gothic", system-ui, sans-serif;   /* headings (was Instrument Serif) */
  --sans: "Jost", "Century Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;   /* text (was Instrument Sans) */
  --heading-weight: 300;   /* light headings */

  --max: 1280px;
  --pad: 20px;            /* side padding (mobile) */
  --gap: 20px;
  --section: 72px;        /* space between sections */
}

@media (min-width: 768px) {
  :root { --pad: 40px; --gap: 28px; --section: 104px; }
}
@media (min-width: 1100px) {
  :root { --pad: 64px; --gap: 32px; --section: 136px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--soft);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }

/* Visible keyboard focus everywhere */
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px;
}
.skip-link:focus { top: 8px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }

.label {
  display: block;
  font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.lead { font-size: 1.125rem; color: var(--soft); max-width: 36em; }
.muted { color: var(--muted); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  border: 1px solid var(--text); background: transparent; color: var(--text);
  font: 500 15px/1 var(--sans); letter-spacing: .02em;
  cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn--fill { background: var(--text); color: var(--bg); }
.btn--fill:hover { background: transparent; color: var(--text); }
.btn--large { min-height: 60px; padding: 16px 36px; font-size: 16px; }

.link-arrow {
  display: inline-flex; gap: 8px; align-items: center;
  color: var(--text); font-weight: 500;
  border-bottom: 1px solid var(--input); padding-bottom: 4px;
  transition: border-color .2s;
}
.link-arrow:hover { border-color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
/* Logo size — change these numbers to make the firm name bigger or smaller */
.logo img { height: 44px; width: auto; }
@media (min-width: 768px)  { .logo img { height: 56px; } .site-header .container { height: 104px; } }
@media (min-width: 1100px) { .logo img { height: 64px; } .site-header .container { height: 112px; } }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; }
.nav a {
  color: var(--soft); font-size: 15px; font-weight: 500;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); border-color: var(--text); }

.menu-btn {
  display: none;
  background: none; border: 1px solid var(--input); color: var(--text);
  font: 500 14px/1 var(--sans); padding: 10px 16px; cursor: pointer;
}

@media (max-width: 767px) {
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--pad) 24px; }
  .nav li { border-top: 1px solid var(--line); }
  .nav li:first-child { border-top: 0; }
  .nav a { display: block; padding: 18px 0; font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--text); border: 0; }
}

/* ---------- Photos & placeholders ----------
   .media is a grey box. If the photo is missing, the grey box
   with its [label] shows instead — so the layout never breaks. */
.media {
  position: relative; overflow: hidden;
  background: var(--panel);
  aspect-ratio: 4 / 3;
}
.media::before {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; letter-spacing: .04em; text-align: center; padding: 16px;
}
.media img {
  position: relative;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease, opacity .4s;
}
.media img.is-missing { opacity: 0; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 4 / 5; }

/* ---------- Home ---------- */
.hero { position: relative; }
.hero .media { aspect-ratio: auto; height: 62vh; min-height: 360px; max-height: 860px; }
@media (min-width: 768px) { .hero .media { height: 78vh; } }

.intro { padding: 56px 0 0; }
.intro .container { display: grid; gap: 24px; }
.intro h1 { max-width: 14em; margin: 0; }
.intro-side { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.intro-side p { margin: 0; font-size: 1.125rem; }
@media (min-width: 900px) {
  .intro { padding-top: 88px; }
  .intro .container { grid-template-columns: 2fr 1fr; align-items: end; gap: 64px; }
}

.section-head {
  display: flex; flex-wrap: wrap; gap: 16px 32px;
  justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px;
}
.section-head h2 { margin: 0; }

/* ---------- Project cards & grid ---------- */
.grid { display: grid; gap: 48px var(--gap); grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card { display: block; }
.card:hover .media img { transform: scale(1.03); }
.card:focus-visible { outline-offset: 6px; }
.card h3 { margin: 18px 0 6px; font-size: 1.6rem; }
.card-meta { font-size: 14px; color: var(--muted); margin: 0; }
.card-meta span + span::before { content: "·"; margin: 0 8px; }

.grid-empty { color: var(--muted); grid-column: 1 / -1; }

/* ---------- Projects page ---------- */
.page-head { padding: 64px 0 40px; }
@media (min-width: 768px) { .page-head { padding: 104px 0 56px; } }
.page-head h1 { margin-bottom: 16px; }

.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
.filter {
  background: none; border: 1px solid var(--input); color: var(--soft);
  font: 500 14px/1 var(--sans); padding: 12px 18px; min-height: 44px; cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.filter:hover { border-color: var(--text); color: var(--text); }
.filter[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ---------- Single project ---------- */
.back { display: inline-block; margin: 32px 0 24px; color: var(--muted); font-size: 15px; }
.back:hover { color: var(--text); }

.project-main .media { aspect-ratio: 16 / 9; cursor: zoom-in; }

.project-info { display: grid; gap: 48px; padding: 56px 0 var(--section); }
.project-info h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.project-info .materials { color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; }
@media (min-width: 900px) {
  .project-info { grid-template-columns: 1.6fr 1fr; gap: 96px; padding-top: 80px; }
}

.facts { border: 1px solid var(--line); padding: 8px 28px; margin: 0; align-self: start; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; color: var(--text); text-align: right; }

/* Gallery: wide, then two side by side, repeat */
.gallery { display: grid; gap: var(--gap); grid-template-columns: 1fr 1fr; }
.gallery .media { cursor: zoom-in; grid-column: span 1; aspect-ratio: 4 / 5; }
.gallery .media.is-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery button { all: unset; display: block; }
@media (max-width: 639px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .media, .gallery .media.is-wide { grid-column: span 1; aspect-ratio: 4 / 3; }
}

.pager {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: var(--section);
}
.pager a { padding: 32px 0; display: block; }
.pager a + a { text-align: right; border-left: 1px solid var(--line); }
.pager small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.pager strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 3vw, 2rem); color: var(--text); }
.pager a:hover strong { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14, 19, 26, .97);
  display: none; align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 1px solid var(--input); color: var(--text);
  width: 52px; height: 52px; font-size: 22px; cursor: pointer;
}
.lightbox button:hover { border-color: var(--text); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 639px) {
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
}

/* ---------- Studio ---------- */
.about { display: grid; gap: 40px; padding: 56px 0 var(--section); }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.2fr; gap: 96px; align-items: center; padding-top: 96px; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 32px 0; }
.stats div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 6vw, 4rem); color: var(--text); line-height: 1; margin-bottom: 10px; }
.stats span { font-size: 14px; color: var(--muted); }

.cols { display: grid; gap: 40px; }
@media (min-width: 768px) { .cols--3 { grid-template-columns: repeat(3, 1fr); gap: var(--gap); } .cols--4 { grid-template-columns: repeat(2, 1fr); gap: 48px var(--gap); } }
@media (min-width: 1100px) { .cols--4 { grid-template-columns: repeat(4, 1fr); } }
.cols > div { border-top: 1px solid var(--line); padding-top: 24px; }
.cols h3 { margin-bottom: 12px; }
.cols p { margin: 0; }
.num { display: block; color: var(--muted); font-size: 13px; margin-bottom: 20px; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 64px; padding-bottom: var(--section); }
@media (min-width: 960px) { .contact { grid-template-columns: 1.4fr 1fr; gap: 96px; } }

.form { display: grid; gap: 28px; }
.field label, .field legend { display: block; color: var(--text); font-size: 14px; font-weight: 500; margin-bottom: 10px; padding: 0; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--text);
  border: 1px solid var(--input); border-radius: 0;
  font: 400 16px/1.5 var(--sans); padding: 14px 16px;
  transition: border-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: #7F8B98; }
.field.has-error input { border-color: var(--error); }
.error { display: none; color: var(--error); font-size: 14px; margin-top: 8px; }
.field.has-error .error { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices label {
  margin: 0; cursor: pointer; font-weight: 500; color: var(--soft);
  border: 1px solid var(--input); padding: 12px 18px; min-height: 44px;
  display: inline-flex; align-items: center; transition: all .2s;
}
.choices label:hover { border-color: var(--text); color: var(--text); }
.choices input:checked + label { background: var(--text); border-color: var(--text); color: var(--bg); }
.choices input:focus-visible + label { outline: 2px solid var(--text); outline-offset: 3px; }
.hidden { display: none; }

.details { margin: 0; }
.details div { padding: 18px 0; border-top: 1px solid var(--line); }
.details div:last-child { border-bottom: 1px solid var(--line); }
.details dt { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.details dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.details a:hover { text-decoration: underline; text-underline-offset: 4px; }

.map { background: var(--panel); height: 320px; }
@media (min-width: 768px) { .map { height: auto; aspect-ratio: 16 / 7; } }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(.95); }

/* ---------- CTA strip & footer ---------- */
.cta { border-top: 1px solid var(--line); padding: 80px 0; }
.cta .container { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta h2 { margin: 0; }
@media (min-width: 768px) { .cta { padding: 112px 0; } }

.site-footer { border-top: 1px solid var(--line); padding: 40px 0 96px; font-size: 14px; color: var(--muted); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.site-footer a:hover { color: var(--text); }
.site-footer p { margin: 0; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: var(--text); color: var(--bg);
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  transition: transform .2s;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 768px) { .wa-float { right: 32px; bottom: 32px; width: 60px; height: 60px; } }

/* ---------- Simple pages (thank you, 404) ---------- */
.simple { min-height: 60vh; display: flex; align-items: center; padding: 96px 0; }
.simple .lead { margin-bottom: 32px; }

.page { padding-bottom: var(--section); }
.section h2 + .cols { margin-top: 40px; }
.page > .container > .section:last-child { padding-bottom: 0; }
.choices { position: relative; }
.pager { margin-bottom: var(--section); }
@media (min-width: 640px) { .lightbox img { max-width: calc(100vw - 180px); } }
@media (max-width: 899px) { .about .media { max-width: 480px; } }

/* =========================================================
   ACCENT COLOUR
   One accent colour (terracotta) used in small places: buttons, labels,
   numbers, the active menu item and the WhatsApp button.
   ========================================================= */

.btn { border-color: var(--accent); color: var(--accent); }
.btn:hover { background: var(--accent); color: var(--on-accent); }
.btn--fill { background: var(--accent); color: var(--on-accent); }
.btn--fill:hover { background: transparent; color: var(--accent); }
.label, .num, .stats strong { color: var(--accent); }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--accent); }
.link-arrow:hover { border-color: var(--accent); }
.link-arrow span { color: var(--accent); }
.filter[aria-pressed="true"], .choices input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.wa-float { background: var(--accent); color: var(--on-accent); }

/* Studio numbers: 2 x 2 on phones, 4 in a row on bigger screens */
.stats { grid-template-columns: repeat(2, 1fr); }
.stats div:nth-child(odd) { border-left: 0; padding-left: 0; }
.stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats div:nth-child(odd) { padding-left: 20px; }
  .stats div:first-child { padding-left: 0; }
  .stats div:nth-child(3) { border-left: 1px solid var(--line); }
  .stats div:nth-child(n+3) { border-top: 0; }
}

/* Collaboration credit on project cards and project pages */
.card-collab { font-size: 13px; color: var(--accent); margin: 6px 0 0; }
.collab-line { color: var(--accent); margin: -8px 0 20px; font-size: 15px; }

/* Videos in project galleries fill their box like photos */
.media video { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery .media.is-video { cursor: default; }
/* If a gallery ends with a single half-width item, let it span the full width */
@media (min-width: 640px) {
  .gallery > .media:last-child:nth-child(3n+2) { grid-column: span 2; aspect-ratio: 16 / 9; }
}
.gallery .media.is-landscape { aspect-ratio: 4 / 3; }

/* =========================================================
   HOME SLIDESHOW
   ========================================================= */
.slideshow { position: relative; background: var(--panel); height: 62vh; min-height: 380px; max-height: 880px; overflow: hidden; }
@media (min-width: 768px) { .slideshow { height: 80vh; } }
.slides, .slide { position: absolute; inset: 0; }
.slide { display: block; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
/* soft shade at the bottom so the caption and controls stay readable on light photos */
.slide::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to top, rgba(15,20,27,.7), rgba(15,20,27,0)); pointer-events: none; }
.slide-caption {
  position: absolute; z-index: 2; left: var(--pad); bottom: 72px; right: 140px;
  color: var(--text); font-size: 14px; letter-spacing: .02em;
}
.slide-caption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.15; margin-bottom: 2px; }
.slide:hover .slide-caption strong { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.slide:focus-visible { outline-offset: -6px; }

.slide-nav {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border: 1px solid rgba(232,236,240,.5); background: rgba(15,20,27,.35);
  color: var(--text); font-size: 20px; cursor: pointer; transition: background .2s, border-color .2s;
}
.slide-nav:hover { background: rgba(15,20,27,.7); border-color: var(--text); }
.slide-prev { left: 16px; }
.slide-next { right: 16px; }
@media (max-width: 767px) { .slide-nav { display: none; } }

.slide-bar { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; align-items: center; gap: 20px; }
.slide-dots { display: flex; gap: 10px; flex-wrap: wrap; }
.slide-dots button {
  width: 28px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.slide-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(232,236,240,.4); transition: background .2s; }
.slide-dots button[aria-current="true"]::before { background: var(--accent); }
.slide-dots button:hover::before { background: var(--text); }
.slide-pause {
  margin-left: auto; background: none; border: 1px solid rgba(232,236,240,.5); color: var(--text);
  font: 500 13px/1 var(--sans); padding: 8px 12px; cursor: pointer;
}
.slide-pause:hover { border-color: var(--text); }
/* keep the slideshow controls clear of the floating WhatsApp button */
.slide-bar { right: 92px; }
@media (min-width: 768px) { .slide-bar { right: 116px; } }
/* no captions on the home slideshow: keep only a light shade behind the controls */
.slide::after { height: 22%; background: linear-gradient(to top, rgba(15,20,27,.45), rgba(15,20,27,0)); }
/* Slideshow dots: round, centred at the bottom of the image */
.slide-bar { left: 0; right: 0; justify-content: center; }
.slide-dots { gap: 4px; justify-content: center; }
.slide-dots button { width: 22px; height: 22px; }
.slide-dots button::before {
  left: 50%; top: 50%; width: 9px; height: 9px; right: auto;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: rgba(232,236,240,.5);
}
.slide-dots button[aria-current="true"]::before { background: var(--accent); width: 11px; height: 11px; }
/* Pause button sits at the bottom left, away from the dots and the WhatsApp button */
.slide-pause { position: absolute; left: var(--pad); margin-left: 0; }

/* =========================================================
   FONT: Jost for everything. Headings and big numbers use the light weight.
   ========================================================= */
h1, h2, h3, .pager strong, .stats strong { font-weight: var(--heading-weight); letter-spacing: -0.015em; }
h1 { line-height: 1.08; }
@media (max-width: 767px) { .nav a { font-weight: var(--heading-weight); } }
.label { letter-spacing: .16em; }

/* Home page headline: smaller and calmer */
.intro h1 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); max-width: 18em; line-height: 1.2; }
/* keep a phrase together on one line */
.keep { display: inline-block; }

/* Home intro: top-align headline and side text, and give it room before the next section */
.intro { padding-bottom: var(--section); }
@media (min-width: 900px) {
  .intro .container { align-items: start; }
  .intro-side { padding-top: .45em; }   /* lines the small text up with the headline's first line */
}
/* "Have a project in mind?" slightly smaller than the page headline */
.cta h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
