/* ==========================================================================
   fm-interos - Solvane Studio
   Likeness rebuild of an architecture/interior studio template.
   Fonts: Hubot Sans (display) + Funnel Sans (body/UI).
   ========================================================================== */

@font-face {
  font-family: "Hubot Sans";
  src: url("../fonts/hubot-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Funnel Sans";
  src: url("../fonts/funnel-sans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: optional;
}

:root {
  /* palette */
  --paper: #ffffff;
  --wash: #f4f4f2;
  --ink: #131313;
  --dark: #0f0f0e;
  --muted: #575553;
  --line: #e4e2de;
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #131313;
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.8);
  --scrim: rgba(34, 33, 31, 0.5);
  --scrim-deep: rgba(19, 18, 17, 0.68);
  --ghost: rgba(255, 255, 255, 0.062);

  /* type */
  --f-display: "Hubot Sans", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Funnel Sans", "Helvetica Neue", Arial, sans-serif;

  --t-d1: 120px;
  --t-d2: 80px;
  --t-h2: 48px;
  --t-h3: 40px;
  --t-h4: 32px;
  --t-h5: 24px;
  --t-h6: 20px;
  --t-body: 16px;
  --t-ui: 16px;

  /* space */
  --gut: 120px;
  --wrap: 1200px;
  --wrap-wide: 1280px;
  --pad-top: 135px;
  --pad-top-tight: 74px;
  --pad-bottom: 66px;

  /* shape */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-img: 10px;

  /* motion */
  --t-fast: 0.15s;
  --t-mid: 0.3s;
  --t-slow: 0.4s;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-body) / 1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible, .hero :focus-visible, .pj:focus-visible { outline-color: #fff; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
}
.skip:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------ typography */
.d1, .d2, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--f-display);
  letter-spacing: -0.03em;
}
.d1 { font-size: var(--t-d1); line-height: 1; font-weight: 600; text-transform: uppercase; }
.d2 { font-size: var(--t-d2); line-height: 1; font-weight: 600; text-transform: uppercase; }
.h2 { font-size: var(--t-h2); line-height: 1.1; font-weight: 600; text-transform: uppercase; }
.h3 { font-size: var(--t-h3); line-height: 1.1; font-weight: 500; letter-spacing: -0.03em; }
.h4 { font-size: var(--t-h4); line-height: 1.1; font-weight: 600; text-transform: uppercase; }
.h5 { font-size: var(--t-h5); line-height: 1.1; font-weight: 600; }
.h6 { font-size: var(--t-h6); line-height: 1.1; font-weight: 600; text-transform: uppercase; }

.lead, p.body { font-size: var(--t-body); line-height: 1.6; color: var(--muted); }
.eyebrow {
  font-family: var(--f-display);
  font-size: 16px; line-height: 1; font-weight: 600;
  text-transform: uppercase; color: var(--ink);
}
.ui {
  font-family: var(--f-body);
  font-size: var(--t-ui); line-height: 1; font-weight: 500;
  letter-spacing: 0.085em; text-transform: uppercase;
}
.ui--sm { font-size: 14px; }
.on-dark { color: var(--on-dark); }
.on-dark-soft { color: var(--on-dark-soft); }

/* ------------------------------------------------------------ band reveal */
.rv { opacity: 1; }
.js-rv .rv {
  opacity: 0; transform: translateY(74px);
  transition: opacity 1s cubic-bezier(0.14, 0.75, 0.28, 1), transform 1s cubic-bezier(0.14, 0.75, 0.28, 1);
}
.js-rv .rv.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- layout */
.wrap { width: var(--wrap); max-width: calc(100% - 40px); margin: 0 auto; }
.wrap-wide { width: var(--wrap-wide); max-width: calc(100% - 40px); margin: 0 auto; }
.sec { padding: var(--pad-top) 0 var(--pad-bottom); }
.sec--tight { padding-top: var(--pad-top-tight); }
.sec--wash { background: var(--wash); }
.sec--rule { border-bottom: 1px solid var(--line); }
.sec--about { padding: 115px 0 46px; }
.sec--clients { padding: 74px 0 46px; }
.workhead { padding: 135px 0 26px; }
.split { display: grid; grid-template-columns: 440px 1fr; }
.stack-30 > * + * { margin-top: 30px; }
.stack-24 > * + * { margin-top: 24px; }

/* ---------------------------------------------------------------- header */
.hdr {
  position: absolute; top: 0; left: 0; right: 0; z-index: 40;
  padding: 24px 0 0;
}
.hdr__in {
  position: relative; display: flex; align-items: center;
  justify-content: space-between; height: 43px;
  width: var(--wrap); max-width: calc(100% - 40px); margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 12px; height: 43px; }
.brand svg { width: 34px; height: 30px; flex: none; }
.brand__wm {
  font-family: var(--f-display); font-size: 30px; line-height: 1;
  font-weight: 600; letter-spacing: -0.035em;
}
.hdr--light .brand { color: #fff; }
.hdr--dark .brand { color: var(--ink); }

.nav {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 40px;
}
.hdr--light .nav, .hdr--light .hdr__cta { color: #fff; }
.hdr--dark .nav, .hdr--dark .hdr__cta { color: var(--ink); }

.roll { position: relative; display: block; height: 16px; overflow: hidden; }
.roll span { display: block; transition: transform var(--t-slow) var(--ease); }
.roll span + span { position: absolute; left: 0; top: 30px; }
.roll:hover span, a:hover > .roll span, .nav__btn:hover .roll span { transform: translateY(-30px); }

.nav__item { display: block; }
.nav__grp { position: relative; }
.nav__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.nav__chev { width: 16px; height: 16px; transition: transform var(--t-mid) var(--ease); }
.nav__grp[data-open="true"] .nav__chev { transform: rotate(180deg); }
.nav__panel {
  position: absolute; left: 50%; top: calc(100% + 22px);
  transform: translateX(-50%) translateY(-6px);
  width: 348px; background: var(--paper); color: var(--ink);
  border-radius: var(--r-md); padding: 18px 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px;
  box-shadow: 0 18px 44px rgba(15, 15, 14, 0.16);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), visibility var(--t-mid);
}
.nav__grp[data-open="true"] .nav__panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__pcol { display: grid; align-content: start; }
.nav__panel a {
  display: block; height: 32px; line-height: 20px; padding: 6px 8px; border-radius: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background var(--t-fast) linear;
}
.nav__panel a:hover, .nav__panel a:focus-visible { background: var(--wash); }

.hdr__cta { display: inline-flex; align-items: center; gap: 8px; }
.slidearrow { position: relative; width: 22px; height: 22px; overflow: hidden; flex: none; }
.slidearrow svg { width: 22px; height: 22px; }
.slidearrow svg + svg { position: absolute; left: -30px; top: 30px; }
.slidearrow svg { transition: transform var(--t-slow) var(--ease); }
a:hover .slidearrow svg, .btn:hover .slidearrow svg { transform: translate(30px, -30px); }

.burger {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.burger span + span { margin-top: 6px; }

.mnav {
  position: fixed; inset: 0; z-index: 60; background: var(--paper); color: var(--ink);
  padding: 24px 20px; display: none; flex-direction: column; overflow-y: auto;
}
.mnav[data-open="true"] { display: flex; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; height: 43px; }
.mnav__close { background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; padding: 4px 10px; }
.mnav__list { margin-top: 48px; display: grid; gap: 4px; }
.mnav__list a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: 28px; font-weight: 600;
  text-transform: uppercase; letter-spacing: -0.03em;
}
.mnav__foot { margin-top: auto; padding-top: 40px; }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: stretch; gap: 2px; }
button.btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.btn__chip {
  width: 50px; height: 50px; border-radius: var(--r-sm);
  display: grid; place-items: center; flex: none;
  transition: background var(--t-slow) var(--ease), color var(--t-slow) var(--ease);
}
.btn__label {
  height: 50px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; padding: 0 26px;
  font-family: var(--f-body); font-size: 16px; line-height: 1; font-weight: 500;
  letter-spacing: 0.085em; text-transform: uppercase; white-space: nowrap;
  transition: background var(--t-slow) var(--ease), color var(--t-slow) var(--ease);
}
.btn--dark .btn__chip { background: var(--ink); color: #fff; }
.btn--dark .btn__label { background: var(--ink); color: #fff; }
.btn--dark:hover .btn__chip, .btn--dark:hover .btn__label { background: #2c2b29; }
.btn--light .btn__chip, .btn--light .btn__label {
  background: var(--paper); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--light:hover .btn__chip, .btn--light:hover .btn__label { background: var(--ink); color: #fff; box-shadow: none; }
.btn .slidearrow { width: 24px; height: 24px; }
.btn .slidearrow svg { width: 24px; height: 24px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; height: 100svh; min-height: 720px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background-color: var(--scrim);
  background-image:
    linear-gradient(to bottom, rgba(19, 18, 17, 0.68), rgba(19, 18, 17, 0) 430px),
    linear-gradient(to left, rgba(19, 18, 17, 0.52), rgba(19, 18, 17, 0) 620px);
}
.phero--photo .phero__scrim {
  background-color: var(--scrim);
  background-image: linear-gradient(to bottom, rgba(19, 18, 17, 0.45), rgba(19, 18, 17, 0) 300px);
}
.hero__scrim::after, .phero--photo .phero__scrim::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(19, 18, 17, 0.52), rgba(19, 18, 17, 0) 62%);
}
.hero__in {
  position: relative; height: 100%;
  width: var(--wrap); max-width: calc(100% - 40px); margin: 0 auto;
}
.hero__trust { position: absolute; top: 150px; right: 0; width: 385px; }
.avatars { display: flex; }
.avatars img {
  width: 50px; height: 50px; border-radius: 6px; object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.92);
}
.avatars img + img { margin-left: -10px; }
.trustrow { display: flex; align-items: flex-start; gap: 10px; }
.stars { display: flex; gap: 2px; margin-top: 3px; }
.stars svg { width: 18px; height: 18px; }
.hero__h1 {
  position: absolute; left: 0; bottom: 100px;
  color: #fff; max-width: 1080px;
}
.hero__ctas { margin-top: 47px; }

/* per-character reveal (armed by JS so no-JS paints) */
.hsplit .wd { display: inline-block; white-space: nowrap; }
.hsplit .ch { display: inline-block; }
.hsplit.is-armed { perspective: 900px; }
.hsplit.is-armed .ch {
  opacity: 0.001; transform: rotateY(90deg);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: calc(var(--i) * 25ms);
}
.hsplit.is-armed.is-in .ch { opacity: 1; transform: none; }

/* ------------------------------------------------------------ page heros */
.phero { position: relative; }
.phero--plain { padding: 210px 0 0; }
.phero--plain .phero__head { display: grid; grid-template-columns: 1fr 385px; align-items: end; gap: 40px; }
.phero--short { padding: 250px 0 0; }
.phero--photo { height: 700px; overflow: hidden; position: relative; display: flex; align-items: flex-end; }
.phero--photo .phero__bg { position: absolute; inset: 0; }
.phero--photo .phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero--photo .phero__scrim { position: absolute; inset: 0; background: var(--scrim); }
.phero--photo .wrap { position: relative; padding-bottom: 125px; }
.phero__lead { width: 385px; max-width: 100%; }

/* ----------------------------------------------------------- about block */
.about__body { display: grid; grid-template-columns: 440px 1fr; }
.stats { display: flex; gap: 80px; margin-top: 116px; flex-wrap: wrap; }
.stat__n {
  font-family: var(--f-display); font-size: 48px; line-height: 1.1;
  font-weight: 600; letter-spacing: -0.03em; display: flex; align-items: baseline;
}
.stat__lbl {
  margin-top: 17px; font-family: var(--f-display); font-size: 16px; line-height: 1;
  font-weight: 600; text-transform: uppercase; color: var(--muted);
}

/* --------------------------------------------------------------- clients */
.clients__lbl { text-align: center; font-family: var(--f-display); font-size: 16px; font-weight: 600; text-transform: uppercase; }
.clients { margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.client {
  height: 140px; background: var(--wash); border-radius: var(--r-md);
  display: grid; place-items: center; color: #2a2927;
  transition: background var(--t-slow) var(--ease);
}
.client:hover { background: #ebeae7; }
.client:nth-child(5) { grid-column: 2; }
.clientmark { display: flex; align-items: center; gap: 9px; }
.clientmark svg { width: 26px; height: 26px; }
.clientmark b {
  font-family: var(--f-display); font-size: 21px; font-weight: 600;
  letter-spacing: 0.01em; text-transform: uppercase;
}

/* -------------------------------------------------------- project panels */
.pjlist { display: block; }
.pj { position: relative; display: block; height: 100svh; min-height: 640px; overflow: hidden; }
.pj__img { position: absolute; inset: 0; }
.pj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pj:hover .pj__img img { transform: scale(1.1); }
.pj__scrim { position: absolute; inset: 0; background: var(--scrim); transition: background var(--t-slow) var(--ease); }
.pj:hover .pj__scrim { background: var(--scrim-deep); }
.pj__in {
  position: relative; height: 100%;
  width: var(--wrap-wide); max-width: calc(100% - 40px); margin: 0 auto;
  padding: 80px 0; display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
}
.pj__meta { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; }
.pj__meta > :nth-child(2) { justify-self: center; }
.pj__meta > :nth-child(3) { justify-self: end; text-align: right; }
.pj__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.pj__title { max-width: 760px; }

/* -------------------------------------------------------------- services */
.svc { display: grid; grid-template-columns: 502px 560px; gap: 138px; margin-top: 70px; }
.svc__media { display: flex; gap: 10px; align-items: flex-start; }
.svc__media .a { width: 280px; height: 380px; border-radius: var(--r-img); object-fit: cover; }
.svc__media .b { width: 212px; height: 212px; border-radius: var(--r-img); object-fit: cover; }
.svclist {
  display: grid; grid-auto-flow: column;
  grid-template-rows: repeat(6, 36px); grid-template-columns: 330px 1fr;
}
.svclist li { display: flex; align-items: center; gap: 14px; }
.svclist li .ui { white-space: nowrap; }
.svclist .plus { width: 24px; height: 24px; color: var(--muted); flex: none; transition: color var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.svclist a { display: flex; align-items: center; gap: 14px; }
.svclist a:hover .plus { color: var(--ink); transform: rotate(90deg); }
.svc__cta { margin-top: 90px; }

/* ----------------------------------------------------------- media frame */
.mediaband { padding: 0 0 308px; }
.frame { position: relative; height: 532px; border-radius: 8px; overflow: hidden; }
.frame img { position: absolute; left: 0; top: 0; width: 100%; height: 122%; object-fit: cover; will-change: transform; }

/* --------------------------------------------------------------- process */
.prochead { display: grid; grid-template-columns: 444px 1fr; gap: 0; }
.procgrid { margin-top: 105px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.proc {
  height: 379px; border-radius: var(--r-lg); padding: 30px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform var(--t-slow) var(--ease);
}
.proc:hover { transform: translateY(-6px); }
.proc--light { background: var(--wash); color: var(--ink); }
.proc--dark { background: var(--ink); color: #fff; }
.proc--dark .proc__txt { color: rgba(255, 255, 255, 0.68); }
.proc__icon { display: grid; place-items: center; flex: 1; }
.proc__icon svg { width: 150px; height: 86px; opacity: 0.92; }
.proc__txt { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------------------------------------------------------- testimonials */
.tesehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.tesehead__score { text-align: right; padding-top: 54px; }
.tesegrid { margin-top: 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tese__card {
  background: var(--paper); border-radius: var(--r-md); padding: 30px;
  min-height: 363px; display: flex; flex-direction: column;
}
.sec--wash .tese__card { background: var(--paper); }
.sec--plain .tese__card { background: var(--wash); }
.tese__top { display: flex; align-items: flex-start; justify-content: space-between; }
.dots { display: flex; gap: 4px; }
.dots i { width: 8px; height: 8px; background: var(--ink); display: block; }
.dots i.off { background: #c9c7c3; }
.tese__top svg { width: 24px; height: 24px; }
.tese__q { margin-top: 38px; }
.tese__who {
  margin-top: 10px; background: var(--paper); border-radius: var(--r-md);
  height: 80px; padding: 10px; display: flex; align-items: center; gap: 10px;
}
.sec--plain .tese__who { background: var(--wash); }
.tese__who img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; flex: none; }
.tese__nm { font-family: var(--f-display); font-size: 16px; line-height: 1; font-weight: 600; text-transform: uppercase; }
.tese__ro { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ------------------------------------------------------------------- faq */
.faqhead { display: grid; grid-template-columns: 440px 1fr; }
.faqbody { margin-top: 175px; display: grid; grid-template-columns: 385px 740px; gap: 75px; }
.faqbody > img { width: 385px; height: 481px; border-radius: var(--r-img); object-fit: cover; }
.faqlist { display: grid; gap: 10px; align-content: start; }
.faq { background: var(--wash); border-radius: var(--r-md); padding: 0 30px; }
.faq > summary {
  list-style: none; cursor: pointer; padding: 30px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq__ic { width: 24px; height: 24px; flex: none; transition: transform var(--t-mid) var(--ease); }
.faq[open] .faq__ic .v { opacity: 0; }
.faq__ic .v { transition: opacity var(--t-mid) var(--ease); }
.faq__a { padding-bottom: 30px; margin-top: -8px; max-width: 640px; }

/* ------------------------------------------------------------------ blog */
.bloghead { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.bloggrid { margin-top: 69px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.post__img { height: 300px; border-radius: var(--r-img); overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post:hover .post__img img { transform: scale(1.1); }
.post__meta { margin-top: 30px; color: var(--muted); }
.post__t { margin-top: 14px; }
.post:hover .post__t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ----------------------------------------------------------------- forms */
.ctaband { position: relative; }
.ctaband__img { height: 993px; border-radius: var(--r-img); overflow: hidden; }
.ctaband__img img { width: 100%; height: 100%; object-fit: cover; }
.ctaband__card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 680px; max-width: calc(100% - 40px);
  background: var(--paper); border-radius: var(--r-md); padding: 36px;
}
.formhead { text-align: center; }
.formhead .eyebrow { display: block; }
.formhead .h2 { margin-top: 18px; }
.frm { margin-top: 32px; display: grid; gap: 32px; }
.frm__fields { display: grid; gap: 38px; }
.frm__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.frm label { display: block; }
.frm .lbl {
  display: block; margin-bottom: 10px;
  font-family: var(--f-body); font-size: 14px; line-height: 1; font-weight: 500;
  letter-spacing: 0.085em; text-transform: uppercase; color: var(--ink);
}
.frm input, .frm select, .frm textarea {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  padding: 15px 14px; transition: border-color var(--t-fast) linear;
}
.frm textarea { min-height: 130px; resize: vertical; }
.frm input:focus, .frm select:focus, .frm textarea:focus { border-color: var(--ink); outline: none; }
.frm input::placeholder, .frm textarea::placeholder { color: #9c9a96; }
.frm__note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.frm__ok {
  display: none; border-radius: var(--r-md); background: var(--wash);
  padding: 18px 20px; font-size: 15px; line-height: 1.55; color: var(--ink);
}
.frm.is-sent .frm__ok { display: block; }
.frm.is-sent .frm__fields, .frm.is-sent .frm__send { display: none; }

/* contact page */
.cinfo { display: grid; gap: 24px; margin-top: 40px; }
.cinfo__row { display: flex; gap: 20px; align-items: flex-start; }
.cinfo__ic {
  width: 40px; height: 40px; border-radius: 6px; flex: none;
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line);
}
.cinfo__ic svg { width: 20px; height: 20px; }
.cinfo__k { font-family: var(--f-display); font-size: 16px; line-height: 1; font-weight: 600; text-transform: uppercase; }
.cinfo__v { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.contactgrid { display: grid; grid-template-columns: 1fr 601px; gap: 60px; align-items: start; }
.formcard { background: var(--wash); border-radius: var(--r-md); padding: 30px; }
.mapband img { width: 100%; height: 600px; border-radius: var(--r-img); object-fit: cover; }

/* ------------------------------------------------------------ about page */
.mv { display: grid; gap: 10px; }
.mv__card { background: var(--wash); border-radius: var(--r-md); padding: 30px; min-height: 147px; }
.mv__k { font-family: var(--f-display); font-size: 16px; line-height: 1; font-weight: 600; text-transform: uppercase; }
.mv__v { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.aboutmv { display: grid; grid-template-columns: 273px 1fr; gap: 159px; margin-top: 132px; align-items: start; }
.aboutmv > img { width: 273px; height: 306px; border-radius: var(--r-img); object-fit: cover; }
.statrow { display: grid; grid-template-columns: 338px 338px 338px 1fr; margin-top: 112px; }
.statrow .stat__n { font-size: 80px; line-height: 1; letter-spacing: -0.03em; }
.statrow .stat__lbl { margin-top: 22px; }
.teamgrid { margin-top: 105px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.team__img { height: 405px; border-radius: var(--r-img); overflow: hidden; }
.team__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.team:hover .team__img img { transform: scale(1.1); }
.team__nm { margin-top: 20px; }
.team__ro { margin-top: 8px; color: var(--muted); }
.awards { margin-top: 105px; display: grid; gap: 4px; }
.award {
  display: grid; grid-template-columns: 1fr 240px 80px; gap: 20px;
  align-items: center; background: var(--wash); border-radius: 8px;
  padding: 18px 22px;
}
.award__y { text-align: right; }

/* --------------------------------------------------- project detail page */
.pdhead { text-align: center; }
.pdmeta { display: flex; flex-wrap: wrap; justify-content: center; gap: 110px; margin-top: 34px; text-align: left; }
.pdmeta__k { color: var(--muted); }
.pdmeta__v { margin-top: 10px; }
.pdhero { height: 900px; overflow: hidden; }
.pdhero img { width: 100%; height: 100%; object-fit: cover; }
.pdbody { width: 800px; max-width: 100%; margin: 0 auto; }
.pdbody p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.pdbody p + p { margin-top: 20px; }
.pdbody .h4 { margin-top: 60px; margin-bottom: 20px; }
.pdlist { display: grid; gap: 12px; }
.pdlist li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.pdlist svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--ink); }
.pdgallery { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 60px 0; }
.pdgallery img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--r-img); }

/* ---------------------------------------------------------------- footer */
.ftr { background: var(--dark); color: #fff; padding: 60px 0 0; }
.ftr__ghost { height: 130px; overflow: hidden; margin-top: 206px; }
.ftr__ghost span {
  display: block; font-family: var(--f-display); font-size: 258px; line-height: 1;
  font-weight: 600; letter-spacing: -0.04em; text-transform: uppercase;
  color: var(--ghost); transform: translateY(-36px); white-space: nowrap;
}
.ftr__main { margin-top: 83px; display: grid; grid-template-columns: 580px 196px 189px 1fr; gap: 0; }
.ftr__brand .brand { color: #fff; }
.ftr__social { margin-top: 71px; display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.62); }
.ftr__social a { transition: color var(--t-fast) linear; }
.ftr__social a:hover { color: #fff; }
.ftr__col { display: grid; gap: 20px; align-content: start; color: rgba(255, 255, 255, 0.82); }
.ftr__col a { transition: color var(--t-fast) linear; }
.ftr__col a:hover { color: #fff; }
.ftr__contact { display: grid; gap: 16px; color: rgba(255, 255, 255, 0.82); font-size: 16px; line-height: 1.6; }
.ftr__bar {
  margin-top: 62px; border-top: 1px solid var(--line-dark);
  padding: 26px 0 30px; text-align: center;
  font-size: 15px; color: rgba(255, 255, 255, 0.66);
}
.ftr__bar b { color: #fff; font-weight: 600; }
.ftr__disc {
  padding-bottom: 40px; text-align: center;
  font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.58);
}

/* ---------------------------------------------------------------- notes */
.illus { font-size: 13px; line-height: 1.6; color: var(--muted); }
.sec--wash .illus { color: #6b6965; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1320px) {
  :root { --gut: 40px; }

  .svc { grid-template-columns: 440px 1fr; gap: 80px; }
  .faqbody { grid-template-columns: 340px 1fr; gap: 40px; }
  .ftr__main { grid-template-columns: 1fr 180px 170px 260px; }
}

@media (max-width: 1080px) {
  :root {
    --t-d1: 76px; --t-d2: 60px; --t-h2: 38px; --t-h3: 30px;
    --t-h4: 26px; --t-h5: 21px; --t-h6: 18px;
    --pad-top: 120px; --pad-top-tight: 60px; --pad-bottom: 56px;
  }
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
  .split, .about__body, .prochead, .faqhead, .phero--plain .phero__head { grid-template-columns: 1fr; gap: 24px; }
  .about__body { gap: 34px; }
  .sec--about { padding: 90px 0 40px; }
  .sec--clients { padding: 60px 0 40px; }
  .workhead { padding: 100px 0 26px; }
  .procgrid { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .proc { height: 300px; }
  .tesegrid, .bloggrid, .teamgrid { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .svc { grid-template-columns: 1fr; gap: 44px; margin-top: 44px; }
  .svc__cta { margin-top: 44px; }
  .faqbody { grid-template-columns: 1fr; margin-top: 48px; }
  .faqbody > img { width: 100%; height: 320px; }
  .contactgrid { grid-template-columns: 1fr; gap: 48px; }
  .aboutmv { grid-template-columns: 1fr; gap: 28px; margin-top: 60px; }
  .aboutmv > img { width: 100%; height: 260px; }
  .pdmeta { gap: 40px; }
  .statrow { grid-template-columns: repeat(2, 1fr); gap: 34px; margin-top: 60px; }
  .statrow .stat__n { font-size: 54px; }
  .contactgrid { grid-template-columns: 1fr; }
  .mediaband { padding: 0 0 120px; }
  .nav__panel { width: 320px; }
  .phero__lead { width: auto; max-width: 560px; }
  .tesehead { flex-direction: column; }
  .tesehead__score { text-align: left; padding-top: 0; }
  .bloghead { flex-direction: column; gap: 28px; }
  .frame { height: 420px; }
  .pdhero { height: 460px; }
  .ftr__main { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__ghost { margin-top: 90px; height: 80px; }
  .ftr__ghost span { font-size: 150px; transform: translateY(-34px); }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .client:nth-child(5) { grid-column: auto; }
  .phero--photo { height: 560px; }
  .phero--photo .wrap { padding-bottom: 70px; }
  .phero--plain { padding-top: 150px; }
  .phero--short { padding-top: 160px; }
  .ctaband__img { height: 780px; }
  .stats { margin-top: 60px; gap: 40px; }
  .mv, .awards { margin-top: 0; }
  .teamgrid { margin-top: 48px; }
  .awards { margin-top: 48px; }
  .pdgallery { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root {
    --t-d1: 44px; --t-d2: 40px; --t-h2: 30px; --t-h3: 26px;
    --t-h4: 22px; --t-h5: 19px; --t-h6: 17px; --gut: 20px;
    --pad-top: 84px; --pad-top-tight: 50px; --pad-bottom: 46px;
  }
  .wrap, .wrap-wide { max-width: calc(100% - 40px); }
  .hdr { padding-top: 22px; }
  .brand svg { width: 30px; height: 26px; }
  .brand__wm { font-size: 26px; }

  .hero { height: auto; min-height: 0; max-height: none; }
  .hero__in { display: flex; flex-direction: column; padding-top: 130px; padding-bottom: 34px; }
  .hero__trust { position: static; width: 100%; }
  .hero__h1 { position: static; margin-top: 56px; color: #fff; }
  .hero__ctas { margin-top: 34px; }

  .avatars img { width: 44px; height: 44px; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .sec--about { padding: 74px 0 34px; }
  .sec--clients { padding: 46px 0 34px; }
  .workhead { padding: 84px 0 22px; }
  .tesegrid, .bloggrid, .teamgrid, .procgrid, .statrow { grid-template-columns: 1fr; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 20px; margin-top: 44px; }
  .proc { height: auto; min-height: 250px; }
  .team__img { height: 340px; }
  .frm__row { grid-template-columns: 1fr; }
  .ctaband__card { padding: 24px 20px; }
  .ctaband__img { height: 900px; }
  .formcard { padding: 20px; }
  .award { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .award__y { text-align: left; }

  .pj { height: auto; min-height: 0; max-height: none; }
  .pj__in { padding: 120px 0 34px; min-height: 520px; }
  .pj__meta { grid-template-columns: 1fr; gap: 10px; }
  .pj__meta > :nth-child(2), .pj__meta > :nth-child(3) { justify-self: start; text-align: left; }
  .pj__foot { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 60px; }

  .svc__media { gap: 8px; }
  .svc__media .a { width: 52%; height: 260px; }
  .svc__media .b { width: 40%; height: 145px; }
  .svclist { grid-auto-flow: row; grid-template-columns: 1fr; grid-template-rows: none; gap: 4px; }
  .svclist li { height: 36px; }
  .frame { height: 300px; }
  .mediaband { padding: 0 0 70px; }
  .statrow .stat__n { font-size: 44px; }
  .pdhero { height: 320px; }
  .pdmeta { gap: 24px 40px; }
  .ftr__main { grid-template-columns: 1fr; row-gap: 32px; }
  .ftr__ghost { margin-top: 60px; height: 46px; }
  .ftr__ghost span { font-size: 84px; transform: translateY(-19px); }
  .ftr__social { margin-top: 28px; }
  .btn__label { padding: 0 18px; font-size: 14px; }
  .btn__chip { width: 46px; height: 46px; }
  .btn__label { height: 46px; }
  .tese__card { min-height: 0; }
  .cinfo__row { gap: 14px; }
}

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hsplit.is-armed .ch { opacity: 1 !important; transform: none !important; }
  .js-rv .rv { opacity: 1 !important; transform: none !important; }
  .frame img { height: 100% !important; transform: none !important; }
  .pj:hover .pj__img img, .post:hover .post__img img, .team:hover .team__img img { transform: none; }
  .proc:hover { transform: none; }
}
