/* BRICKMOOR BUILDERS
   Drafting paper, graphite and brick. Hero framed as a drawing sheet, the
   four project types as plans with prices, a 14 week Gantt programme, the
   paperwork we handle, jobs on site, reviews, FAQ, site visit. */

:root {
  --background: #F4F1EA;
  --card: #FFFDF8;
  --foreground: #1E2226;
  --primary-cta: #1E2226;
  --primary-cta-text: #FFFFFF;
  --secondary-cta: transparent;
  --secondary-cta-text: #1E2226;
  --accent: #A8461F;
  --background-accent: #E8E2D6;
  --radius: 0.25rem;
  --content-width: 88vw;
  --section-head-size: var(--text-7xl);
  --nav-ink: var(--foreground);
  --font-body: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Technor', 'General Sans', sans-serif;
  --font-tech: 'Tabular', ui-monospace, Menlo, monospace;

  --brick: #B4532A;
  --blue: #2F5D8A;
  --line: #DDD6C8;
  --muted: #5C5850;
  --btn-radius: 3px;
  --btn-icon-radius: 2px;
  --card-radius: 4px;
  --nav-radius: 4px;
  --btn-icon-bg: var(--brick);
  --btn-icon-ink: #FFFFFF;
  --nav-bg: rgba(255, 253, 248, 0.94);
  --field: #FFFFFF;
  --footer-bg: #1E2226;
  --footer-head: #E3A07F;
}

@media (width >= 1600px) {
  :root { --content-width: clamp(40rem, 88vw, 98rem); }
}


/* --- Shared base for this batch: resets and the standard blocks ----------- */

.ambient { display: none; }
body { background: var(--background); }
figure, dd, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); }

.section-head h2,
.grad-head { background: none; color: var(--foreground); }
.section-head h2 { max-width: 17ch; line-height: 1.02; }
.section-head > p { max-width: 54ch; color: var(--muted); }
.section--flush { padding-top: 1rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Buttons */
.btn { height: 3.1rem; padding-inline: 1.4rem 0.5rem; border-radius: var(--btn-radius, 8px); font-size: var(--text-base); font-weight: 600; }
.btn:not(.btn--arrow) { padding-inline: 1.4rem; }
.btn--arrow .btn__icon { width: 2.05rem; height: 2.05rem; border-radius: var(--btn-icon-radius, 6px); background: var(--btn-icon-bg, rgba(0, 0, 0, 0.18)); color: var(--btn-icon-ink, currentColor); }
.btn--arrow .btn__icon svg { width: 1rem; height: 1rem; }
.primary-button, .secondary-button { box-shadow: none; }
.secondary-button { border: 1px solid var(--foreground); }
.secondary-button.btn--arrow .btn__icon { background: var(--foreground); color: var(--background); }

/* Nav */
.navbar--bar .navbar__bar {
  background: var(--nav-bg, rgba(255, 255, 255, 0.92));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--nav-line, var(--line));
  border-radius: var(--nav-radius, 10px);
}
.navbar__brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.01em; }
.navbar__toggle { border: 1px solid var(--nav-line, var(--line)); background: transparent; }
.navbar--bar .navbar__actions .btn { height: 2.65rem; }

/* Menu open: the panel behind the bar is dark, so the bar goes clear and the
   brand and close button, which the core turns white, stay readable. */
.nav-open .navbar--bar .navbar__bar { background: transparent; border-color: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Long menu words ("Conservatories") in a wide face overran a phone screen. */
@media (width <= 640px) {
  .navbar__panel a { font-size: clamp(1.9rem, 9vw, 3.25rem); }
}

/* Stars */
.stars { display: flex; gap: 0.2rem; color: var(--star, #C98A0B); }
.stars svg { width: 1rem; height: 1rem; fill: currentColor; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.reviews--lead { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.review { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.review blockquote { font-size: var(--text-lg); line-height: 1.55; }
.review__tag { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.review__who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; font-size: var(--text-sm); color: var(--muted); }
.review__who strong { display: block; font-size: var(--text-base); color: var(--foreground); }
.review__who img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; flex: none; }
.review--lead { background: var(--lead-bg, var(--foreground)); border-color: var(--lead-bg, var(--foreground)); color: var(--lead-ink, #fff); }
.review--lead blockquote { font-family: var(--font-heading); font-size: var(--text-3xl); line-height: 1.22; }
.review--lead .review__who, .review--lead .review__tag { color: var(--lead-muted, rgba(255, 255, 255, 0.78)); }
.review--lead .review__who strong { color: var(--lead-ink, #fff); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__intro { position: sticky; top: 7rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.faq__intro h2, .faq__body h2 { font-size: var(--section-head-size); line-height: 1.02; max-width: 13ch; }
.faq__intro > p:not(.kicker) { max-width: 40ch; font-size: var(--text-lg); line-height: 1.55; color: var(--muted); }
.faq__body { display: flex; flex-direction: column; gap: 1.2rem; }
.faq__media img { width: 100%; height: 36rem; object-fit: cover; border-radius: var(--card-radius, 10px); }
.accordion__item { border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.accordion__trigger h3 { font-size: var(--text-xl); }
.accordion .badge-num { width: 2.1rem; height: 2.1rem; flex: none; border-radius: var(--btn-icon-radius, 6px); }
.accordion .badge-num svg { width: 1rem; height: 1rem; transition: transform 0.3s; }
.accordion__item[data-open='true'] .badge-num svg { transform: rotate(45deg); }
.accordion__panel p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.contact__panel { display: flex; flex-direction: column; gap: 0.9rem; padding: 2.5rem; border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.contact__panel h2 { font-size: var(--text-6xl); line-height: 1.02; max-width: 13ch; }
.contact__panel > p:not(.kicker) { font-size: var(--text-lg); line-height: 1.5; color: var(--muted); margin-bottom: 0.5rem; }
.contact__panel .form button { height: 3.25rem; border-radius: var(--btn-radius, 8px); font-weight: 600; }
.form input, .form select, .form textarea { border-radius: var(--btn-radius, 8px); background: var(--field, #FCFBF8); }
.contact__media { position: relative; overflow: hidden; border-radius: var(--card-radius, 10px); }
.contact__media img { width: 100%; height: 100%; min-height: 26rem; object-fit: cover; }
.contact__media figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  border-radius: var(--btn-radius, 8px);
  background: var(--card);
  color: var(--foreground);
  font-size: var(--text-sm);
  font-weight: 500;
}
.contact__media figcaption a { display: inline-flex; align-items: center; flex: none; height: 2.6rem; padding-inline: 1rem; border-radius: var(--btn-icon-radius, 6px); background: var(--primary-cta); color: var(--primary-cta-text); font-weight: 600; }

/* Footer */
.site-footer { padding-block: 4.5rem 3rem; border-radius: 0; background: var(--footer-bg, var(--foreground)); color: var(--footer-ink, #fff); }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.footer-brand { font-family: var(--font-heading); font-size: var(--text-5xl); font-weight: 700; line-height: 1.05; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(9rem, auto)); gap: 2.5rem; }
.footer-nav h3 { margin-bottom: 1rem; font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--footer-head, rgba(255, 255, 255, 0.75)); }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-size: var(--text-lg); color: var(--footer-link, rgba(255, 255, 255, 0.88)); transition: color 0.2s; }
.footer-nav a:hover { color: var(--footer-ink, #fff); }
.footer-legal-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--footer-line, rgba(255, 255, 255, 0.15)); font-size: var(--text-base); color: var(--footer-muted, rgba(255, 255, 255, 0.72)); }
.footer-legal-bar div { display: flex; gap: 1.25rem; }

@media (width <= 1100px) {
  .reviews--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews--lead .review--lead { grid-column: 1 / -1; }
}

@media (width <= 960px) {
  .faq, .contact { grid-template-columns: minmax(0, 1fr); }
  .faq__intro { position: static; }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .faq__media img { height: 22rem; }
}

@media (width <= 768px) {
  .faq__intro h2, .faq__body h2 { font-size: var(--text-6xl); }
  .contact__panel { padding: 1.5rem; }
  .contact__panel h2 { font-size: var(--text-6xl); }
  .contact__media img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .contact__media figcaption { position: static; border-radius: 0; flex-wrap: wrap; }
  .review--lead blockquote { font-size: var(--text-2xl); }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .footer-brand { font-size: var(--text-4xl); }
}


.plans__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Drafting paper: a faint grid on the whole page. */
body { background-image: linear-gradient(rgba(30, 34, 38, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 34, 38, 0.035) 1px, transparent 1px); background-size: 24px 24px; }

.section-head h2, .hero__title, .footer-brand { letter-spacing: -0.02em; }
.kicker { font-family: var(--font-tech); letter-spacing: 0.08em; font-weight: 500; color: var(--accent); }
.kicker__no { display: inline-grid; place-items: center; min-width: 2.2rem; height: 1.55rem; padding-inline: 0.4rem; border: 1.5px solid var(--accent); border-radius: 2px; font-size: 0.85em; }

.navbar__brand::before {
  content: '';
  width: 22px;
  height: 16px;
  background:
    linear-gradient(var(--brick), var(--brick)) 0 0 / 10px 7px no-repeat,
    linear-gradient(var(--brick), var(--brick)) 12px 0 / 10px 7px no-repeat,
    linear-gradient(var(--brick), var(--brick)) 5px 9px / 12px 7px no-repeat;
}

/* --- Hero: the copy, and the job framed as a drawing sheet ----------------- */

.hero { padding-top: 8.5rem; padding-bottom: 4.5rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.hero__title { max-width: 11ch; font-size: clamp(3rem, 5.6vw, 6rem); font-weight: 700; line-height: 0.98; }
.hero__lede { max-width: 46ch; font-size: var(--text-xl); line-height: 1.55; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 36rem; margin-top: 0.5rem; border-top: 1.5px solid var(--foreground); }
.hero__facts li { padding: 0.9rem 0.8rem 0 0; font-size: var(--text-sm); color: var(--muted); line-height: 1.35; }
.hero__facts li + li { padding-left: 0.9rem; border-left: 1px solid var(--line); }
.hero__facts b { display: block; margin-bottom: 0.15rem; font-family: var(--font-heading); font-size: var(--text-xl); color: var(--foreground); }

.sheet { padding: 0.9rem; border: 1.5px solid var(--foreground); background: var(--card); box-shadow: 0 0 0 5px var(--card), 0 0 0 6.5px var(--line), 0 40px 70px -45px rgba(30, 34, 38, 0.55); }
.sheet__photo { position: relative; }
.sheet__photo img { display: block; width: 100%; height: min(64svh, 36rem); min-height: 24rem; object-fit: cover; }

.dim { position: absolute; display: block; border-color: #FFFFFF; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45)); }
.dim i { position: absolute; padding: 0.15rem 0.45rem; background: var(--card); color: var(--blue); font-family: var(--font-tech); font-size: var(--text-sm); font-style: normal; font-weight: 600; white-space: nowrap; }
.dim--h { top: 1.1rem; left: 10%; right: 10%; height: 0; border-top: 1.5px solid; }
.dim--h::before, .dim--h::after { content: ''; position: absolute; top: -7px; width: 1.5px; height: 13px; background: #FFFFFF; transform: rotate(45deg); }
.dim--h::before { left: -1px; }
.dim--h::after { right: -1px; }
.dim--h i { left: 50%; top: 0; transform: translate(-50%, -50%); }
.dim--v { right: 1.1rem; top: 14%; bottom: 14%; width: 0; border-left: 1.5px solid; }
.dim--v::before, .dim--v::after { content: ''; position: absolute; left: -7px; width: 13px; height: 1.5px; background: #FFFFFF; transform: rotate(45deg); }
.dim--v::before { top: -1px; }
.dim--v::after { bottom: -1px; }
.dim--v i { top: 50%; left: 0; transform: translate(-50%, -50%) rotate(-90deg); }

.sheet__block { display: grid; grid-template-columns: 2.2fr 1.2fr 0.8fr 0.5fr; margin-top: 0.9rem; border: 1.5px solid var(--foreground); }
.sheet__block div { padding: 0.5rem 0.7rem; }
.sheet__block div + div { border-left: 1px solid var(--foreground); }
.sheet__block span { display: block; font-family: var(--font-tech); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.sheet__block b { display: block; margin-top: 0.15rem; font-family: var(--font-tech); font-size: var(--text-sm); font-weight: 600; }

/* --- Plans: the four project types as drawings ---------------------------- */

.plans__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.plans__tabs button { height: 2.9rem; padding-inline: 1.2rem; border: 1.5px solid var(--foreground); border-radius: 3px; background: transparent; color: var(--foreground); font: inherit; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s; }
.plans__tabs button[aria-selected='true'] { background: var(--foreground); color: #FFFFFF; }

.plans__panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 1rem; align-items: stretch; }
.plans__panel[hidden] { display: none; }
.plans__sheet { position: relative; padding: 0.75rem; border: 1.5px solid var(--foreground); background: var(--card); }
.plans__sheet svg { display: block; width: 100%; height: auto; }
.plans__block { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--foreground); font-family: var(--font-tech); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

.pl-lab { font-family: var(--font-tech); font-size: 12px; letter-spacing: 1px; fill: #5C5850; text-anchor: middle; }
.pl-lab--new { fill: #8F3A17; font-weight: 700; }
.pl-note { font-family: var(--font-tech); font-size: 11px; fill: #5C5850; text-anchor: middle; font-style: italic; }
.pl-dim { font-family: var(--font-tech); font-size: 12px; font-weight: 700; fill: #2F5D8A; text-anchor: middle; }
.pl-n { font-family: var(--font-tech); font-size: 12px; font-weight: 700; text-anchor: middle; }

.plans__spec { display: flex; flex-direction: column; padding: 1.4rem 1.5rem; border: 1.5px solid var(--foreground); background: var(--card); }
.plans__spec div { padding: 0.8rem 0; border-bottom: 1px dashed var(--line); }
.plans__spec dt { font-family: var(--font-tech); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.plans__spec dd { margin-top: 0.25rem; font-size: var(--text-lg); font-weight: 500; }
.plans__price { font-family: var(--font-heading); font-size: var(--text-5xl) !important; font-weight: 700 !important; color: var(--accent); line-height: 1; }
.plans__planning dd { font-size: var(--text-base); line-height: 1.5; color: var(--muted); }
.plans__cta { margin-top: auto; border-bottom: 0 !important; padding-top: 1.2rem !important; }

/* --- The programme: a Gantt chart on drawing paper -------------------------- */

.section--sheet { background: #EAE5D9; border-block: 1px solid var(--line); }
.gantt { padding: 1rem 1.25rem 1.25rem; border: 1.5px solid var(--foreground); background: var(--card); }
.gantt__row { display: grid; grid-template-columns: 17rem repeat(14, minmax(0, 1fr)); align-items: center; min-height: 2.6rem; background-image: linear-gradient(90deg, transparent calc(100% - 1px), var(--line) 0); background-size: calc((100% - 17rem) / 14) 100%; background-position: 17rem 0; background-repeat: repeat-x; }
.gantt__row + .gantt__row { border-top: 1px dashed var(--line); }
.gantt__row--head { font-family: var(--font-tech); font-size: var(--text-xs); color: var(--muted); text-align: center; }
.gantt__task { grid-column: 1; padding-right: 1rem; font-size: var(--text-sm); font-weight: 500; text-align: left; }
.gantt__row--head .gantt__task { font-family: var(--font-tech); text-transform: uppercase; letter-spacing: 0.1em; }
.gantt__bar { position: relative; display: flex; align-items: center; height: 1.55rem; margin-inline: 2px; border-radius: 2px; }
.gantt__bar em { padding-left: 0.5rem; font-family: var(--font-tech); font-size: var(--text-2xs); font-style: normal; font-weight: 600; color: #FFFFFF; white-space: nowrap; }
.gantt__bar--a { background: #6B6153; }
.gantt__bar--b { background: var(--brick); }
.gantt__bar--c { background: var(--blue); }
.gantt__bar--d { background: #1E2226; }
.gantt__mark { justify-self: center; width: 0.95rem; height: 0.95rem; background: #E0A13A; border: 1.5px solid var(--foreground); transform: rotate(45deg); }
.gantt__key { display: flex; align-items: center; gap: 0.9rem; max-width: 70ch; font-size: var(--text-sm); color: var(--muted); }
.gantt__mark--key { flex: none; }

/* --- Paperwork ---------------------------------------------------------- */

.papers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.paper { position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem 1.3rem 1.5rem; border: 1.5px solid var(--foreground); background: var(--card); }
.paper__stamp { align-self: flex-start; padding: 0.25rem 0.55rem; border: 2px solid var(--accent); border-radius: 3px; color: var(--accent); font-family: var(--font-tech); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transform: rotate(-3deg); }
.paper h3 { font-size: var(--text-2xl); line-height: 1.1; }
.paper p { font-size: var(--text-base); line-height: 1.55; color: var(--muted); }

/* --- On site now ---------------------------------------------------------- */

.onsite { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.onsite figure { display: flex; flex-direction: column; gap: 0.6rem; }
.onsite img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1.5px solid var(--foreground); }
.onsite figcaption { font-size: var(--text-sm); color: var(--muted); }
.onsite figcaption b { display: block; font-family: var(--font-tech); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

.manager { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.5rem; align-items: center; max-width: 52rem; margin-top: 1rem; padding: 1.25rem; border: 1.5px solid var(--foreground); background: var(--card); }
.manager img { width: 7.5rem; height: 7.5rem; object-fit: cover; object-position: center 20%; }
.manager blockquote { font-family: var(--font-heading); font-size: var(--text-2xl); line-height: 1.3; }
.manager cite { display: block; margin-top: 0.6rem; font-family: var(--font-tech); font-size: var(--text-xs); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* --- Standard blocks, drafting style ------------------------------------- */

.review { border: 1.5px solid var(--foreground); }
.review__tag { font-family: var(--font-tech); color: var(--accent); }
.review--lead { --lead-bg: #1E2226; }
.review--lead .review__tag { color: #E3A07F; }
.accordion__item { border: 1.5px solid var(--foreground); }
.accordion .badge-num { background: var(--brick); }
.contact__panel { border: 1.5px solid var(--foreground); }
.contact__media { border: 1.5px solid var(--foreground); }
.footer-brand { font-weight: 700; }

/* --- Laptop and below ------------------------------------------------------ */

@media (width <= 1100px) {
  .papers, .onsite { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gantt__row { grid-template-columns: 13rem repeat(14, minmax(0, 1fr)); background-size: calc((100% - 13rem) / 14) 100%; background-position: 13rem 0; }
}

@media (width <= 960px) {
  .hero__grid, .plans__panel { grid-template-columns: minmax(0, 1fr); }
}

@media (width <= 768px) {
  .hero { padding-top: 6.75rem; padding-bottom: 3rem; }
  .hero__title { font-size: clamp(2.7rem, 12.5vw, 3.8rem); }
  .hero__lede { font-size: var(--text-lg); }
  .hero__facts b { font-size: var(--text-lg); }
  .sheet { padding: 0.5rem; box-shadow: 0 0 0 4px var(--card), 0 0 0 5.5px var(--line); }
  .sheet__photo img { height: 17rem; min-height: 0; }
  .sheet__block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet__block div:nth-child(3) { border-left: 0; }
  .sheet__block div:nth-child(n + 3) { border-top: 1px solid var(--foreground); }
  .plans__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans__tabs button { padding-inline: 0.6rem; font-size: var(--text-sm); }
  .plans__price { font-size: var(--text-4xl) !important; }
  .plans__cta .btn { width: 100%; }

  /* On a phone each task takes a row of its own above its bar. */
  .gantt { padding: 0.75rem; }
  .gantt__row { grid-template-columns: repeat(14, minmax(0, 1fr)); background-size: calc(100% / 14) 100%; background-position: 0 0; row-gap: 0.25rem; padding-block: 0.45rem; }
  .gantt__task { grid-column: 1 / -1; padding-right: 0; }
  .gantt__row--head .gantt__task { display: none; }
  .gantt__row--head span { font-size: 10px; }
  .gantt__bar em { display: none; }

  .papers, .onsite { grid-template-columns: minmax(0, 1fr); }
  .onsite img { aspect-ratio: 16 / 10; }
  .manager { grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; padding: 1rem; }
  .manager img { width: 5rem; height: 5rem; }
  .manager blockquote { font-size: var(--text-lg); }
}
