/* ============================================
   Sippar Architects: inner pages
   About, Projects, Project, Services, Team, Journal, Article, Contact.
   Built on custom.css (rails, glass, headings, expanding columns); this file
   adds only what the inner pages need.
   ============================================ */

/* --- Page hero: a shorter homepage hero --- */
.ph {
  position: relative;
  height: clamp(560px, 76svh, 720px);
  overflow: hidden;
  background: #0f0f1a;
}
.ph__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph .hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 15, 26, 0.55) 0%, rgba(15, 15, 26, 0.32) 45%, rgba(15, 15, 26, 0) 78%),
    linear-gradient(180deg, rgba(15, 15, 26, 0.45) 0%, rgba(15, 15, 26, 0.2) 35%, rgba(15, 15, 26, 0.42) 62%, rgba(15, 15, 26, 0.86) 100%);
}
.ph .hero-content { bottom: 64px; }
.ph .hero-rail { padding-bottom: 72px; }
.ph__art { color: rgba(255, 255, 255, 0.9); }
.ph .hero-rail__art svg { width: auto; max-width: 100%; max-height: clamp(110px, 19vh, 170px); }
.ph .hero-strip__art svg { width: 100%; height: auto; }
.ph__title { white-space: normal; }
.ph__title--long { font-size: clamp(30px, 8.6vw, 40px); line-height: 1.05; }
.crumb {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.crumb a { color: inherit; transition: color 0.3s ease; }
.crumb a:hover { color: #d4b896; }
.crumb__sep { display: block; width: 16px; height: 1px; background: rgba(255, 255, 255, 0.45); }
.crumb [aria-current] { color: #ffffff; }
@media (min-width: 1024px) {
  .ph .hero-content { bottom: 72px; }
  .ph__title--long { max-width: 900px; font-size: 52px; }
}

.pg-intro { max-width: 560px; }

/* --- Numbers row --- */
.stats {
  margin-top: 36px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
  padding-top: 28px;
  border-top: 1px solid var(--xc-line);
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--sp-accent);
}
.stat__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--xc-label);
}
.ab .stats { border-top-color: var(--ab-sep); }
.ab .stat__label { color: var(--ab-label); }
@media (min-width: 1024px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-top: 0; border-top: 0; margin-top: 44px; }
  .stat { padding: 4px 0 4px 24px; border-left: 1px solid var(--xc-line); }
  .stat:first-child { padding-left: 0; border-left: 0; }
  .ab .stat { border-left-color: var(--ab-sep); }
  .stats--wide { margin-top: 56px; }
  .stats--wide .stat__num { font-size: 56px; }
}

/* --- Vision & mission --- */
.duo { margin-top: 32px; display: grid; gap: 16px; }
.duo__card { padding: 32px 24px; border: 1px solid var(--xc-line); background: var(--xc-tint); }
.duo__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--eyebrow);
}
.duo__label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--sp-accent); }
.duo__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  color: var(--xc-head);
}
.duo__p { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--xc-p1); }
.duo__p + .duo__p { margin-top: 10px; font-weight: 400; color: var(--xc-p2); }
@media (min-width: 1024px) {
  .duo { margin-top: 56px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .duo__card { padding: 48px 44px; }
  .duo__title { font-size: 36px; }
}

/* --- Process / approach steps --- */
.steps { margin-top: 32px; border-top: 1px solid var(--xc-line); }
.step {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: baseline;
  border-bottom: 1px solid var(--xc-line);
}
.step__num { font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--sp-accent); }
.step__title { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--xc-head); }
.step__p { grid-column: 2; margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--xc-p2); }
@media (min-width: 1024px) {
  .steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 0; }
  .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .step { position: relative; display: block; padding: 32px 0 0; border-bottom: 0; border-top: 1px solid var(--xc-line); }
  .step::before { content: ''; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--sp-accent); }
  .step__num { display: block; font-size: 56px; }
  .step__title { margin-top: 22px; font-size: 28px; }
  .step__p { margin-top: 14px; font-size: 15px; }
}

/* --- Milestones --- */
.mile { position: relative; margin-top: 32px; padding-left: 30px; }
.mile::before { content: ''; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--xc-line); }
.mile__item { position: relative; padding-bottom: 32px; }
.mile__item:last-child { padding-bottom: 0; }
.mile__item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sp-accent);
  box-shadow: 0 0 0 4px var(--cap-ring);
}
.mile__year { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1; color: var(--sp-accent); }
.mile__title { margin-top: 10px; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--xc-head); }
.mile__p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--xc-p2); }
@media (min-width: 1024px) {
  .mile { margin-top: 56px; padding-left: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }
  .mile::before { display: none; }
  .mile__item { padding: 30px 0 0; border-top: 1px solid var(--xc-line); }
  .mile__item::before { left: 0; top: -6px; }
  .mile__year { font-size: 44px; }
  .mile__title { font-size: 26px; }
  .mile__p { font-size: 15px; }
}

/* --- Project list --- */
.pl .pj__tabs-wrap { margin-top: 36px; }
.pl__grid { margin-top: 28px; display: grid; gap: 12px; }
.pl-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0f0f1a;
  color: #ffffff;
}
.pl-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.pl-card:hover > img,
.pl-card:focus-visible > img { transform: scale(1.04); }
.pl-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 26, 0) 0%, rgba(15, 15, 26, 0) 45%, rgba(15, 15, 26, 0.55) 72%, rgba(15, 15, 26, 0.88) 100%);
}
/* caption straight on the photo, on the deep shade at its foot (no panel) */
.pl-card__plate {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-shadow: 0 1px 2px rgba(15, 15, 26, 0.35);
}
.pl-card__cat { font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: #e6d3b0; }
.pl-card__title { margin-top: 8px; font-family: var(--font-display); font-size: 26px; line-height: 1.1; color: #ffffff; }
.pl-card__meta { margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.pl-card.is-hidden { display: none; }
.pl-card.is-entering { animation: pl-in 0.6s ease both; }
/* Load more: a count, a thin progress line and one button, shown while projects remain */
.pl__more { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pl__more[hidden] { display: none; }
.pl__status { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pj-count); }
.pl__shown { color: var(--sp-accent); }
.pl__bar { position: relative; display: block; width: 160px; height: 1px; background: var(--pj-track); }
.pl__bar-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--sp-accent); transition: width 0.6s ease; }
.pl__btn {
  margin-top: 10px;
  width: 100%;
  height: 52px;
  box-sizing: border-box;
  border: 1px solid var(--pj-linkb);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pj-link);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.pl__btn-circle { display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.pl__btn:hover { color: var(--sp-accent); border-color: var(--sp-accent); }
.pl__btn:hover .pl__btn-circle { transform: translateY(2px); }
.pl__btn:focus-visible { outline: 2px solid var(--sp-gold); outline-offset: 3px; }
@keyframes pl-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 640px) {
  .pl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .pl .pj__tabs-wrap { margin-top: 56px; }
  .pl__grid { margin-top: 40px; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pl-card__plate { left: 28px; right: 28px; bottom: 26px; }
  .pl-card__title { font-size: 30px; }
  .pl__more { margin-top: 56px; }
  .pl__btn { width: auto; height: auto; border: 0; padding: 0 0 8px; }
  .pl__btn-circle { width: 44px; height: 44px; box-sizing: border-box; border: 1px solid var(--pj-linkb); border-radius: 50%; transition: border-color 0.3s ease, transform 0.3s ease; }
  .pl__btn:hover .pl__btn-circle { border-color: var(--sp-accent); }
}

/* --- Project overview and facts --- */
.pd { display: grid; gap: 36px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--xc-line); }
.fact { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--xc-line); }
.fact__label { font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--eyebrow); }
.fact__value { margin-top: 8px; font-family: var(--font-display); font-size: 22px; line-height: 1.2; color: var(--xc-head); }
@media (min-width: 1024px) {
  .pd { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 80px; align-items: end; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact { padding: 22px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
  .fact__value { margin-top: 0; font-size: 24px; text-align: right; }
}

/* --- Gallery: full-photo columns (shared rules in custom.css) --- */
.xrow__media--photo { margin-top: 0; }

/* --- Next project --- */
.nx { position: relative; display: block; height: 360px; overflow: hidden; background: #0f0f1a; color: #ffffff; }
.nx > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.nx:hover > img { transform: scale(1.04); }
.nx__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 15, 26, 0.78) 0%, rgba(15, 15, 26, 0.3) 60%, rgba(15, 15, 26, 0.1) 100%); }
.nx__body { position: absolute; left: calc(var(--rail-w) + 20px); right: 20px; bottom: 40px; display: flex; flex-direction: column; align-items: flex-start; }
.nx__label { font-size: 10px; font-weight: 500; letter-spacing: 0.4em; text-transform: uppercase; color: #d4b896; }
.nx__title { margin-top: 14px; font-family: var(--font-display); font-weight: 400; font-size: 44px; line-height: 1; color: #f3ece0; }
.nx__meta { margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.78); }
@media (min-width: 1024px) {
  .nx { height: 480px; }
  .nx__body { left: calc(var(--rail-w) + 40px); bottom: 72px; }
  .nx__title { font-size: 72px; }
}

/* --- Service detail rows --- */
.svd { margin-top: 32px; display: grid; gap: 56px; }
.svd__row { display: grid; gap: 24px; }
.svd__media { aspect-ratio: 4 / 3; overflow: hidden; background: #0f0f1a; }
.svd__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.svd__row:hover .svd__media img { transform: scale(1.04); }
.svd__num { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 15px; line-height: 1; color: var(--sp-accent); }
.svd__num::after { content: ''; display: block; width: 20px; height: 1px; background: currentColor; opacity: 0.6; }
.svd__title { margin-top: 14px; font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.1; color: var(--xc-head); }
.svd__p { margin-top: 16px; font-size: 15px; line-height: 1.75; color: var(--xc-p1); }
.svd__feats { margin-top: 20px; display: grid; gap: 10px; }
.svd__feats li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--xc-p2); }
.svd__feats li::before { content: ''; display: block; flex-shrink: 0; width: 12px; height: 1px; background: var(--sp-accent); }
.svd__cta {
  margin-top: 24px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--eyebrow);
  transition: gap 0.3s ease, color 0.3s ease;
}
.svd__cta:hover { gap: 14px; color: var(--sp-accent); }
@media (min-width: 1024px) {
  .svd { margin-top: 72px; gap: 96px; }
  .svd__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
  .svd__row:nth-child(even) .svd__media { order: 2; }
  .svd__title { font-size: 44px; }
  .svd__feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
}

/* --- Founder quote --- */
.qt { margin: 0; }
.qt__text {
  margin-top: 28px;
  max-width: 920px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.25;
  color: var(--xc-head);
}
.qt__by { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.qt__mono {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--xc-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--sp-accent);
}
.qt__name { display: block; font-size: 15px; font-weight: 500; color: var(--xc-head); }
.qt__role { display: block; margin-top: 4px; font-size: 13px; color: var(--xc-p2); }
@media (min-width: 1024px) {
  .qt__text { font-size: 52px; line-height: 1.15; }
}

/* --- Team --- */
.team { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
.member__photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--xc-line);
  background: var(--xc-panel);
}
.member__photo::before {
  content: '';
  position: absolute;
  left: 22%;
  right: 22%;
  top: 18%;
  bottom: -2px;
  border: 1px solid var(--xc-line);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}
.member__mono { position: relative; font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--sp-accent); }
.member__name { margin-top: 14px; font-family: var(--font-display); font-size: 21px; line-height: 1.15; color: var(--xc-head); }
.member__role { margin-top: 6px; font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--eyebrow); }
.member__bio { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--xc-p2); }
@media (min-width: 1024px) {
  .team { margin-top: 56px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; }
  .member__mono { font-size: 60px; }
  .member__name { font-size: 24px; }
  .member__bio { font-size: 14px; }
}

/* --- Careers --- */
.cr { padding: 36px 24px; border: 1px solid var(--xc-line); background: var(--xc-tint); display: grid; gap: 28px; justify-items: start; }
@media (min-width: 1024px) {
  .cr { padding: 64px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* --- Journal: featured story and article cards --- */
.feat { margin-top: 32px; display: grid; gap: 24px; }
.feat__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0f0f1a; }
.feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.feat:hover .feat__media img { transform: scale(1.04); }
.feat__title { margin-top: 14px; font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.1; color: var(--xc-head); }
.feat__title a { transition: color 0.3s ease; }
.feat__title a:hover { color: var(--sp-accent); }
.feat__excerpt { margin-top: 16px; font-size: 15px; font-weight: 400; line-height: 1.75; color: var(--xc-p2); }
.posts { margin-top: 32px; display: grid; gap: 44px; }
.post-card { display: flex; flex-direction: column; align-items: flex-start; }
.post-card__media { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #0f0f1a; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--xc-p2);
}
.feat .post-card__meta { margin-top: 0; }
.post-card__cat { color: var(--eyebrow); }
.post-card__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--xc-label); }
.post-card__title { margin-top: 10px; font-family: var(--font-display); font-size: 24px; line-height: 1.2; color: var(--xc-head); }
.post-card__title a { transition: color 0.3s ease; }
.post-card__title a:hover { color: var(--sp-accent); }
.post-card__excerpt { margin-top: 10px; font-size: 14px; font-weight: 400; line-height: 1.7; color: var(--xc-p2); }
.post-card__more {
  margin-top: 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--eyebrow);
  transition: gap 0.3s ease, color 0.3s ease;
}
.post-card__more:hover { gap: 14px; color: var(--sp-accent); }
@media (min-width: 640px) {
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
}
@media (min-width: 1024px) {
  .feat { margin-top: 56px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .feat__title { font-size: 46px; }
  .posts { margin-top: 56px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 32px; }
}

/* --- Article --- */
.art { display: grid; gap: 40px; }
.art__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--xc-line); }
.art__author { display: flex; align-items: center; gap: 14px; }
.art__share-label { font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--xc-label); }
.art__share { display: flex; gap: 8px; }
.art { --ct-socb: var(--xc-line); --ct-soc: var(--xc-p1); }
.art__body { max-width: 700px; }
@media (min-width: 1024px) {
  .art { grid-template-columns: 200px minmax(0, 700px); gap: 80px; }
  .art__aside { position: sticky; top: 120px; align-self: start; padding-bottom: 0; border-bottom: 0; }
}

/* --- Contact --- */
.cf {
  --ct-body: var(--xc-p1);
  --ct-hair: var(--xc-line);
  --ct-follow: var(--xc-label);
  --ct-soc: var(--xc-p1);
  --ct-socb: var(--xc-line);
  display: grid;
  gap: 48px;
}
.cf__list { margin-top: 32px; display: grid; gap: 22px; }
.cf__item { display: flex; align-items: flex-start; gap: 16px; }
.cf__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--xc-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sp-accent);
}
.cf__label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--xc-label); }
.cf__value { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 22px; line-height: 1.25; color: var(--xc-head); }
a.cf__value { transition: color 0.3s ease; }
a.cf__value:hover { color: var(--sp-accent); }
.cf .ct__follow { margin-top: 32px; }
.cf .ct__follow-label { white-space: nowrap; }
.cf__form { padding: 32px 20px; border: 1px solid var(--xc-line); background: var(--xc-tint); }
.cf__form-title { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--xc-head); }
.cf__form-note { margin-top: 8px; font-size: 13px; color: var(--xc-p2); }
.cf__row { display: grid; gap: 0 24px; }
.field { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--xc-p2); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--xc-line);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--xc-head);
  transition: border-color 0.3s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select option { color: #1a1a2e; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--sp-accent); box-shadow: 0 1px 0 var(--sp-accent); }
.field [aria-invalid="true"] { border-bottom-color: #c86b5a; }
.cf__error { margin-top: 18px; font-size: 13px; color: #c86b5a; }
/* hidden from people, filled in by bots: the server drops anything that fills it */
.cf__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* sent or failed: shown by the script, or by the #cf-sent / #cf-failed anchor without it */
.cf__status { display: none; margin-top: 18px; padding: 14px 16px; font-size: 14px; line-height: 1.6; border-left: 2px solid; scroll-margin-top: 120px; }
.cf__status:target,
.cf__status.is-shown { display: block; }
.cf__status:focus { outline: none; }
.cf__status--ok { border-color: var(--sp-accent); background: rgba(196, 168, 114, 0.1); color: var(--xc-head); }
.cf__status--fail { border-color: #c86b5a; background: rgba(200, 107, 90, 0.08); color: var(--xc-head); }
.cf__status a { color: var(--sp-accent); text-decoration: underline; text-underline-offset: 3px; }
.cf__submit[disabled] { opacity: 0.6; cursor: progress; }
.cf__submit { margin-top: 32px; width: 100%; border: 0; cursor: pointer; }
@media (min-width: 640px) {
  .cf__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf__submit { width: auto; }
}
@media (min-width: 1024px) {
  .cf { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .cf__form { padding: 48px; }
  .cf__form-title { font-size: 36px; }
}

/* --- Visit the studio --- */
.visit { position: relative; margin-top: 32px; height: 520px; overflow: hidden; background: #0f0f1a; }
.visit > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 15, 26, 0) 30%, rgba(15, 15, 26, 0.55) 100%); }
.visit__card {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 24px 20px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 15, 26, 0.5);
  -webkit-backdrop-filter: blur(var(--glass-plate-blur)) saturate(140%);
  backdrop-filter: blur(var(--glass-plate-blur)) saturate(140%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}
.visit__label { font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: #e6d3b0; }
.visit__address { margin-top: 10px; font-family: var(--font-display); font-size: 26px; line-height: 1.2; }
.visit__notes { margin-top: 18px; display: grid; gap: 10px; }
.visit__notes li { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.visit__notes strong { display: block; font-weight: 500; color: #ffffff; }
.visit__link {
  margin-top: 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e6d3b0;
}
.visit__link:hover { color: #ffffff; }
@media (min-width: 1024px) {
  .visit { margin-top: 56px; height: 600px; }
  .visit__card { left: 32px; right: auto; bottom: 32px; width: 440px; padding: 32px 34px; }
  .visit__address { font-size: 30px; }
}

/* --- FAQ (the accordion rows from the homepage) --- */
.faq { margin-top: 32px; border-bottom: 1px solid var(--xc-line); }
.faq__a { max-width: 760px; padding-left: 52px; font-size: 15px; font-weight: 400; line-height: 1.75; color: var(--xc-p1); }
@media (min-width: 1024px) {
  .faq { margin-top: 56px; }
  .faq .xrow__head { min-height: 88px; }
  .faq .xrow__title { font-size: 26px; }
  .faq__a { font-size: 16px; }
}

/* --- Simple pages: a short header image, then the page's own content ---
   No heritage rails here, so the rail width is zero and the content sits in one
   centred column; the hero title lines up with that column. */
.pg-simple { --rail-w: 0px; --pg-max: 1200px; }
.pg-simple .site-header__inner { padding-left: 20px; }
.pg-simple .ph { height: 340px; }
/* one title per page: the hero's. Content starts right after it, so the first block
   of a section needs no space above it */
.pg-simple .xc__inner > :first-child,
.pg-simple .cf__info > :first-child,
.pg-simple .pd__text > :first-child { margin-top: 0; }
/* facts under a hero title (article date, project type and place): plain information */
.ph__meta {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
}
@media (min-width: 1024px) {
  .pg-simple .site-header__inner { padding-left: 40px; }
  .pg-simple .ph {
    height: clamp(380px, 46svh, 440px);
    --hero-left: max(40px, calc((100% - var(--pg-max)) / 2 + 40px));
  }
  .pg-simple .ph .hero-content { right: var(--hero-left); }
  .pg-simple .xc__inner { max-width: var(--pg-max); margin: 0 auto; padding: 104px 40px; }
  /* Next project: the text starts on the same line as the page header and content */
  .pg-simple .nx__body { left: max(40px, calc((100% - var(--pg-max)) / 2 + 40px)); right: max(40px, calc((100% - var(--pg-max)) / 2 + 40px)); }
}

/* --- Entry: an intro, then free content of any length ---
   The content area styles WordPress core block markup (what the_content() prints),
   so whatever the editor adds (paragraphs, headings, images, galleries, quotes,
   lists, groups) fits the design. Text keeps a readable 720px measure;
   "wide" and "full" blocks use the whole column. */
.entry-intro { max-width: 760px; }
.entry-intro__title { margin-top: 16px; font-size: 40px; }
.entry-intro__lead {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.45;
  color: var(--xc-head);
}
.entry-content { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--xc-line); }
/* flush: content that starts a column (article) or follows its own heading (project) */
.entry-content.entry-content--flush { margin-top: 0; padding-top: 0; border-top: 0; }
/* "Lead" paragraph style: the opening line, set larger in the serif */
.entry-content .is-style-lead {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--xc-head);
}
.entry-content > * { max-width: 720px; margin-top: 22px; margin-bottom: 0; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > .alignwide,
.entry-content > .alignfull { max-width: none; }
.entry-content p,
.entry-content li { font-size: 16px; font-weight: 400; line-height: 1.85; color: var(--xc-p1); }
.entry-content a { color: var(--sp-accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content strong { font-weight: 500; color: var(--xc-head); }
.entry-content h2,
.entry-content h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; color: var(--xc-head); }
.entry-content > h2 { margin-top: 56px; font-size: 30px; }
.entry-content > h3 { margin-top: 40px; font-size: 24px; }
/* images keep their own shape; a caption sits under them */
.entry-content > .wp-block-image,
.entry-content > .wp-block-gallery { margin-top: 44px; }
.entry-content > .wp-block-image + *,
.entry-content > .wp-block-gallery + * { margin-top: 44px; }
.entry-content .wp-block-image img { display: block; width: 100%; height: auto; }
/* a tall photo set wide would fill several screens: keep it within one */
.entry-content > .wp-block-image.alignwide img,
.entry-content > .wp-block-image.alignfull img { max-height: 720px; object-fit: cover; }
.entry-content .wp-element-caption { margin-top: 12px; font-size: 12px; line-height: 1.6; color: var(--xc-p2); }
/* galleries: equal tiles when "crop images" is on (WordPress's default) */
.entry-content .wp-block-gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.entry-content .wp-block-gallery > .wp-block-image { margin: 0; }
.entry-content .wp-block-gallery.is-cropped img { aspect-ratio: 4 / 3; object-fit: cover; }
.entry-content .wp-block-gallery > .wp-element-caption { grid-column: 1 / -1; margin-top: -4px; }
/* quote: the gold serif line from the homepage */
.entry-content > .wp-block-quote { position: relative; margin-top: 48px; padding-top: 28px; }
.entry-content > .wp-block-quote + * { margin-top: 48px; }
.entry-content .wp-block-quote::before { content: ''; position: absolute; left: 0; top: 0; width: 48px; height: 2px; background: var(--sp-accent); }
.entry-content .wp-block-quote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  color: var(--head-gold);
}
.entry-content .wp-block-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--xc-label);
}
/* lists: a short gold rule instead of a bullet */
.entry-content ul { display: grid; gap: 10px; padding: 0; list-style: none; }
.entry-content ul li { display: flex; gap: 14px; }
.entry-content ul li::before { content: ''; flex-shrink: 0; margin-top: 14px; width: 14px; height: 1px; background: var(--sp-accent); }
.entry-content ol { padding-left: 22px; list-style: decimal; }
.entry-content ol li::marker { color: var(--sp-accent); }
/* the numbers row, as a Group block with the "Sippar numbers" style */
.entry-content > .is-style-sippar-stats { margin-top: 56px; }
.entry-content .is-style-sippar-stats .stats { margin-top: 0; }
@media (min-width: 640px) {
  .entry-content .wp-block-gallery.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-content .wp-block-gallery.columns-3,
  .entry-content .wp-block-gallery.columns-default { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .entry-intro__title { margin-top: 24px; font-size: clamp(44px, 3.889vw, 56px); }
  .entry-intro__lead { margin-top: 28px; font-size: 28px; }
  .entry-content { margin-top: 56px; padding-top: 56px; }
  .entry-content > * { margin-top: 24px; }
  .entry-content p,
  .entry-content li { font-size: 17px; }
  .entry-content > h2 { margin-top: 72px; font-size: 38px; }
  .entry-content > h3 { font-size: 28px; }
  .entry-content > .wp-block-image,
  .entry-content > .wp-block-gallery,
  .entry-content > .wp-block-image + *,
  .entry-content > .wp-block-gallery + * { margin-top: 56px; }
  .entry-content .wp-block-quote p { font-size: 36px; }
  .entry-content .is-style-lead { font-size: 28px; }
  .entry-content > .is-style-sippar-stats { margin-top: 72px; }
}

/* Reduced motion and transparency */
@media (prefers-reduced-motion: reduce) {
  .pl-card.is-entering { animation: none; }
  .pl-card > img,
  .nx > img,
  .svd__media img,
  .feat__media img,
  .post-card__media img { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .visit__card { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(15, 15, 26, 0.82); }
}
