/* ============================================================
   Paviportas — site styles
   Premium, calm, architectural. Ports the Claude Design mock to
   reusable classes on top of the design-system tokens (tokens.css).
   ============================================================ */

body { background: var(--bg); color: var(--text); font-family: var(--font-sans); overflow-x: hidden; }

/* ---- Layout primitives ---------------------------------------------------- */
.pp-wrap { max-width: 1240px; margin: 0 auto; padding-left: clamp(20px, 5vw, 56px); padding-right: clamp(20px, 5vw, 56px); }
.pp-section { padding-top: clamp(64px, 9vw, 116px); padding-bottom: clamp(64px, 9vw, 116px); }
.pp-section--surface { background: var(--white); border-top: 1px solid var(--stone-200); border-bottom: 1px solid var(--stone-200); }
.pp-section--sunken  { background: var(--stone-100); border-top: 1px solid var(--stone-200); border-bottom: 1px solid var(--stone-200); }
.pp-section--tight   { padding-top: clamp(48px, 6vw, 76px); padding-bottom: clamp(48px, 6vw, 76px); }
.pp-section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 60px); }
.pp-section__head--wide { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.pp-section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 52px); }
.pp-section__head--row .pp-heading { max-width: 620px; }
.pp-section__cta { margin-top: 38px; }
.pp-page__head { padding-top: calc(84px + clamp(32px, 5vw, 56px)); padding-bottom: clamp(40px, 5vw, 60px); }

.pp-grid--projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(20px, 2.4vw, 30px); }
.pp-grid__empty { color: var(--text-muted); font-size: 16px; padding: 24px 0; }
.pp-grid__empty[hidden] { display: none; }

/* ---- Animations ----------------------------------------------------------- */
@keyframes ppFade   { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ppFadeIn { from { opacity: 0; } to { opacity: 1; } }
.pp-fade-in { animation: ppFadeIn 320ms ease both; }
.pp-fade-up { animation: ppFade 420ms var(--ease-out) both; }

/* ---- Shared bits ---------------------------------------------------------- */
.pp-rule { width: 28px; height: 2px; background: var(--accent); border-radius: var(--radius-pill); flex: none; }
.pp-rule--bright { width: 32px; height: 2px; background: #ffcf5b; }

/* ============================================================
   Header
   ============================================================ */
.pp-header { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-overlay, 100);
  background: rgba(250, 248, 243, 0.86); border-bottom: 1px solid var(--stone-200);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: background 320ms var(--ease-out), border-color 320ms var(--ease-out); }
.pp-header--over-hero:not(.is-scrolled):not(.is-menu-open) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.pp-header__inner { max-width: 1240px; margin: 0 auto; padding: 15px clamp(20px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pp-header__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.pp-header__logo-light { display: none; height: 30px; }
.pp-header__logo-solid { display: inline-flex; align-items: center; gap: 12px; }
.pp-header__logo-solid img { height: 30px; display: block; }
.pp-header--over-hero:not(.is-scrolled):not(.is-menu-open) .pp-header__logo-light { display: block; }
.pp-header--over-hero:not(.is-scrolled):not(.is-menu-open) .pp-header__logo-solid { display: none; }
.pp-wordmark { font-family: var(--font-display); font-weight: 500; font-size: 21px; letter-spacing: -0.01em; color: var(--ink-900); }
.pp-wordmark span { color: var(--amber-600); }

.pp-nav { display: flex; align-items: center; gap: 32px; }
.pp-nav__link { font-family: var(--font-sans); font-size: 15px; font-weight: 500; letter-spacing: 0.01em; color: var(--ink-700); text-decoration: none; transition: color 160ms ease; }
.pp-nav__link:hover, .pp-nav__link.is-active { color: var(--amber-500); }
.pp-header--over-hero:not(.is-scrolled):not(.is-menu-open) .pp-nav__link { color: rgba(250, 248, 243, 0.92); }
.pp-header--over-hero:not(.is-scrolled):not(.is-menu-open) .pp-nav__link:hover, .pp-header--over-hero:not(.is-scrolled):not(.is-menu-open) .pp-nav__link.is-active { color: var(--amber-500); }

.pp-burger { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; background: none; border: none; cursor: pointer; padding: 0; color: var(--ink-900); }
.pp-header--over-hero:not(.is-scrolled):not(.is-menu-open) .pp-burger { color: var(--stone-50); }

.pp-mobile-menu { background: var(--stone-50); border-top: 1px solid var(--stone-200); padding: 10px clamp(20px, 5vw, 56px) 22px; flex-direction: column; gap: 2px; }
.pp-mobile-menu[hidden] { display: none; }
.pp-mobile-menu:not([hidden]) { display: flex; }
.pp-mobile-menu__link { text-align: left; padding: 13px 0; font-family: var(--font-sans); font-size: 17px; font-weight: 500; color: var(--ink-900); text-decoration: none; border-bottom: 1px solid var(--stone-150); }
.pp-mobile-menu .pp-btn { margin-top: 12px; }

/* ============================================================
   Button  (ported from Button.jsx)
   ============================================================ */
.pp-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-weight: var(--weight-semibold); line-height: 1; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; user-select: none; text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.pp-btn:active { transform: translateY(1px) scale(0.99); }
.pp-btn--sm { height: 36px; padding: 0 16px; font-size: var(--text-sm); gap: 7px; }
.pp-btn--md { height: 44px; padding: 0 22px; font-size: var(--text-base); gap: 8px; }
.pp-btn--lg { height: 54px; padding: 0 30px; font-size: var(--text-md); gap: 10px; }
.pp-btn--full { width: 100%; }
.pp-btn--primary { background: var(--accent); color: var(--text-on-amber); box-shadow: var(--shadow-xs); }
.pp-btn--primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-amber); }
.pp-btn--secondary { background: var(--ink-900); color: var(--stone-50); }
.pp-btn--secondary:hover { background: var(--ink-800); box-shadow: var(--shadow-md); }
.pp-btn--outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.pp-btn--outline:hover { background: var(--stone-100); }
.pp-btn--link { background: transparent; color: var(--accent-text); height: auto; padding: 0; border-radius: 0; }
.pp-btn--link:hover { text-decoration: underline; text-underline-offset: 4px; }
.pp-btn--on-dark { color: #faf8f3; border-color: rgba(250, 248, 243, 0.55); background: rgba(250, 248, 243, 0.06); }
.pp-btn--on-dark:hover { background: rgba(250, 248, 243, 0.12); }

/* ============================================================
   SectionHeading  (ported from SectionHeading.jsx)
   ============================================================ */
.pp-heading { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 720px; }
.pp-heading__eyebrow { display: flex; align-items: center; gap: 12px; }
.pp-heading__eyebrow > span:not(.pp-rule), .pp-eyebrow--deep {
  font-family: var(--font-display); font-size: var(--text-xs); font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--accent-text); }
.pp-heading__title { margin: 0; font-family: var(--font-display); font-weight: var(--weight-light);
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight);
  color: var(--text); text-wrap: balance; }
.pp-heading__lead { margin: 0; font-size: var(--text-md); line-height: var(--leading-relaxed); color: var(--text-muted); text-wrap: pretty; }
.pp-heading--inverse .pp-heading__title { color: var(--stone-50); }
.pp-heading--inverse .pp-heading__lead { color: var(--stone-300); }
.pp-heading--inverse .pp-heading__eyebrow > span:not(.pp-rule) { color: var(--amber-400); }

/* ============================================================
   Stat  (ported from Stat.jsx)
   ============================================================ */
.pp-stat { display: flex; flex-direction: column; gap: 4px; }
.pp-stat__value { font-family: var(--font-display); font-weight: var(--weight-light); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: var(--tracking-tight); color: var(--text); }
.pp-stat__label { font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-semibold); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text); margin-top: 4px; }
.pp-stat__sub { font-size: var(--text-sm); color: var(--text-muted); }
.pp-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(28px, 4vw, 56px); }
.pp-stats-band { background: var(--stone-100); border-bottom: 1px solid var(--stone-200); }
.pp-stats-band .pp-stats-grid { padding-top: clamp(40px, 5vw, 60px); padding-bottom: clamp(40px, 5vw, 60px); }

/* ============================================================
   ProjectCard  (ported from ProjectCard.jsx)
   ============================================================ */
.pp-pcard { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.pp-pcard[hidden] { display: none; }
.pp-pcard__media { position: relative; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4 / 5; background: var(--stone-150); box-shadow: var(--shadow-xs); transition: box-shadow var(--dur-slow) var(--ease-out); }
.pp-pcard:hover .pp-pcard__media { box-shadow: var(--shadow-lg); }
.pp-pcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); transition: transform 700ms var(--ease-out); }
.pp-pcard:hover .pp-pcard__media img { transform: scale(1.05); }
.pp-pcard__cat { position: absolute; top: 14px; left: 14px; padding: 5px 12px; background: rgba(250, 248, 243, 0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: var(--radius-pill); font-family: var(--font-display); font-size: var(--text-2xs); font-weight: var(--weight-medium); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--ink-900); }
.pp-pcard__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; }
.pp-pcard__title { margin: 0; font-family: var(--font-display); font-weight: var(--weight-medium); font-size: var(--text-lg); line-height: var(--leading-snug); color: var(--text); }
.pp-pcard__year { font-family: var(--font-display); font-size: var(--text-sm); color: var(--text-subtle); flex: none; }
.pp-pcard__loc { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--text-muted); font-size: var(--text-sm); }

/* ============================================================
   Tag / filter chip  (ported from Tag.jsx)
   ============================================================ */
.pp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-tag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-medium); cursor: pointer; white-space: nowrap; user-select: none; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.pp-tag:hover { background: var(--stone-150); }
.pp-tag.is-selected { background: var(--ink-900); color: var(--stone-50); border-color: var(--ink-900); }

/* ============================================================
   Hero
   ============================================================ */
.pp-hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.pp-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-hero__scrim { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(22,19,15,0.82) 0%, rgba(22,19,15,0.46) 42%, rgba(22,19,15,0.08) 74%, rgba(22,19,15,0) 100%); }
.pp-hero__scrim--bottom { background: linear-gradient(0deg, rgba(22,19,15,0.55) 0%, rgba(22,19,15,0) 42%); }
.pp-hero__inner { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px) clamp(64px, 9vw, 116px); }
.pp-hero__eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; animation: ppFade 600ms var(--ease-out) both; }
.pp-hero__eyebrow > span:last-child { font-family: var(--font-display); font-size: 13px; font-weight: var(--weight-medium); letter-spacing: 0.22em; text-transform: uppercase; color: #ffcf5b; }
.pp-hero__title { margin: 0; font-family: var(--font-display); font-weight: var(--weight-light); font-size: clamp(2.7rem, 6.6vw, 5.6rem); line-height: 1.02; letter-spacing: -0.026em; color: #faf8f3; max-width: 16ch; text-wrap: balance; animation: ppFade 720ms var(--ease-out) both; }
.pp-hero__lead { margin: 26px 0 38px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; color: rgba(250,248,243,0.92); max-width: 50ch; text-wrap: pretty; animation: ppFade 840ms var(--ease-out) both; }
.pp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; animation: ppFade 960ms var(--ease-out) both; }

/* ============================================================
   Services (home)
   ============================================================ */
.pp-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.pp-service { background: var(--white); border: 1px solid var(--stone-200); border-radius: 14px; padding: 30px 28px; transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out), border-color 280ms; }
.pp-service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(28,24,21,0.4); border-color: var(--amber-300); }
.pp-service__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--amber-50); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.pp-service__title { margin: 0 0 8px; font-family: var(--font-display); font-weight: var(--weight-medium); font-size: 21px; color: var(--ink-900); }
.pp-service__desc { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--stone-600); text-wrap: pretty; }

/* ============================================================
   Atelier teaser (home) + Story (atelier)
   ============================================================ */
.pp-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(36px, 5vw, 72px); align-items: center; }
.pp-teaser__media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -36px rgba(28,24,21,0.5); }
.pp-teaser__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-teaser__body .pp-heading__eyebrow { margin-bottom: 18px; }
.pp-teaser__title { margin: 0 0 20px; font-family: var(--font-display); font-weight: var(--weight-light); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--ink-900); text-wrap: balance; }
.pp-teaser__body p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; color: var(--stone-700); text-wrap: pretty; }
.pp-teaser__body p + p { margin-bottom: 30px; }

.pp-story { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(40px, 5vw, 76px); align-items: center; }
.pp-story__body .pp-heading__eyebrow { margin-bottom: 20px; }
.pp-story__title { margin: 0 0 24px; font-family: var(--font-display); font-weight: var(--weight-light); font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.024em; color: var(--ink-900); text-wrap: balance; }
.pp-story__body p { margin: 0 0 18px; font-size: 17.5px; line-height: 1.72; color: var(--stone-700); text-wrap: pretty; }
.pp-story__body p:last-child { margin-bottom: 0; }
.pp-story__body strong { font-weight: 600; color: var(--ink-900); }
.pp-story__media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 34px 70px -38px rgba(28,24,21,0.55); }
.pp-story__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   Values (atelier)
   ============================================================ */
.pp-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--stone-200); border: 1px solid var(--stone-200); border-radius: 16px; overflow: hidden; }
.pp-value { background: var(--stone-50); padding: 34px 30px; }
.pp-value__num { font-family: var(--font-display); font-size: 13px; font-weight: var(--weight-semibold); letter-spacing: 0.16em; color: var(--amber-600); }
.pp-value__title { margin: 14px 0 8px; font-family: var(--font-display); font-weight: var(--weight-medium); font-size: 20px; color: var(--ink-900); }
.pp-value__desc { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--stone-600); text-wrap: pretty; }

/* ============================================================
   Full services list (atelier)
   ============================================================ */
.pp-fullservices { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(36px, 5vw, 72px); }
.pp-fullservices__cta { margin-top: 30px; }
.pp-fullservices__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.pp-svc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pp-svc-list li { display: flex; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--stone-150); }
.pp-svc-list li:last-child { border-bottom: none; }
.pp-svc-list__mark { color: var(--amber-600); font-size: 13px; }
.pp-svc-list li > span:last-child { font-size: 16.5px; color: var(--ink-800); font-weight: var(--weight-medium); }

/* ============================================================
   CTA banner (home)
   ============================================================ */
.pp-cta { position: relative; overflow: hidden; }
.pp-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-cta__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,19,15,0.86) 0%, rgba(22,19,15,0.6) 50%, rgba(22,19,15,0.3) 100%); }
.pp-cta__inner { position: relative; padding-top: clamp(72px, 10vw, 132px); padding-bottom: clamp(72px, 10vw, 132px); }
.pp-cta__body { max-width: 640px; }
.pp-cta__title { margin: 0 0 18px; font-family: var(--font-display); font-weight: var(--weight-light); font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.022em; color: #faf8f3; text-wrap: balance; }
.pp-cta__lead { margin: 0 0 32px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: rgba(250,248,243,0.9); text-wrap: pretty; }

/* ============================================================
   Contact
   ============================================================ */
.pp-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(36px, 4vw, 64px); align-items: start; }
.pp-info { display: flex; flex-direction: column; }
.pp-info__row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--stone-200); }
.pp-info__row--last { border-bottom: none; }
.pp-info__icon { display: inline-flex; flex-shrink: 0; color: var(--amber-600); margin-top: 2px; }
.pp-info__label { font-family: var(--font-display); font-size: 11.5px; font-weight: var(--weight-medium); letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone-500); margin-bottom: 5px; }
.pp-info__value { font-size: 16.5px; line-height: 1.55; color: var(--ink-800); }
.pp-info__value a { color: var(--ink-800); }
.pp-map { margin-top: 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--stone-200); box-shadow: 0 14px 30px -22px rgba(28,24,21,0.4); }
.pp-map iframe { width: 100%; height: 280px; border: 0; display: block; filter: saturate(0.82); }

.pp-formcard { background: var(--white); border: 1px solid var(--stone-200); border-radius: 18px; padding: clamp(26px, 3vw, 40px); box-shadow: 0 24px 50px -34px rgba(28,24,21,0.45); }
.pp-formcard__title { margin: 0 0 6px; font-family: var(--font-display); font-weight: var(--weight-medium); font-size: 24px; color: var(--ink-900); }
.pp-formcard__lead { margin: 0 0 26px; font-size: 15px; line-height: 1.6; color: var(--stone-600); }
.pp-form { display: flex; flex-direction: column; gap: 18px; }
.pp-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.pp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Fields (ported from Input/Select/Textarea/Checkbox.jsx) */
.pp-field { display: flex; flex-direction: column; gap: 7px; }
.pp-label { font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--text); }
.pp-req { color: var(--danger); }
.pp-control { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.pp-control--area { height: auto; padding: 12px 14px; align-items: stretch; }
.pp-control input, .pp-control textarea, .pp-control select { flex: 1; border: none; outline: none; background: transparent; font-family: var(--font-sans); font-size: var(--text-base); color: var(--text); width: 100%; min-width: 0; }
.pp-control textarea { resize: vertical; line-height: 1.6; min-height: 120px; }
.pp-control input::placeholder, .pp-control textarea::placeholder { color: var(--text-subtle); }
.pp-control:focus-within { border-color: var(--accent-press); box-shadow: 0 0 0 3px rgba(217,158,31,0.16); }
.pp-control--select { position: relative; }
.pp-control--select select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px; }
.pp-control__chevron { position: absolute; right: 14px; pointer-events: none; color: var(--text-subtle); }
.pp-field.has-error .pp-control { border-color: var(--danger); }
.pp-error { font-size: var(--text-xs); color: var(--danger); }

.pp-check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.pp-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.pp-check__box { width: 20px; height: 20px; flex: none; background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--radius-xs); display: inline-flex; align-items: center; justify-content: center; transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); margin-top: 1px; }
.pp-check__box svg { opacity: 0; transition: opacity var(--dur-fast) var(--ease-out); }
.pp-check input:checked + .pp-check__box { background: var(--accent); border-color: var(--accent); }
.pp-check input:checked + .pp-check__box svg { opacity: 1; }
.pp-check input:focus-visible + .pp-check__box { box-shadow: 0 0 0 3px rgba(217,158,31,0.16); }
.pp-check__label { font-size: 15px; line-height: 1.5; color: var(--text-muted); }

.pp-formsuccess { text-align: center; padding: 30px 10px 22px; }
.pp-formsuccess__icon { width: 64px; height: 64px; border-radius: var(--radius-pill); background: var(--success-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.pp-formsuccess__title { margin: 0 0 10px; font-family: var(--font-display); font-weight: var(--weight-medium); font-size: 24px; color: var(--ink-900); }
.pp-formsuccess__text { margin: 0 auto 26px; max-width: 36ch; font-size: 16px; line-height: 1.6; color: var(--stone-600); }

/* ============================================================
   Footer
   ============================================================ */
.pp-footer { background: var(--ink-900); color: var(--stone-300); padding: clamp(56px, 7vw, 92px) clamp(20px, 5vw, 56px) 32px; }
.pp-footer__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(32px, 4vw, 60px); }
.pp-footer__brand { min-width: 240px; }
.pp-footer__logo { height: 38px; margin-bottom: 20px; display: block; }
.pp-footer__brand p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.7; color: var(--stone-400); max-width: 300px; text-wrap: pretty; }
.pp-footer__addr { font-size: 14px; line-height: 1.7; color: var(--stone-500); }
.pp-footer__head { margin: 0 0 16px; font-family: var(--font-display); font-size: 12.5px; font-weight: var(--weight-medium); letter-spacing: 0.18em; text-transform: uppercase; color: #ffcf5b; }
.pp-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.pp-footer__list li { font-size: 14.5px; color: var(--stone-300); }
.pp-footer__list a { font-size: 14.5px; color: var(--stone-300); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.pp-footer__list a:hover { color: #ffcf5b; }
.pp-footer__contact { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.pp-footer__contact a { display: flex; gap: 10px; align-items: center; color: var(--stone-300); text-decoration: none; }
.pp-footer__contact a:hover { color: #ffcf5b; }
.pp-footer__bottom { max-width: 1240px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--stone-600); }
.pp-footer__cofinance { display: inline-flex; align-items: center; line-height: 0; opacity: 0.6; transition: opacity var(--dur-fast) var(--ease-out); }
.pp-footer__cofinance:hover { opacity: 1; }
.pp-footer__cofinance img { height: 30px; width: auto; display: block; }
.pp-footer__legal { display: flex; gap: 20px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .pp-nav { display: none; }
  .pp-burger { display: inline-flex; }
  .pp-form__row { grid-template-columns: 1fr; }
  .pp-fullservices__cols { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   Project detail page
   ============================================================ */
.pp-proj-hero { position: relative; height: clamp(340px, 56vh, 620px); overflow: hidden; background: var(--stone-150); }
.pp-proj-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-proj-hero__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,19,15,0.78) 0%, rgba(22,19,15,0.18) 46%, rgba(22,19,15,0.28) 100%); }
.pp-proj-hero__inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px) clamp(36px, 5vw, 60px); }
.pp-proj-back { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: rgba(250,248,243,0.12); border: 1px solid rgba(250,248,243,0.32); border-radius: var(--radius-pill); padding: 7px 16px 7px 12px; margin-bottom: 22px; font-size: 13.5px; font-weight: var(--weight-medium); color: var(--stone-50); text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background var(--dur-fast) var(--ease-out); }
.pp-proj-back:hover { background: rgba(250,248,243,0.22); }
.pp-proj-hero__eyebrow { font-family: var(--font-display); font-size: var(--text-xs); font-weight: var(--weight-medium); letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber-400); margin-bottom: 14px; }
.pp-proj-hero__title { margin: 0; font-family: var(--font-display); font-weight: var(--weight-light); font-size: clamp(2.2rem, 5.2vw, 4.2rem); line-height: 1.02; letter-spacing: -0.024em; color: var(--stone-50); text-wrap: balance; }

.pp-proj-intro { padding: clamp(44px, 6vw, 80px) 0 clamp(28px, 4vw, 44px); }
.pp-proj-intro__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pp-proj-intro__lead { margin: 0 0 18px; font-family: var(--font-display); font-weight: var(--weight-light); font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.32; letter-spacing: -0.012em; color: var(--ink-900); text-wrap: balance; }
.pp-proj-intro__text { margin: 0; font-size: 17px; line-height: 1.72; color: var(--stone-700); max-width: 56ch; text-wrap: pretty; }
.pp-proj-meta { border-top: 2px solid var(--ink-900); padding-top: 22px; display: flex; flex-direction: column; gap: 18px; }
.pp-proj-meta__label { font-family: var(--font-display); font-size: 11px; font-weight: var(--weight-medium); letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone-500); margin-bottom: 5px; }
.pp-proj-meta__value { font-size: 16.5px; color: var(--ink-800); }
.pp-proj-meta__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pp-proj-meta__tag { display: inline-flex; align-items: center; padding: 6px 13px; background: var(--stone-100); border: 1px solid var(--stone-200); border-radius: var(--radius-pill); font-size: 13.5px; font-weight: var(--weight-medium); color: var(--ink-800); }

.pp-proj-gallery { padding-bottom: clamp(64px, 8vw, 104px); }
.pp-proj-masonry { column-width: 460px; column-gap: clamp(14px, 2vw, 24px); }
.pp-proj-masonry__item { break-inside: avoid; margin-bottom: clamp(14px, 2vw, 24px); border-radius: var(--radius-md); overflow: hidden; background: var(--stone-150); box-shadow: var(--shadow-xs); }
.pp-proj-masonry__item img { width: 100%; height: auto; display: block; }
.pp-proj-empty { border: 1px dashed var(--stone-300); border-radius: var(--radius-lg); background: var(--stone-100); padding: clamp(48px, 8vw, 92px) 24px; text-align: center; }
.pp-proj-empty__title { margin: 16px 0 8px; font-family: var(--font-display); font-weight: var(--weight-medium); font-size: 22px; color: var(--ink-900); }
.pp-proj-empty__text { margin: 0 auto; max-width: 42ch; font-size: 15.5px; line-height: 1.6; color: var(--stone-600); }

.pp-proj-foot { background: var(--ink-900); color: var(--stone-50); }
.pp-proj-foot__grid { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(36px, 5vw, 64px); align-items: center; }
.pp-proj-next { display: block; text-decoration: none; }
.pp-proj-next__label { font-family: var(--font-display); font-size: 11.5px; font-weight: var(--weight-medium); letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber-400); margin-bottom: 12px; }
.pp-proj-next__row { display: flex; align-items: center; gap: 18px; }
.pp-proj-next__thumb { width: 84px; height: 84px; flex-shrink: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--ink-800); }
.pp-proj-next__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--ease-out); }
.pp-proj-next:hover .pp-proj-next__thumb img { transform: scale(1.06); }
.pp-proj-next__title { font-family: var(--font-display); font-weight: var(--weight-light); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--stone-50); }
.pp-proj-next__loc { font-size: 14.5px; color: var(--stone-400); margin-top: 4px; }
.pp-proj-cta { justify-self: start; }
.pp-proj-cta__title { margin: 0 0 18px; font-family: var(--font-display); font-weight: var(--weight-light); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--stone-50); text-wrap: balance; }
.pp-proj-cta__lead { margin: 0 0 26px; font-size: 16.5px; line-height: 1.6; color: var(--stone-300); max-width: 42ch; }

@media (max-width: 720px) {
  .pp-proj-intro__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
