/* ============================================================================
   STRATA — Exterior & Landscape Design Studio
   Clean-room recreation of the bloom3d.studio structure, layout system and
   motion — rebuilt with original code and our own content.
   Design tokens (type scale, spacing, colours, container) mirror the source
   1:1; brand, copy and imagery are our own / clearly-labelled placeholders.
   Typography: Inter (Latin + Cyrillic). lang="bg" enables Inter's Bulgarian
   localised letterforms (locl) for correct Bulgarian typography.
   ============================================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Design tokens (mirrored from source) ---------- */
:root {
  --c-bg: #f7f7f7;
  --c-body: #2e2e2e;
  --c-dark: #121212;
  --c-ink: #222;
  --c-grey: #595959;
  --c-grey-2: #767676;
  --c-line: #e7e7e7;
  --c-white: #fff;
  --c-black: #000;

  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease-quint: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.645, .045, .355, 1);

  --container: 120rem;
  --pad-x: 5rem;

  /* carousel cylinder math (from source) */
  --scroll-ratio: 2;
  --gap-efficient: 0;
  --total: 14;
  --inner-angle: calc((360 / var(--total)) * 1deg);
  --item-width: 29.6875rem;
  --gap: calc(var(--item-width) * var(--gap-efficient));
  --radius: calc(((var(--item-width) + var(--gap)) / sin(var(--inner-angle))) * -1);

  --vh: 1vh;
}

html { font-size: 16px; }
/* scale the whole rem-based layout up on ultra-wide/5K (must come AFTER the base
   rule to win the cascade) */
@media screen and (min-width: 1921px) { html { font-size: 22px; } }
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--c-body);
  background: var(--c-bg);
  line-height: 1.4;
  overflow-x: hidden;
}
/* keep letters tight & premium like the source's display face */
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.01em; }

/* ---------- Type scale (mirrored) ---------- */
.u-h1 { font-size: 4rem;   line-height: 110%; letter-spacing: -0.055em; font-weight: 600; }
.u-h2 { font-size: 3rem;   line-height: 120%; letter-spacing: -0.02em;  font-weight: 600; }
.u-h3 { font-size: 2rem;   line-height: 120%; letter-spacing: -0.015em; font-weight: 500; }
.u-h4 { font-size: 1.5rem; line-height: 120%; font-weight: 400; }
.u-subheading-xl { font-size: 1.25rem;  line-height: 140%; letter-spacing: .01em; }
.u-subheading-l  { font-size: 1.125rem; line-height: 140%; letter-spacing: .01em; }
.u-subheading-m  { font-size: 1rem;     line-height: 140%; letter-spacing: .01em; }

@media (max-width: 991px) {
  .u-h1 { font-size: 3rem; } .u-h2 { font-size: 2.25rem; } .u-h3 { font-size: 1.75rem; }
}
@media (max-width: 567px) {
  :root { --pad-x: 1.25rem; }
  .u-h1 { font-size: 2.25rem; } .u-h2 { font-size: 1.875rem; } .u-h3 { font-size: 1.5rem; } .u-h4 { font-size: 1.25rem; }
}

/* ---------- Layout ---------- */
.u-container, .u-container-wide {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.u-container-wide { max-width: none; padding-left: var(--pad-x); padding-right: var(--pad-x); }

#smooth-wrapper { overflow: hidden; }

/* ============================================================================
   PRELOADER
   ============================================================================ */
.u-preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-dark); color: var(--c-white);
  clip-path: polygon(0% 0%, 0% 100%, calc(50% - 0.01px) 100%, calc(50% - 0.01px) calc(50% - 0.01px), calc(50% + 0.01px) calc(50% - 0.01px), calc(50% + 0.01px) calc(50% + 0.01px), calc(50% - 0.01px) calc(50% + 0.01px), calc(50% - 0.01px) 100%, 100% 100%, 100% 0%);
}
.preloader_num {
  position: absolute; bottom: var(--pad-x); left: var(--pad-x);
  font-size: 1.125rem; opacity: 0;
}
.preloader_logo {
  position: absolute; width: 15rem; height: auto; color: var(--c-white); opacity: 0;
}
.preloader_content {
  position: absolute; bottom: var(--pad-x); right: var(--pad-x);
  display: flex; flex-direction: column; align-items: flex-end; gap: .75rem;
  opacity: 0; text-align: right;
}
.preloader_content_logo { width: 8rem; height: auto; color: var(--c-white); }
.preloader_content_text { font-size: 1rem; letter-spacing: .01em; opacity: .7; }

/* ============================================================================
   NAVBAR
   ============================================================================ */
/* Bloom-style: logo + EN/BG + animated burger, with a slide-in overlay panel
   (links + CTA). Burger + overlay on ALL breakpoints, like the source. */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  color: var(--c-ink);
}
.navbar_container {
  max-width: var(--container); margin: 0 auto;
  padding: 1.75rem var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  position: relative; z-index: 3;
}
.navbar_logo_wrapper { display: flex; align-items: center; gap: .6rem; color: var(--c-ink); transition: color .4s var(--ease-quint); }
.navbar_logo { width: 7rem; height: auto; }
.navbar.on_hero .navbar_logo_wrapper { color: var(--c-white); }
.navbar.active .navbar_logo_wrapper { color: var(--c-ink); }
.navbar_right { display: flex; align-items: center; gap: 1.5rem; }

/* language toggle */
.lang_toggle { display: inline-flex; align-items: center; gap: .3rem; font-size: .95rem; letter-spacing: .03em; color: currentColor; }
.navbar.on_hero .lang_toggle { color: var(--c-white); }
.navbar.active .lang_toggle { color: var(--c-ink); }
.lang_btn { opacity: .5; transition: opacity .3s; padding: .1rem .15rem; }
.lang_btn.active { opacity: 1; font-weight: 600; }
.lang_sep { opacity: .35; }

/* burger */
.navbar_menu_btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 1.75rem; height: 1.25rem; color: currentColor; }
.navbar.on_hero .navbar_menu_btn { color: var(--c-white); }
.navbar.active .navbar_menu_btn { color: var(--c-ink); }
.navbar_menu_btn span { height: 2px; width: 100%; background: currentColor; transition: transform .5s var(--ease-quint), opacity .3s; transform-origin: center; }
.navbar.active .navbar_menu_btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.active .navbar_menu_btn span:nth-child(2) { opacity: 0; }
.navbar.active .navbar_menu_btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* slide-in overlay panel */
.navbar_nav_wrapper {
  position: fixed; top: 0; right: 0; height: 100%; width: min(92vw, 34rem);
  background: var(--c-bg); color: var(--c-ink);
  transform: translateX(100%); transition: transform .7s var(--ease-quint);
  z-index: 2; display: flex; align-items: stretch;
  box-shadow: -30px 0 80px rgba(0,0,0,.15);
}
.navbar.active .navbar_nav_wrapper { transform: translateX(0); }
.navbar_nav_inner { display: flex; flex-direction: column; justify-content: center; gap: 3rem; width: 100%; padding: 6rem var(--pad-x); }
.navbar_nav { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.navbar_nav_item { position: relative; }
.navbar_nav_link, .navbar_nav_dd_btn { font-size: 2rem; font-weight: 500; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: .35rem; color: var(--c-ink); transition: opacity .3s; }
.navbar_nav_link:hover, .navbar_nav_dd_btn:hover { opacity: .55; }
.u-underline { display: none; }
.navbar_nav_dd_btn { cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
.navbar_nav_dd_icon { width: 1.4rem; height: 1.4rem; flex: none; transition: transform .4s var(--ease-quint); }
.navbar_nav_dd.open .navbar_nav_dd_icon { transform: rotate(180deg); }

/* dropdown becomes an inline sub-list inside the panel */
.navbar_nav_dd { position: relative; display: flex; flex-direction: column; }
/* collapsed by default; click the label to expand (Portfolio → projects, Services → services) */
.navbar_nav_dd_list { display: flex; flex-direction: column; gap: .7rem; padding-left: 1rem;
  max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-quint), margin-top .5s var(--ease-quint); }
.navbar_nav_dd.open .navbar_nav_dd_list { max-height: 22rem; margin-top: .9rem; }
.navbar_nav_dd_link { font-size: 1.15rem; color: var(--c-grey); transition: color .3s; }
.navbar_nav_dd_link:hover { color: var(--c-ink); }
.underline_nav_dd, .underline_footer_dd { display: none; }

/* CTA block at bottom of panel */
.navbar_cta { display: flex; flex-direction: column; gap: 1rem; }
.navbar_cta_title { font-size: 1.125rem; color: var(--c-grey); }
.navbar_nav_btns { display: flex; flex-direction: column; gap: .75rem; align-items: stretch; }
.navbar_nav_btns .u-btn { width: 100%; }

/* dim overlay behind panel */
.navbar_overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; z-index: 1;
}
.navbar.active .navbar_overlay { opacity: 1; visibility: visible; }

/* ============================================================================
   BUTTONS (front/back flip like source)
   ============================================================================ */
.u-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: 2rem; cursor: pointer; text-align: center;
  min-height: 3.25rem;
}
/* front is in-flow and content-sized (defines the button width); back overlays
   it via inset:0. NOTE: width:100% here collapses the button to 0 inside a
   content-sized flex row (e.g. .hero_btns), so it is applied only where the
   button is explicitly full-width (nav CTA). */
.u-btn-front, .u-btn-back {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .9rem 1.6rem; transition: transform .55s var(--ease-quint);
}
.u-btn-back { position: absolute; inset: 0; transform: translateY(110%); }
.navbar_nav_btns .u-btn-front, .navbar_nav_btns .u-btn-back { width: 100%; }
.u-btn:hover .u-btn-front { transform: translateY(-110%); }
.u-btn:hover .u-btn-back { transform: translateY(0); }
.u-btn-text { font-size: 1rem; letter-spacing: .01em; white-space: nowrap; }
.u-btn-icon { width: 1.15rem; height: 1.15rem; }

/* NOTE: the variant + front/back classes are on the SAME element
   (class="u-btn-white u-btn-front"), so these must be COMPOUND selectors
   (no space), not descendant. */
/* white pill — pops on DARK backgrounds (hero, CTA, footer, cards) */
.u-btn-white.u-btn-front, .u-btn-white.u-btn-back { background: var(--c-white); color: var(--c-dark); }
/* dark pill — pops on LIGHT backgrounds (nav panel, contact form) */
.u-btn-black.u-btn-front, .u-btn-black.u-btn-back { background: var(--c-dark); color: var(--c-white); }
/* glass — translucent, for the dark hero */
.u-btn-glass.u-btn-front, .u-btn-glass.u-btn-back { background: rgba(255,255,255,.16); color: var(--c-white); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.5); }

/* ============================================================================
   HERO
   ============================================================================ */
.section_hero { position: relative; height: 100vh; min-height: 40rem; overflow: hidden; }
.hero_pin { position: relative; height: 100vh; width: 100%; overflow: hidden; }
.hero_wrapper {
  position: relative; z-index: 3; height: 100vh; max-width: var(--container); margin: 0 auto;
  padding: 0 var(--pad-x) 4rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 2.5rem;
}
.hero_content { max-width: 46rem; color: var(--c-white); display: flex; flex-direction: column; gap: 1.5rem; }
.hero_subheading { opacity: 0; letter-spacing: .04em; text-transform: uppercase; font-size: 1rem; }
.hero_content h1 { color: var(--c-white); }
.hero_btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero_video, .hero_video_overlay { position: absolute; inset: 0; z-index: 1; }
.hero_video_inner { width: 100%; height: 100%; object-fit: cover; }
.hero_video_overlay { z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.2) 35%, rgba(0,0,0,.65) 100%); }
/* dark placeholder so the white hero copy is readable before the reel exists */
.hero_ph { width: 100%; height: 100%; background: #23231f;
  background-image: repeating-linear-gradient(45deg, #23231f 0 22px, #29292400 22px 44px); }
.hero_ph::after { color: #cfcdc6; background: rgba(0,0,0,.4); }
.line { display: block; overflow: hidden; }

/* placeholder media */
.ph {
  position: relative; overflow: hidden; background: #d9d7d2;
  background-image: repeating-linear-gradient(45deg, #d9d7d2 0 22px, #d2d0ca 22px 44px);
  display: flex; align-items: center; justify-content: center;
}
.ph::after {
  content: attr(data-ph); position: absolute; padding: .4rem .7rem;
  font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: #6b6a64;
  background: rgba(255,255,255,.7); border-radius: .2rem; pointer-events: none; z-index: 1;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease-quint); }
.ph.has-img img { opacity: 1; }
.ph.has-img::after { display: none; }
.ph.has-img { background: none; }
.hero_video .ph { width: 100%; height: 100%; }
/* logo wordmark letters */
.navbar_logo_wrapper .wm { display: inline-flex; overflow: hidden; }
.navbar_logo_wrapper .wm b { font-weight: 700; letter-spacing: .02em; font-size: 1.35rem; display: inline-block; }
.logo_mark { width: 1.6rem; height: 1.6rem; flex: none; }

/* ============================================================================
   PORTFOLIO GRID
   ============================================================================ */
.section_portfolio { padding: 8rem 0; }
.portfolio_wrapper { display: flex; flex-direction: column; gap: 4rem; }
.portfolio_heading { text-align: center; }
/* Bloom asymmetric 12-column grid: rows alternate 6+6 and 4+4+4 */
.portfolio_grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: auto; gap: .25rem;
}
.portfolio_project {
  position: relative; overflow: hidden; border-radius: .25rem;
  display: block; background: #ddd; color: var(--c-white);
}
.p-6 { grid-column: span 6; aspect-ratio: 16 / 10; }
.p-4 { grid-column: span 4; aspect-ratio: 3 / 4; }
.portfolio_project_img, .portfolio_project .ph { width: 100%; height: 100%; object-fit: cover; }
.portfolio_project .ph img { transition: transform 1.4s var(--ease-quint); }
.portfolio_project:hover .ph img { transform: scale(1.05); }
.portfolio_project_overlay { position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease-quint); }
.portfolio_project:hover .portfolio_project_overlay { opacity: .28; }
/* bottom gradient so the title reads even before hover */
.portfolio_project::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55) 100%); pointer-events: none; }
.portfolio_project_info {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 4;
  display: flex; justify-content: space-between; align-items: flex-end; overflow: hidden; color: var(--c-white);
}
.portfolio_project_title { font-size: 1.125rem; font-weight: 500; line-height: 1.4; }
.project_btn { position: relative; display: inline-flex; flex-direction: column; overflow: hidden; }
.project_btn_underline { height: 1px; width: 0; background: var(--c-white); transition: width .5s var(--ease-quint); }
.portfolio_project:hover .project_btn_underline { width: 100%; }
/* location text hidden until hover (slides up) */
.portfolio_project_text { font-size: 1.125rem; opacity: 0; transform: translateY(120%); transition: transform .5s var(--ease-quint), opacity .5s var(--ease-quint); }
.portfolio_project:hover .portfolio_project_text { opacity: .95; transform: none; }
.portfolio_card {
  border-radius: .25rem; background: var(--c-dark); color: var(--c-white);
  padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
}
.portfolio_card::after { display: none; }
.portfolio_card > div:first-child { font-size: 1.25rem; line-height: 1.4; }

/* ============================================================================
   SERVICES 3D CAROUSEL (the parallax cylinder)
   ============================================================================ */
.section_services { padding: 6rem 0 0; overflow: hidden; }
.services_wrapper { display: flex; flex-direction: column; gap: 4rem; }
.services_heading { max-width: 42rem; margin: 0 auto; text-align: center; padding: 0 var(--pad-x); }
.carousel_wrapper { position: relative; }
.carousel_mask { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.carousel_container {
  position: relative; height: var(--item-width); display: flex; align-items: center; justify-content: center;
  perspective: 5000px;  /* source value — far camera keeps the cards large & flat */
}
.carousel { position: relative; list-style: none; }
.carousel_card {
  position: absolute; top: 0; left: 0;
  width: var(--item-width); height: var(--item-width);
  overflow: hidden; border-radius: .35rem;
}
.services_card { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
.services_card_img, .services_card .ph { width: 100%; height: 100%; }
.services_card .ph { position: absolute; inset: 0; overflow: hidden; }
/* Bloom overscan: image is 200px larger than the card & offset -100px, so the
   ±100px scroll parallax never reveals the card edge/background. */
.ph img.carousel_card_img {
  position: absolute; inset: -100px 0% 0% -100px;
  width: calc(100% + 200px); height: calc(100% + 200px);
  max-width: none; object-fit: cover;
}
.services_card_overlay { position: absolute; inset: 0; background: rgba(0,0,0,.15); z-index: 1; }
.services_card_gradient { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75) 100%); z-index: 2; }
.services_card_title { position: absolute; left: 1.75rem; top: 1.75rem; z-index: 3; color: var(--c-white); max-width: 70%; }
.services_btn { position: absolute; left: 1.75rem; bottom: 1.75rem; z-index: 3; color: var(--c-white); display: inline-flex; flex-direction: column; }
.services_btn_underline { height: 1px; width: 0; background: var(--c-white); transition: width .5s var(--ease-quint); }
.services_card:hover .services_btn_underline { width: 100%; }
[data-service-empty] .services_card_overlay,
[data-service-empty] { background: transparent; }

@media (min-width: 768px) {
  [index="1"]{--index:1;}[index="2"]{--index:2;}[index="3"]{--index:3;}[index="4"]{--index:4;}
  [index="5"]{--index:5;}[index="6"]{--index:6;}[index="7"]{--index:7;}[index="8"]{--index:8;}
  [index="9"]{--index:9;}[index="10"]{--index:10;}[index="11"]{--index:11;}[index="12"]{--index:12;}
  [index="13"]{--index:13;}[index="14"]{--index:14;}
  .carousel {
    transform-style: preserve-3d;
    transform: translate3d(0,0,var(--radius)) rotateY(-102deg);
    width: var(--item-width); height: var(--item-width);
  }
  .carousel_card {
    backface-visibility: hidden;
    transform: rotateY(calc(var(--inner-angle) * var(--index))) translate3d(0,0,calc(var(--radius) * -1));
  }
}
@media (max-width: 767px) {
  [data-service-empty] { display: none; }
  .carousel { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
  .carousel_card { position: relative; width: 85vw; height: 110vw; flex: none; scroll-snap-align: center; }
  .carousel_container { height: auto; perspective: none; }
}

/* ============================================================================
   ABOUT + NUMBER COUNTERS
   ============================================================================ */
.section_about { padding: 8rem 0; }
.about_wrapper { display: flex; flex-direction: column; gap: 4rem; }
.about_heading { max-width: 53rem; }
.about_nums { display: flex; align-items: stretch; gap: 2rem; flex-wrap: wrap; }
.about_num { display: flex; flex-direction: column; gap: .5rem; min-width: 8rem; }
.about_num_title { font-size: 3rem; font-weight: 600; }
.about_num_text { color: var(--c-grey); }
.about_nums_divider { width: 1px; background: var(--c-line); align-self: stretch; }

/* ============================================================================
   ADVANTAGES (pinned accordion)
   ============================================================================ */
/* Bloom: 200svh section gives the pinned accordion its scroll range (so the
   image crossfade reverses when scrolling back up). Wrapper is a flex row:
   content left, one 50% full-height image column right. */
.section_advantages { position: relative; height: 200svh; }
.advantages_container { height: 100%; }
.advantages_wrapper { display: flex; gap: .25rem; height: 100svh; align-items: stretch; }
.advantages_content { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: 6.5rem 3rem 5rem 0; }
.advantages_heading { margin-bottom: 3rem; }         /* heading pinned top-left */
.advantages_list_wrapper { margin-top: auto; margin-bottom: auto; }  /* list centered in remaining space */
.advantages_list { display: flex; flex-direction: column; }
.advantage { position: relative; padding: 1.5rem 0; cursor: pointer; }
.advantage_header { display: flex; align-items: flex-start; gap: 1.5rem; }
.advantage_num { position: relative; }
.advantage_num_title { font-size: 1rem; color: var(--c-grey); font-variant-numeric: tabular-nums; }
.advantage_heading { font-weight: 500; }
.advantage_body { overflow: hidden; }
.advantage_body_text { padding: 1rem 0 0 3rem; color: var(--c-grey); max-width: 34rem; }
.advantage_divider { position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--c-ink); }
.advantageg_img_wrapper { flex: none; width: calc(50% - .125rem); position: relative; overflow: hidden; border-radius: .35rem; }
.advantage_img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================================
   CTA (parallax bg)
   ============================================================================ */
.section_cta { position: relative; overflow: hidden; }
.cta_container { position: relative; z-index: 2; }
.cta_wrapper { padding: 12rem 0; display: flex; flex-direction: column; align-items: center; gap: 2.5rem; text-align: center; color: var(--c-white); }
.cta_heading { max-width: 40rem; }
.cta_btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.cta_image_overlay { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.45); }
.cta_bg { position: absolute; inset: -20% 0; width: 100%; height: 140%; object-fit: cover; z-index: 0; }

/* ============================================================================
   FAQ
   ============================================================================ */
.section_faq { padding: 8rem 0; }
.faq_wrapper { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.faq { display: flex; flex-direction: column; }
.faq_item { border-bottom: 1px solid var(--c-line); }
.faq_item_header { display: flex; align-items: center; gap: 1.5rem; padding: 1.75rem 0; cursor: pointer; position: relative; }
.faq_item_title { flex: 1; font-weight: 500; }
.faq_item_header_icon { width: 1.25rem; height: 1.25rem; flex: none; transition: rotate .4s var(--ease-quint); }
.faq_item_body { overflow: hidden; height: 0; }
.faq_item_text { padding: 0 0 1.75rem; color: var(--c-grey); max-width: 46rem; font-size: 1.125rem; line-height: 1.5; }
/* Bloom micro-interaction: a line above the question row fills on hover */
.underline_faq_item { display: block; position: absolute; top: 0; left: 0; height: 1px; width: 0; background: var(--c-ink); transition: width .5s var(--ease-quint); }
.faq_item_header:hover .underline_faq_item { width: 100%; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.section_footer { background: var(--c-dark); color: var(--c-white); padding: 6rem 0 2.5rem; }
.footer_wrapper { display: flex; flex-direction: column; gap: 5rem; }
.footer_cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; }
.footer_cta { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.footer_cols_wrapper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer_col_title { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; opacity: .5; margin-bottom: 1.25rem; }
.footer_col_list { display: flex; flex-direction: column; gap: .75rem; }
.footer_col_list_item { position: relative; }
.footer_col_list_item_link { opacity: .85; transition: opacity .3s; }
.footer_col_list_item_link:hover { opacity: 1; }
.footer_col_list_item_link_address { opacity: .85; max-width: 14rem; }
.u-underline.white { background: var(--c-white); }
.footer_col_list_socials { display: flex; gap: 1rem; }
.footer_col_list_item_link_social { width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: .3s; }
.footer_col_list_item_link_social:hover { background: var(--c-white); color: var(--c-dark); }
.footer_col_list_item_link_social_icon { width: 1.25rem; height: 1.25rem; }
.footer_bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .9rem; opacity: .7; }
.footer_col_list_item_dd { display: flex; flex-direction: column; gap: .5rem; margin-top: .75rem; padding-left: 1rem; }

/* ============================================================================
   INNER PAGES (portfolio, services, contacts, studio)
   ============================================================================ */
.page_top { padding: 12rem 0 4rem; }
.page_top .u-h1 { max-width: 24ch; }
.page_lead { max-width: 46rem; color: var(--c-grey); margin-top: 1.5rem; font-size: 1.25rem; line-height: 1.5; }
.breadcrumb { color: var(--c-grey); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.5rem; }

.project_hero { position: relative; height: 80vh; min-height: 34rem; overflow: hidden; border-radius: 0; }
.project_hero .ph, .project_hero img { width: 100%; height: 100%; object-fit: cover; }
.project_meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 4rem 0; border-bottom: 1px solid var(--c-line); }
.project_meta_item .k { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-grey); margin-bottom: .5rem; }
.project_meta_item .v { font-size: 1.125rem; }
.project_gallery { padding: 5rem 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.project_gallery .g { border-radius: .25rem; overflow: hidden; }
.project_gallery .g img, .project_gallery .g .ph { width: 100%; height: 100%; object-fit: cover; }
.g-wide { grid-column: span 12; aspect-ratio: 16 / 9; }
.g-half { grid-column: span 6; aspect-ratio: 3 / 4; }
.g-sq   { grid-column: span 6; aspect-ratio: 1 / 1; }
.section_next { padding: 5rem 0 8rem; text-align: center; display: flex; flex-direction: column; gap: 2rem; align-items: center; }

.services_list { display: flex; flex-direction: column; gap: 1px; background: var(--c-line); border-top: 1px solid var(--c-line); }
.service_row { background: var(--c-bg); display: grid; grid-template-columns: 4rem 1fr auto; gap: 2rem; align-items: center; padding: 2.5rem 0; transition: background .4s; }
.service_row:hover { background: #efeeea; }
.service_row .n { color: var(--c-grey); font-variant-numeric: tabular-nums; }
.service_row .t { font-size: 1.75rem; font-weight: 500; }
.service_row .d { color: var(--c-grey); max-width: 34rem; }

/* Contacts — two-column: left = header + founder quote + details/socials,
   right = large image + form (mirrors the source contacts layout). */
/* capped at 120rem and centred (like the source) — on ultra-wide/5K the layout
   sits centred with negative space instead of stretching edge-to-edge. */
.contacts_container { max-width: 120rem; margin: 0 auto; }
.contacts_wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: start; }
/* tall, airy left column (source uses 19rem top pad + 5rem gaps) — its height is
   what gives the right-column carousel its scroll range. */
.contacts_col_left { display: flex; flex-direction: column; gap: 5rem; padding: 19rem var(--pad-x) 6rem; }
/* right column = scroll-driven vertical image carousel: fixed-height viewport
   (JS syncs it to the left column's height) that clips a taller inner stack;
   the stack translates up on scroll-scrub, revealing each image in turn. */
.contacts_col_right { overflow: hidden; align-self: stretch; }
.contacts_col_right_inner { display: flex; flex-direction: column; gap: 0; will-change: transform; }
.contacts_header { display: flex; flex-direction: column; gap: 1.5rem; }
.contacts_header .u-subheading-l { color: var(--c-grey); }
.contacts_quote { display: flex; gap: 1.5rem; align-items: center; }
.contacts_quote_img { width: 8rem; height: 8rem; border-radius: 50%; object-fit: cover; flex: none; }
.contacts_quote_img.ph { border-radius: 50%; }
.contacts_quote_inner { display: flex; flex-direction: column; gap: .5rem; }
.contacts_quote_text { color: var(--c-body); font-style: italic; }
.contacts_quote_title { color: var(--c-grey); font-size: .95rem; }
.contacts_cols { display: flex; gap: 4rem; flex-wrap: wrap; }
.contacts_col_title { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-grey); margin-bottom: 1rem; }
.contacts_col_list { display: flex; flex-direction: column; gap: .75rem; }
.contacts_col_list_item a { font-size: 1.25rem; transition: opacity .3s; }
.contacts_col_list:hover .contacts_col_list_item:not(:hover) { opacity: .35; }
.contacts_socials { display: flex; gap: 1rem; }
.contacts_social { width: 2.5rem; height: 2.5rem; border: 1px solid var(--c-line); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: .3s; }
.contacts_social:hover { background: var(--c-dark); color: var(--c-white); border-color: var(--c-dark); }
.contacts_social svg { width: 1.2rem; height: 1.2rem; }
.contacts_img_wrapper { aspect-ratio: 5 / 6; overflow: hidden; }
.contacts_img_wrapper .ph, .contacts_img_wrapper img { width: 100%; height: 100%; object-fit: cover; }
/* "Book a call" block + labeled underline-input form (mirrors the source) */
.contact_form_content { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; max-width: 24rem; }
.contact_form { display: flex; flex-direction: column; width: 100%; }
.input_title { font-weight: 500; margin-bottom: .5rem; display: block; }
.u-input-wrapper { position: relative; margin-bottom: 2rem; }
.u-input {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--c-line);
  padding: 1rem 0; font: inherit; color: var(--c-body); height: 3.375rem; transition: border-color .2s var(--ease-io);
}
.u-input.u-textarea { min-height: 5rem; resize: vertical; }
.u-input:focus { outline: none; }
.u-input-wrapper .u-underline { position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--c-ink); transition: width .4s var(--ease-quint); }
.u-input:focus ~ .u-underline { width: 100%; }

/* ============================================================================
   BOOKING POPUP
   ============================================================================ */
.popup_booking { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; }
.popup_booking.open { display: flex; }
.popup_overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.popup_booking_inner { position: relative; z-index: 2; background: var(--c-white); border-radius: .5rem; padding: 3rem; max-width: 34rem; text-align: center; }
.popup_booking_close { position: absolute; top: 1rem; right: 1rem; width: 1.5rem; height: 1.5rem; cursor: pointer; color: var(--c-ink); z-index: 3; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
/* Tablet: portfolio collapses to a 6-col grid (6-span full width, 4-span→half);
   advantages keeps its pinned flex-row (pin runs at >=768). */
@media (max-width: 991px) {
  .portfolio_grid { grid-template-columns: repeat(6, 1fr); }
  .p-6 { grid-column: span 6; aspect-ratio: 16 / 9; }
  .p-4 { grid-column: span 3; aspect-ratio: 3 / 4; }
  .faq_wrapper { grid-template-columns: 1fr; }
  .footer_cols { grid-template-columns: 1fr; }
  .footer_cols_wrapper { grid-template-columns: repeat(2, 1fr); }
  .project_meta { grid-template-columns: repeat(2, 1fr); }
  .contacts_wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .contacts_col_left { padding: 9rem var(--pad-x) 2rem; gap: 3.5rem; }
  .contacts_col_right { overflow: visible; height: auto !important; }  /* carousel off on mobile → images stack */
  .contacts_col_right_inner { transform: none !important; }
  .g-half, .g-sq { grid-column: span 6; }
  .advantages_content { padding: 6rem 1.5rem 4rem 0; }
}
/* Mobile: single-column grid; advantages stacks (no pin below 768); carousel
   becomes a horizontal snap strip (handled in the carousel media query). */
@media (max-width: 767px) {
  .portfolio_grid { grid-template-columns: 1fr; }
  .p-6, .p-4 { grid-column: span 1; aspect-ratio: 3 / 4; }
  .section_advantages { height: auto; }
  .advantages_wrapper { flex-direction: column; height: auto; gap: 2rem; }
  .advantages_content { padding: 8rem 0 1rem; }
  .advantages_heading { margin-bottom: 2rem; }
  .advantages_list_wrapper { margin: 0; }
  .advantageg_img_wrapper { width: 100%; height: 60vh; }
  .footer_cols_wrapper { grid-template-columns: 1fr; }
  .project_meta { grid-template-columns: 1fr; }
  .service_row { grid-template-columns: 2.5rem 1fr; }
  .service_row .d { display: none; }
  .g-wide, .g-half, .g-sq { grid-column: span 12; }
  .footer_bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .navbar_nav_wrapper { width: 100vw; }
  .navbar_nav_inner { padding: 6rem var(--pad-x) 3rem; }
  .navbar_nav_link, .navbar_nav_dd_btn { font-size: 1.75rem; }
  .navbar_right { gap: 1rem; }
}

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