:root {
  --black: #090d2b;
  --gold: #a97d23;
  --white: #ffffff;
  --paper: #f6f6f6;
  --muted: #666666;
  --line: #dddddd;
  --max: 1180px;
  --font-display: Optima, Candara, "Segoe UI", sans-serif;
  --font-body: "Avenir Next", Avenir, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { min-width: 0; }
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, input, select, textarea { border-radius: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section[id] { scroll-margin-top: 88px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2 { font-family: var(--font-display); font-weight: 400; }

.skip-link {
  background: var(--black);
  color: white;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 30;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-header {
  align-items: center;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: 0.25rem max(1.25rem, calc((100% - 1320px) / 2));
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; min-width: 0; flex-shrink: 0; }
/* Frame the unchanged logo while excluding only its empty canvas margins. */
.brand__logo { width: 270px; height: 72px; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 0.5rem; }
.site-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.6rem 0.8rem;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-nav .nav-cta { background: var(--black); color: white; margin-left: 0.4rem; padding-inline: 1.2rem; }
.nav-toggle { background: white; border: 1px solid var(--line); display: none; height: 44px; width: 44px; padding: 0; }
.nav-toggle span:not(.sr-only) { display: block; background: var(--black); width: 18px; height: 1px; margin: 5px auto; }

.hero {
  background: var(--black);
  color: white;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: 88svh;
}
/* Decorative hero layers must not intercept the consultation and project links. */
.hero picture, .hero img, .hero__overlay { position: absolute; inset: 0; pointer-events: none; }
.hero img { height: 100%; width: 100%; object-fit: cover; object-position: right center; z-index: -3; }
.hero__overlay {
  background: linear-gradient(90deg, rgba(0,0,0,0.88), rgba(0,0,0,0.65) 40%, rgba(0,0,0,0.12) 80%), linear-gradient(0deg, rgba(0,0,0,0.65), transparent 30%);
  z-index: -2;
}
.hero__content {
  display: grid;
  align-content: center;
  min-height: 88svh;
  width: 100%;
  padding: 10rem max(1.5rem, calc((100vw - 1180px) / 2)) 8rem;
  padding-right: 2.5rem;
}
.hero__content > :not(.sr-only) { width: min(640px, 100%); }
.eyebrow { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.hero .eyebrow { color: #dddddd; }
.tagline { font-family: var(--font-display); font-size: 2.7rem; line-height: 1.2; font-weight: 400; margin-bottom: 1.2rem; }
.hero__copy { color: #dddddd; max-width: 570px; font-size: 1rem; line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border: 1px solid var(--black); padding: 0.8rem 1.25rem; font-size: 0.85rem; font-weight: 500; transition: background 160ms ease, color 160ms ease; }
.button--primary { background: var(--black); color: white; }
.button--primary:hover { background: #333333; }
.hero .button--primary, .section--contact .button--primary { background: white; color: var(--black); border-color: white; }
.hero .button--primary:hover, .section--contact .button--primary:hover { background: #e5e5e5; border-color: #e5e5e5; }
.button--secondary { border-color: rgba(255,255,255,0.7); color: white; }
.button--secondary:hover { background: rgba(255,255,255,0.12); }
.button--full { width: 100%; }
.hero__project-note { border-top: 1px solid rgba(255,255,255,0.3); position: absolute; inset: auto 0 0; padding: 1rem max(1.5rem, calc((100vw - 1180px) / 2)); color: #dddddd; font-size: 0.78rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.25rem; }

.section { padding: 6rem max(1.5rem, calc((100% - 1180px) / 2)); background: white; }
.section--light { background: var(--paper); }
.section--dark, .section--contact { background: var(--black); color: white; }
.section__inner { max-width: var(--max); margin: auto; }
.section__intro { max-width: 520px; }
.section__intro--wide { max-width: 800px; }
h2 { font-size: 2.5rem; line-height: 1.25; margin-bottom: 1.5rem; }
h3 { font-size: 1.15rem; line-height: 1.4; margin-bottom: 0.75rem; }
.section p, .process-list span { color: var(--muted); }
.about-grid, .contact-grid, .process-grid, .partnership-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 5rem; }
.text-stack { font-size: 1rem; line-height: 1.8; }
.text-stack p + p { margin-top: 1.5rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 3rem; }
.service-card { border-top: 1px solid var(--black); padding: 1.2rem 0 0; min-height: 220px; }
.service-card span { display: block; font-size: 0.75rem; color: var(--muted); margin-bottom: 2rem; }
.service-card h3 { min-height: 3.2rem; }
.service-card p { font-size: 0.88rem; line-height: 1.75; }
.section--dark .eyebrow, .section--contact .eyebrow { color: #bbbbbb; }
.section--dark p, .section--contact p, .section--dark .process-list span { color: #bbbbbb; }
.process-list { display: grid; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.process-list li { display: grid; gap: 0.5rem; border-top: 1px solid #555555; padding-top: 1.3rem; }
.process-list strong { font-size: 1.15rem; font-weight: 500; }
.process-list span { font-size: 0.93rem; }

.project-filters { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2.5rem; border-bottom: 1px solid var(--line); }
.project-filters button { background: transparent; color: var(--muted); border: 0; border-bottom: 2px solid transparent; padding: 0.7rem 0; font-size: 0.85rem; }
.project-filters button[aria-pressed="true"] { color: var(--black); border-bottom-color: var(--black); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; margin-top: 2.5rem; }
.project[hidden] { display: none; }
.project__media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e5e5e5; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 250ms ease; }
.project__media:hover img { transform: scale(1.025); }
.project__open { position: absolute; right: 0; bottom: 0; padding: 0.6rem 0.9rem; background: var(--black); color: white; font-size: 0.75rem; }
.project__open span { margin-left: 1rem; }
.media-label { position: absolute; top: 0.75rem; left: 0.75rem; background: white; color: var(--black); padding: 0.3rem 0.65rem; font-size: 0.7rem; }
.project__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.35rem; font-size: 0.75rem; color: var(--muted); margin: 1.1rem 0 0.4rem; }
.project h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; line-height: 1.3; }
.project .project__scope { font-size: 0.8rem; color: var(--black); margin: 0.5rem 0 0.25rem; }
.project__ongoing { color: var(--black); font-weight: 500; }
.project__ongoing::before { content: ""; display: inline-block; width: 5px; height: 5px; background: currentColor; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.project h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.project__gallery { display: inline-flex; align-items: center; gap: 0.8rem; min-height: 44px; font-size: 0.8rem; text-decoration: underline; text-underline-offset: 4px; }

.pathways { border-bottom: 1px solid var(--line); padding-block: 3.5rem; }
.pathway-grid, .selected-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
.pathway-grid h2 { font-size: 1.7rem; max-width: 420px; }
.pathway-grid article + article { border-left: 1px solid var(--line); padding-left: 3rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.8rem; min-height: 44px; font-size: 0.85rem; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { color: var(--gold); }
.selected-grid { margin-top: 2.5rem; align-items: start; }
.selected-work h3, .built-work h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 0.75rem; }
.selected-work .eyebrow { margin-bottom: 0.7rem; color: var(--black); }
.selected-work p, .built-work p { font-size: 0.9rem; }
.section-link { margin-top: 2rem; }
.category-filters { margin-top: 0; border-bottom: 0; }
.principal-role { border-top: 2px solid var(--gold); padding-top: 1.25rem; }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.value-grid article, .journey-grid article { border-top: 1px solid var(--gold); padding-top: 1.25rem; }
.value-grid p, .journey-grid p { font-size: 0.9rem; }
.value-grid .eyebrow, .journey-grid .eyebrow { font-size: 0.75rem; color: var(--black); }
.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2.5rem; }
.closing { border-top: 1px solid var(--line); }
.closing h2 { max-width: 950px; }
.closing p { max-width: 720px; }
.project-narrative { margin-bottom: 2.5rem; }
.project-narrative:last-child { margin-bottom: 0; }

.fee-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; margin-top: 2.5rem; }
.fee-form { min-width: 0; display: grid; align-content: start; gap: 1.25rem; }
.fee-project-type { margin: 0 0 1.5rem; padding: 0; border: 0; min-width: 0; }
.fee-project-type legend { margin-bottom: 0.6rem; padding: 0; font-size: 0.8rem; }
.fee-type-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fee-type-options label { position: relative; display: flex; min-width: 0; cursor: pointer; }
.fee-form .fee-type-options input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; }
.fee-type-options span { display: flex; flex: 1; min-width: 0; align-items: center; justify-content: center; min-height: 64px; padding: 0.75rem; border: 1px solid #999999; font-size: 0.85rem; text-align: center; }
.fee-type-options label + label span { border-left: 0; }
.fee-type-options input:checked + span { background: var(--black); color: white; }
.fee-type-options input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 3px; position: relative; z-index: 1; }
.fee-form [hidden], .fee-breakdown > div[hidden] { display: none; }
.fee-form input, .fee-form select { background: white; color: var(--black); border-color: #999999; color-scheme: light; }
.fee-form input::placeholder { color: var(--muted); }
.fee-form input:focus { outline-color: var(--black); border-color: var(--black); }
.fee-input-status { min-height: 1.5rem; margin: 0.5rem 0 1.5rem; font-size: 0.8rem; }
.fee-assumptions, .fee-breakdown { margin: 0; }
.fee-assumptions > div, .fee-breakdown > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.fee-assumptions dt, .fee-breakdown dt { color: var(--muted); }
.fee-assumptions dd, .fee-breakdown dd { margin: 0; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.fee-result { min-width: 0; border-left: 1px solid var(--line); padding-left: 3rem; }
.fee-result__label { font-size: 0.8rem; margin-bottom: 0.5rem; }
.fee-total { display: block; min-height: 3rem; font-size: 2rem; font-weight: 500; line-height: 1.4; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fee-breakdown { margin: 1.25rem 0 2rem; }
.fee-result .fee-disclaimer { margin: 1rem 0 0; font-size: 0.75rem; line-height: 1.7; }
.fee-result .button:disabled { background: #eeeeee; color: var(--muted); border-color: var(--line); cursor: default; }
.inquiry-estimate { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; border-block: 1px solid #555555; padding: 1rem 0; }
.inquiry-estimate[hidden] { display: none; }
.inquiry-estimate p { margin: 0; font-size: 0.8rem; white-space: pre-line; overflow-wrap: anywhere; }
.inquiry-estimate .inquiry-estimate__label { color: white; margin-bottom: 0.4rem; }
.inquiry-estimate button { flex-shrink: 0; padding: 0.25rem 0; border: 0; background: transparent; color: #bbbbbb; font-size: 0.75rem; text-decoration: underline; text-underline-offset: 4px; }
.inquiry-estimate button:hover { color: white; }
.fee-method { border-top: 1px solid var(--line); padding-top: 1rem; }
.fee-method summary { cursor: pointer; font-size: 0.85rem; padding-bottom: 1rem; }
.fee-form .field-note, .fee-inclusions .field-note { font-size: 0.75rem; line-height: 1.7; margin: 0; }
.fee-inclusions { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.fee-inclusions h3 { margin-bottom: 0.4rem; }
.fee-inclusions ul { padding-left: 1.1rem; font-size: 0.85rem; color: var(--muted); }
.fee-inclusions .field-note + .field-note { margin-top: 1rem; }
[hidden] { display: none !important; }
.budget-alignment { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2rem; }
.alignment-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; border: 0; margin: 1.5rem 0; padding: 0; min-width: 0; }
.alignment-options label { display: flex; align-items: flex-start; gap: 0.7rem; cursor: pointer; padding-block: 0.5rem; }
.alignment-options input { width: 20px; height: 20px; min-height: 20px; margin: 0.1rem 0 0; padding: 0; flex: 0 0 20px; accent-color: var(--black); }
.alignment-next p { max-width: 850px; }
.planning-message { max-width: 780px; margin-top: 3rem; }
.inquiry-estimate > div { min-width: 0; flex: 1; }
.inquiry-estimate textarea { min-height: 12rem; font-size: 0.8rem; line-height: 1.7; }

.contact-details { display: grid; gap: 1.4rem; margin-top: 2rem; font-style: normal; }
.contact-details a { display: grid; gap: 0.35rem; }
.contact-details span { font-size: 0.75rem; color: #bbbbbb; }
.contact-details strong { font-size: 1.1rem; font-weight: 400; overflow-wrap: anywhere; }
.contact-details a:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }
.contact-socials a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.85rem; text-decoration: underline; text-underline-offset: 5px; }
.contact-socials a:hover { color: #bbbbbb; }
.inquiry-form { display: grid; gap: 1.2rem; }
.inquiry-honeypot { display: none; }
.inquiry-form button:disabled { opacity: 0.6; cursor: default; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label { display: grid; gap: 0.6rem; font-size: 0.8rem; font-weight: 400; }
input, select, textarea { width: 100%; min-height: 48px; padding: 0.85rem 0.9rem; background: #1c1c1c; color: white; border: 1px solid #555555; }
select { color-scheme: dark; }
textarea { min-height: 9rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: #aaaaaa; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 1px solid white; outline-offset: 2px; border-color: white; }
.inquiry-form .inquiry-note { font-size: 0.75rem; color: #bbbbbb; margin: 0; }
.inquiry-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { font-size: 0.85rem; min-height: 1.5rem; margin-bottom: 0; }

.partner-list { display: grid; gap: 1.5rem; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.partner-list li { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.partner-list h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.partner-list p { font-size: 0.88rem; margin-bottom: 0; }
.partnership-form { min-width: 0; }
.partnership-form input, .partnership-form select, .partnership-form textarea { background: var(--white); color: var(--black); border-color: #999999; }
.partnership-form select { color-scheme: light; }
.partnership-form input::placeholder, .partnership-form textarea::placeholder { color: var(--muted); }
.partnership-form input:focus, .partnership-form select:focus, .partnership-form textarea:focus { outline-color: var(--black); border-color: var(--black); }
.partnership-form .inquiry-note { color: var(--muted); }
.privacy-consent { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.78rem; line-height: 1.6; }
.privacy-consent input { flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; padding: 0; margin: 0.15rem 0 0; accent-color: var(--black); }
.privacy-consent a { text-decoration: underline; text-underline-offset: 3px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 5rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; cursor: pointer; list-style: none; padding: 1.25rem 2rem 1.25rem 0; font-size: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 1.2rem; font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { font-size: 0.9rem; line-height: 1.8; }
.faq-list .faq-reference { border-top: 1px solid var(--line); padding-top: 1.25rem; font-size: 0.75rem; }
.faq-reference a { text-decoration: underline; text-underline-offset: 3px; }
.mobile-viber { display: none; }
.project-page { padding-top: 80px; }
.project-heading { padding-bottom: 2.5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0 0 2rem; font-size: 0.8rem; color: var(--muted); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.project-heading h1 { font-size: 3rem; line-height: 1.2; max-width: 900px; margin-bottom: 1.5rem; overflow-wrap: anywhere; }
.project-heading .project-summary { max-width: 760px; }
.project-lead { margin: 0 auto; max-width: var(--max); }
.project-lead a { display: block; }
.project-lead img { display: block; width: auto; height: auto; max-width: 100%; max-height: 75svh; margin-inline: auto; }
.project-lead figcaption { padding: 0.75rem 1.5rem; font-size: 0.8rem; color: var(--muted); }
.project-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 5rem; }
.project-facts { margin: 0; }
.project-facts > div { padding: 1rem 0; border-top: 1px solid var(--line); }
.project-facts dt { font-size: 0.75rem; color: var(--muted); }
.project-facts dd { margin: 0.4rem 0 0; }
.project-story h2 { font-size: 2rem; }
.project-story .project-note { font-size: 0.85rem; }
.project-evidence { margin-top: 2rem; }
.project-evidence h3 { font-size: 1rem; }
.detail-gallery { columns: 2; column-gap: 1.5rem; }
.detail-image { margin: 0 0 1.5rem; min-width: 0; break-inside: avoid; }
.detail-image a { display: block; background: var(--paper); }
.detail-image img { display: block; width: 100%; height: auto; }
.detail-image figcaption { font-size: 0.8rem; color: var(--muted); padding-top: 0.5rem; }
.project-page .section--dark h2 { max-width: 760px; }
.project-page .section--dark .button { background: white; color: var(--black); border-color: white; }
.project-pagination { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.85rem; }
.project-pagination a { text-decoration: underline; text-underline-offset: 4px; }
.privacy-page { padding-top: 80px; }
.privacy-page .section__inner { max-width: 850px; }
.privacy-page h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 1.5rem; }
.privacy-page h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 0.8rem; }
.privacy-page a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.privacy-page li { margin-bottom: 0.7rem; color: var(--muted); }

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem max(1.5rem, calc((100% - 1180px) / 2)); background: white; }
.site-footer div { display: grid; }
.footer-logo { width: 260px; height: 72px; object-fit: cover; background: transparent; margin: 0 0 0.5rem -0.9rem; }
.site-footer span, .site-footer a { color: var(--muted); font-size: 0.8rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-footer a:hover { color: var(--black); text-decoration: underline; text-underline-offset: 5px; }

.project-dialog { width: min(1000px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); border: 1px solid var(--line); padding: 1.5rem; background: white; color: var(--black); }
.project-dialog::backdrop { background: rgba(0,0,0,0.8); }
body.gallery-open { overflow: hidden; }
.gallery-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.gallery-header h2 { font-size: 1.5rem; margin: 0 0 1.2rem; }
.gallery-header p { font-size: 0.8rem; color: var(--muted); margin: 0 0 0.35rem; }
.gallery-close { border: 0; background: white; color: var(--black); padding: 0.5rem; white-space: nowrap; font-size: 0.85rem; }
.gallery-close span { margin-left: 0.4rem; font-size: 1.25rem; }
.gallery-figure { margin: 0; }
.gallery-figure img { display: block; width: 100%; height: min(55dvh, 70vw, 560px); object-fit: contain; background: var(--paper); }
.gallery-figure figcaption { min-height: 3rem; padding: 0.75rem 0; color: var(--muted); font-size: 0.85rem; }
.gallery-thumbnails { display: flex; gap: 0.5rem; overflow-x: auto; max-width: 100%; padding: 0.25rem 0 0.75rem; margin-bottom: 0.5rem; }
.gallery-thumbnail { flex: 0 0 76px; width: 76px; height: 54px; padding: 2px; border: 1px solid var(--line); background: white; }
.gallery-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbnail:hover { border-color: var(--black); }
.gallery-thumbnail[aria-pressed="true"] { border: 2px solid var(--black); padding: 1px; }
.gallery-controls { display: flex; justify-content: center; align-items: center; gap: 1rem; }
.gallery-controls button { width: 44px; height: 44px; border: 1px solid var(--line); background: white; color: var(--black); font-size: 1.25rem; }
.gallery-controls button:disabled { opacity: 0.3; cursor: default; }
.gallery-controls span { min-width: 3rem; text-align: center; font-size: 0.8rem; }

@media (max-width: 1080px) {
  .brand__logo { width: 230px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: fixed; inset: 80px 0 auto; border-bottom: 1px solid var(--line); background: white; padding: 1rem 1.5rem; }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 0.9rem 0; }
  .site-nav .nav-cta { margin: 0.5rem 0 0; text-align: center; }
}
@media (max-width: 980px) {
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .contact-grid, .process-grid, .partnership-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__content { padding-left: 2.5rem; max-width: 650px; }
  .fee-grid { gap: 2.5rem; }
  .fee-result { padding-left: 2rem; }
}
@media (max-width: 760px) {
  .selected-grid, .pathway-grid, .journey-grid, .alignment-options { grid-template-columns: 1fr; gap: 2rem; }
  .pathway-grid article + article { border-left: 0; border-top: 1px solid var(--line); padding: 2rem 0 0; }
  .faq-grid, .project-story { grid-template-columns: 1fr; gap: 2.5rem; }
  .project-heading h1, .privacy-page h1 { font-size: 2rem; }
  .project-page, .privacy-page { padding-top: 72px; }
  .detail-gallery { columns: 1; }
  .project-pagination { flex-direction: column; }
  .mobile-viber { display: inline-flex; flex-shrink: 0; align-items: center; gap: 0.3rem; min-height: 44px; padding: 0.5rem 0.6rem; background: var(--black); color: white; font-size: 0.75rem; }
  .site-header { padding: 0.25rem 1rem; gap: 0.5rem; }
  .nav-toggle { flex-shrink: 0; }
  .brand__logo { width: 220px; height: 64px; }
  .site-nav { top: 72px; }
  .hero, .hero__content { min-height: 86svh; }
  .hero__content { padding: 9rem 1.5rem 7rem; max-width: 560px; }
  .hero__overlay { background: linear-gradient(90deg, rgba(0,0,0,0.83), rgba(0,0,0,0.48)); }
  .tagline { font-size: 2rem; }
  h2 { font-size: 2rem; }
  .section { padding: 4rem 1.5rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid { gap: 2rem; }
  .service-grid { gap: 1.75rem; }
  .site-footer { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
  .project-dialog { padding: 1rem; }
  .gallery-header h2 { font-size: 1.2rem; }
  .fee-grid { grid-template-columns: 1fr; gap: 2rem; }
  .fee-result { border-left: 0; border-top: 1px solid var(--line); padding: 2rem 0 0; }
}
@media (max-width: 460px) {
  .value-grid { grid-template-columns: 1fr; }
  .brand__logo { width: 195px; }
  .tagline { font-size: 1.65rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero .button { width: 100%; }
  .service-grid, .field-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding-bottom: 0.75rem; }
  .service-card h3 { min-height: 0; }
  .service-card span { margin-bottom: 1rem; }
  .contact-details strong { font-size: 1rem; }
  .fee-total { font-size: 1.8rem; }
  .inquiry-estimate { flex-direction: column; }
}
@media (max-width: 380px) {
  .brand__logo { width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
