/* GIACORN INDUSTRIES — portfolio
   Layout, type scale and timings mirror the reference measurements (1440px). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f9f6f1;
  --black: #222227;
  --ink: #303037;
  --grey: #97948f;
  --slate: #7c7369;
  --dark-slate: #4a4840;
  --linen: #e0dbd4;
  --smoke: #f2ede6;
  --smoke-2: #f1ece6;
  --line: #f0edeb;
  --white: #fff;
  --icon-grey: #d7d4c8;

  --accent: #c52233;
  --accent-dark: #a51c30;
  --accent-hover: #b01e2e;
  --accent-deep: #7e1521;
  --accent-mid: #8f1826;
  --accent-soft: #f4d3d6;
  --accent-tint: #f8e3e5;
  --accent-hl: #f6dee1;

  --out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --btn-ease: cubic-bezier(0.25, 0.1, 0.439, 0.726);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: "Inter", Arial, sans-serif;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 18;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 16px; font-weight: 500; }
h1 { font-size: 44px; line-height: 1.26em; }
h2 { font-size: 32px; line-height: 1.3em; }
h3 { font-size: 24px; line-height: 1.4em; font-weight: 600; color: var(--black); }
p { margin: 0 0 18px; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }
::selection { background: var(--accent-hl); color: var(--accent-deep); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--black); color: #fff; padding: 8px 16px; }
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.section { padding: 100px 50px; }
.section.medium { padding-top: 60px; padding-bottom: 60px; }
.section.large { padding-top: 110px; padding-bottom: 110px; }
.section.smoke { background: var(--smoke); }
.section.smoke-2 { background: var(--smoke-2); }
.container { max-width: 1330px; margin: 0 auto; position: relative; }
.center { text-align: center; }
.text-box { max-width: 600px; }
.w-550 { max-width: 580px; }
.w-700 { max-width: 700px; }
.w-800 { max-width: 800px; }
.w-450 { max-width: 450px; }
.w-420 { max-width: 420px; }
.w-390 { max-width: 390px; }
.w-520 { max-width: 520px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.spacer-8 { height: 8px; }
.spacer-16 { height: 16px; }
.spacer-24 { height: 24px; }
.spacer-31 { height: 31px; }
.spacer-80 { height: 80px; }
.hline { height: 1px; background: var(--line); margin: 0 0 36px; width: 100%; }
.hline.darker { background: var(--linen); }
.hline.nudge-up { background: var(--linen); position: relative; top: -64px; }

/* ---------- type ---------- */
.h-xxl { font-size: 54px; font-weight: 500; line-height: 1.24em; margin: -6px 0 12px; }
.h-4xl { font-size: 72px; font-weight: 400; line-height: 1.2em; margin: -6px 0 16px; }
.h-1 { font-size: 44px; font-weight: 500; line-height: 1.3em; margin: 0 0 16px; }
.h-1.regular { font-weight: 400; }
.h-1.big { font-weight: 400; line-height: 1.2em; }
.h-15 { font-size: 38px; font-weight: 500; line-height: 1.3em; margin: 0 0 14px; }
.h-15.tight { line-height: 1.2em; }
.h-15.normal { font-weight: 400; }
.h-2 { font-size: 32px; font-weight: 500; line-height: 1.4em; margin: 0 0 8px; color: var(--black); }
.h-3 { font-size: 26px; font-weight: 500; line-height: 1.3em; margin: 0 0 12px; color: var(--black); }
.h-35 { font-size: 23px; font-weight: 500; line-height: 1.4em; margin: 0 0 12px; color: var(--black); }
.h-4 { font-size: 20px; font-weight: 600; line-height: 1.35em; margin: 0 0 8px; color: var(--black); }
.h-62 { font-size: 16px; font-weight: 500; line-height: 1.3em; margin: 0 0 4px; color: var(--black); }
.p { font-size: 18px; line-height: 1.5em; }
.p-m { font-size: 18px; line-height: 1.45em; margin-bottom: 12px; }
.p-l { font-size: 20px; line-height: 1.5em; margin-bottom: 12px; }
.p-xl { font-size: 20px; line-height: 1.5em; margin-bottom: 24px; }
.p-2xl { font-size: 22px; line-height: 1.5em; margin-bottom: 24px; }
.grey { color: var(--slate); }
.light-grey { color: var(--grey); }
.dark-slate { color: var(--dark-slate); }
.accent { color: var(--accent); }
.no-margin { margin: 0; }
.tag {
  display: inline-block;
  margin: 0 10px 16px -3px;
  padding: 4px 12px;
  border-radius: 40px;
  background: var(--smoke);
  color: var(--slate);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.tag.dark { background: var(--linen); }
.tag.plain { text-transform: none; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--accent); font-size: 18px; font-weight: 500; line-height: 24px; letter-spacing: 1px; text-transform: uppercase; }
.eyebrow.grey-eyebrow { color: var(--grey); font-size: 16px; letter-spacing: 0.6px; margin-bottom: 8px; }
.title-tag { display: inline-block; margin-bottom: 8px; color: var(--grey); font-size: 16px; font-weight: 600; line-height: 1.1em; letter-spacing: 0.6px; text-transform: uppercase; }
.cat-text { font-size: 15px; font-weight: 500; line-height: 19.5px; letter-spacing: 0.6px; text-transform: uppercase; margin: 0 0 36px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-block;
  padding: 7px 26px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0.2px;
  text-align: center;
  cursor: pointer;
  box-shadow: inset 0 -10px 8px rgba(37, 37, 37, 0.06), 0 2px 4px rgba(173, 184, 194, 0.1);
  transition: border-color 0.1s, color 0.1s, box-shadow 0.1s, background-color 0.1s var(--btn-ease);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: inset 0 -10px 8px rgba(37, 37, 37, 0.06), 0 2px 8px rgba(173, 184, 194, 0.5); }
.btn:active { background: var(--accent-deep); }
.btn.outline { background: transparent; color: var(--accent); box-shadow: none; }
.btn.outline:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.minimal { background: transparent; border: 0; box-shadow: none; color: var(--accent-hover); padding: 3px 12px; margin: 5px 3px; font-size: 17.5px; }
.btn.minimal:hover { color: var(--accent-deep); }
.btn.white { background: #fff; border-color: #fff; color: var(--dark-slate); border-radius: 3000px; }
.btn.white:hover { background: var(--bg); border-color: var(--bg); color: var(--black); }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.5); border-radius: 3000px; color: #fff; box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.u-link { display: inline-block; font-size: 20px; line-height: 28px; color: var(--accent); border-bottom: 1px solid var(--accent-hover); cursor: pointer; transition: all 0.2s; }
.u-link:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); padding-bottom: 3px; margin-bottom: -3px; }
.u-link.grey-link { color: var(--slate); border-bottom-color: var(--slate); }
.u-link.grey-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.arrow-link { display: inline-flex; align-items: center; gap: 0; color: var(--accent); font-size: 18px; padding-right: 16px; position: relative; transition: padding 0.2s; }
.arrow-link::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor; transform: rotate(45deg); }
.arrow-link:hover { padding-right: 20px; }

/* ---------- navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  height: 82px;
  padding: 18px 50px;
  background: var(--bg);
  transition: background-color 0.2s, box-shadow 0.2s;
}
.nav.clear { background-color: rgba(249, 246, 241, 0); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1330px; margin: 0 auto; }
.brand { display: flex; align-items: center; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 20px; letter-spacing: 0.9px; opacity: 0.95; white-space: nowrap; }
.brand b { font-weight: 600; }
.nav-menu { display: flex; align-items: center; }
.nav-link { position: relative; margin: 4px 8px; padding: 5px; font-size: 16px; line-height: 20px; color: var(--black); cursor: pointer; transition: opacity 0.2s, color 0.2s; }
.nav-link:hover { opacity: 0.7; color: #17191f; }
.nav-link.current { color: var(--slate); }
.nav-cta {
  margin: 4px 16px 4px 8px;
  padding: 8px 20px;
  border: 1px solid var(--accent-dark);
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  white-space: nowrap;
  transition: border 0.2s, background-color 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); border-color: var(--accent); }
.lang { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; letter-spacing: 0.4px; color: var(--grey); }
.lang a, .lang span { padding: 3px 5px; border-radius: 40px; transition: color 0.2s, background-color 0.2s; }
.lang span { color: var(--black); background: var(--linen); }
.lang a:hover { color: var(--black); }
.dd { position: relative; z-index: 900; }
.dd-toggle { position: relative; display: inline-block; margin: 0 8px; padding: 10px 20px 10px 5px; font-size: 16px; line-height: 20px; cursor: pointer; transition: opacity 0.2s; }
.dd-toggle:hover { opacity: 0.7; }
.dd-toggle svg { position: absolute; right: 4px; top: 15px; width: 10px; height: 10px; transition: transform 0.3s var(--in-out); }
.dd.open .dd-toggle svg { transform: rotate(180deg); }
.dd-list {
  position: absolute;
  top: 43px;
  left: -141px;
  display: flex;
  gap: 24px;
  width: 520px;
  margin-top: -2px;
  padding: 14px 20px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 10px, 0);
  transition: opacity 0.3s var(--in-out), transform 0.3s var(--in-out), visibility 0s 0.3s;
}
.dd.open .dd-list { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s var(--in-out), transform 0.3s var(--in-out), visibility 0s; }
.dd-col { flex: none; width: 200px; }
.dd-list.small { width: auto; left: -20px; }
.dd-list.small .dd-col { width: auto; min-width: 190px; }
.dd-toggle.current { color: var(--slate); }
.dd-title { display: inline-block; margin-bottom: 12px; color: var(--grey); font-size: 13px; font-weight: 600; line-height: 1.1em; letter-spacing: 0.6px; text-transform: uppercase; }
.dd-item { display: flex; align-items: center; height: 32px; margin: 4px 0 8px; padding: 5px; font-size: 16px; font-weight: 500; line-height: 20px; color: var(--black); white-space: nowrap; transition: opacity 0.2s, color 0.2s; }
.dd-item:hover { opacity: 0.7; }
.dd-item svg { width: 23px; height: 23px; margin: -1px 10px 0 0; flex: none; }
.dd-featured { border-left: 1px solid var(--linen); padding: 0 0 4px 24px; transition: opacity 0.2s; }
.dd-featured:hover { opacity: 0.8; }
.dd-featured img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; margin-bottom: 10px; }
.dd-featured p { margin: 0; font-size: 14px; line-height: 1.45em; color: var(--slate); }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -8px; align-items: center; justify-content: center; }
.menu-btn span { position: relative; display: block; width: 28px; height: 14px; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--in-out), top 0.3s var(--in-out); }
.menu-btn span::before { top: 0; }
.menu-btn span::after { top: 12px; }
.nav.menu-open .menu-btn span::before { top: 6px; transform: rotate(45deg); }
.nav.menu-open .menu-btn span::after { top: 6px; transform: rotate(-45deg); }

/* ---------- reveal animations ---------- */
.js [data-anim] { opacity: 0; }
.js [data-anim="slide"] { transform: translate3d(0, 100px, 0); }
.js [data-anim].in {
  opacity: 1;
  transform: none;
  transition: opacity 1000ms var(--out-quart), transform 1000ms var(--out-quart);
  transition-delay: var(--d, 0ms);
}

/* ---------- home hero ---------- */
/* The hero grows with its content, so the wave frame always shows on every side. */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(600px, 100vh, 850px);
  margin-top: -82px;
  padding: 85px 50px 48px;
  overflow: hidden;
}
.hero .container { display: flex; flex: 1; flex-direction: column; width: 100%; }
.hero-box { position: relative; display: grid; flex: 1; padding: 28px; overflow: hidden; background: #8d1222; }
/* wave fields: a canvas slightly larger than its box, drawn once and drifting */
.waves { position: absolute; z-index: 0; left: -8%; top: -8%; display: block; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--in-out); animation: drift 16s ease-in-out infinite alternate; will-change: transform; }
.waves.drawn { opacity: 1; }
@keyframes drift { from { transform: translate3d(-3%, -2%, 0) scale(1.02) rotate(-0.8deg); } to { transform: translate3d(3%, 2.5%, 0) scale(1.07) rotate(1deg); } }
.hero-inner { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: 40px; background: #fff; box-shadow: 0 10px 40px rgba(60, 0, 10, 0.2); }
.hero-card { position: relative; display: flex; min-width: 0; }
.hero-text { position: relative; z-index: 3; display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 48px; min-width: 0; }
.hero-intro { max-width: 470px; }
.hero-intro .hero-label { margin: 0 0 8px; color: var(--slate); font-size: 14px; font-weight: 400; line-height: 17.64px; }
.hero-intro p { margin: 0; font-size: 20px; line-height: 30px; }
.hero-link { display: inline-block; line-height: 24px; color: var(--dark-slate); border-bottom: 1px dashed var(--linen); transition: border-color 0.2s, color 0.2s; }
.hero-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.hero-intro sup { position: relative; top: -7.5px; font-size: 15px; line-height: 0; vertical-align: baseline; color: var(--accent); }
.status { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 16px 4px; color: var(--accent); font-weight: 500; line-height: 20px; }
.status i { flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: 100px; background: var(--accent); animation: blink 1500ms infinite; }
@keyframes blink {
  0% { opacity: 1; animation-timing-function: ease-in; }
  26.67% { opacity: 0.3; }
  40% { opacity: 0.3; }
  66.67% { opacity: 1; }
  100% { opacity: 1; }
}
.hero-title { width: 100%; }
.ov { display: flex; overflow: hidden; }
.ov.right { justify-content: flex-start; }
.big-title { display: block; font-size: min(132px, 9.2vw, 17vh); line-height: 1em; letter-spacing: -2px; text-transform: uppercase; font-weight: 400; white-space: nowrap; }
.big-title + .big-title { margin-left: 0.24em; }
/* recent work: a column that scrolls on its own, fading out at the bottom until the end is reached */
.hero-side { position: relative; z-index: 4; min-height: 0; }
.hero-side::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255, 255, 255, 0), #fff 88%); pointer-events: none; transition: opacity 0.3s; }
.hero-side.end::after { opacity: 0; }
.hero-side-inner { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; scrollbar-width: none; }
.hero-side-inner::-webkit-scrollbar { display: none; }
.hero-side-label { margin: 0; color: var(--grey); font-size: 13px; font-weight: 600; line-height: 18px; letter-spacing: 1px; text-transform: uppercase; }
.case-block { position: relative; display: flex; flex: none; flex-direction: column; padding: 16px; background: var(--bg); color: var(--black); transition: background-color 0.3s; }
.case-block:hover { background: var(--smoke); }
.case-title { font-size: 15px; line-height: 20px; text-transform: uppercase; }
.case-arrow { position: absolute; top: 17px; right: 16px; width: 14px; height: 15px; transition: transform 0.4s var(--in-out); }
.case-block:hover .case-arrow { transform: translate(3px, -3px); }
.case-text { margin: 28px 0 14px; font-size: 18px; line-height: 23.4px; }
.case-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

/* ---------- logo marquee ---------- */
.marquee-head { margin: 0 0 12px; color: var(--grey); font-size: 16px; font-weight: 600; line-height: 20.8px; text-transform: uppercase; }
.marquee-wrap { margin: 0 -30px; }
.marquee { position: relative; max-width: 1280px; margin: 0 60px; overflow: hidden; }
.marquee-track { display: flex; width: max-content; margin-top: 12px; animation: marquee var(--mq, 18s) linear infinite; }
.marquee-set { display: flex; align-items: center; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.mq-item { display: flex; align-items: center; gap: 10px; margin: 0 30px 30px; color: #b2aea6; font-size: 23px; font-weight: 700; letter-spacing: -0.4px; line-height: 36px; white-space: nowrap; }
.mq-item svg { width: 30px; height: 30px; flex: none; }
.marquee-fade { position: absolute; top: 0; bottom: 0; width: 150px; pointer-events: none; z-index: 1; }
.marquee-fade.l { left: 0; background-image: linear-gradient(to right, var(--bg) 8%, rgba(249, 246, 241, 0)); }
.marquee-fade.r { right: 0; background-image: linear-gradient(270deg, var(--bg) 8%, rgba(249, 246, 241, 0)); }
.center-head .marquee-head { text-align: center; }

/* ---------- work grid ---------- */
.tabs-menu { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px -2px; }
.tab { padding: 7px 20px; border: 1px solid var(--linen); border-radius: 32px; color: var(--dark-slate); font-weight: 500; line-height: 28px; background: rgba(248, 240, 213, 0); transition: background-color 0.2s, opacity 0.2s, color 0.2s; }
.tab:hover { background: var(--smoke-2); color: #1f1f1f; }
.tab.current { background: var(--linen); color: #1f1f1f; }
.pane { transition: opacity 300ms ease; }
.pane[hidden] { display: none; }
.pane.fading { opacity: 0; }
.projects { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 108px; align-items: start; }
.project-col { display: flex; flex-direction: column; min-width: 0; }
.project { display: block; margin-bottom: 80px; color: var(--black); transition: color 0.2s; }
.project:hover { color: var(--dark-slate); }
.project .cover { margin-bottom: 16px; box-shadow: 0 0 20px rgba(147, 160, 163, 0.1); transition: all 0.2s; }
.project:hover .cover { transform: scale(1.015); }
.project-name { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.3em; }
.project-meta { margin: 0 0 12px; font-size: 18px; line-height: 1.45em; color: var(--slate); }

/* covers: a browser window on a backdrop that is different for every project (see stage() in parts.js) */
.cover { position: relative; overflow: hidden; background: var(--c, #333); aspect-ratio: var(--ar, 611 / 503); container-type: inline-size; isolation: isolate; }
.stage { position: absolute; inset: 0; pointer-events: none; }
svg.stage { width: 100%; height: 100%; }
.stage-photo { inset: -6%; background-position: center; background-size: cover; filter: blur(10px) brightness(0.45) saturate(1.2); }
.stage-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 110%, rgba(214, 170, 110, 0.35), rgba(0, 0, 0, 0) 60%); }
.stage-grid {
  background-color: #2446c9;
  background-image: radial-gradient(circle at 82% 92%, rgba(150, 125, 255, 0.6), rgba(36, 70, 201, 0) 55%), radial-gradient(circle at 8% 0%, rgba(90, 170, 255, 0.35), rgba(36, 70, 201, 0) 45%), linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: auto, auto, 4cqw 4cqw, 4cqw 4cqw;
}
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.6em 1em; border-radius: 100px; background: #fff; color: #1b2446; font-size: clamp(10px, 1.9cqw, 16px); font-weight: 600; line-height: 1; white-space: nowrap; box-shadow: 0 10px 28px rgba(8, 18, 80, 0.28); }
.chip i { width: 0.6em; height: 0.6em; border-radius: 50%; background: #22c55e; }
.chip.c1 { left: 3%; top: 36%; }
.chip.c2 { right: 3%; top: 20%; color: #2446c9; }
.chip.c3 { right: 5%; bottom: 10%; background: #1b2446; color: #fff; }
@container (max-width: 420px) { .chip { display: none; } }
.win { position: absolute; left: 9%; right: 9%; top: 11%; bottom: -2px; overflow: hidden; background: #fff; border-radius: 6px 6px 0 0; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18); }
.win::before { content: ""; display: block; height: 14px; background: #f3f1ee radial-gradient(circle at 10px 7px, #d9d5cf 2.5px, transparent 3px) no-repeat, radial-gradient(circle at 20px 7px, #d9d5cf 2.5px, transparent 3px) no-repeat; background-color: #f3f1ee; }
.win::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: radial-gradient(circle at 30px 7px, #d9d5cf 2.5px, transparent 3px) no-repeat; }
.win img { width: 100%; height: calc(100% - 14px); object-fit: cover; object-position: top center; }
.cover-dimora .phone { right: auto; left: 6%; }
.phone { position: absolute; right: 6%; bottom: -10%; height: 74%; width: auto; aspect-ratio: 780 / 1688; padding: 5px; background: #1c1b1f; border-radius: 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; }
.cover-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px; background: var(--smoke); border: 2px dashed var(--linen); aspect-ratio: 611 / 330; }
.cover-cta .h-3 { max-width: 360px; }
.project:hover .cover-cta { border-color: var(--grey); }

/* ---------- services: one featured card, four cards with their own illustration ---------- */
.svc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; color: var(--black); transition: transform 0.4s var(--in-out), box-shadow 0.3s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(74, 72, 64, 0.1); }
.svc-art { position: relative; aspect-ratio: 400 / 260; overflow: hidden; background: #efe9e1; }
.svc-art svg { position: relative; z-index: 1; display: block; width: 100%; height: 100%; transition: transform 0.7s var(--out-quart); }
.svc-card:hover .svc-art svg { transform: scale(1.04); }
.svc-body { position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 28px 28px 30px; }
.svc-num { margin-bottom: 12px; color: var(--grey); font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: 1px; }
.svc-name { margin: 0 0 8px; font-size: 26px; font-weight: 500; line-height: 1.25em; color: inherit; }
.svc-line { margin: 0 0 18px; color: var(--dark-slate); font-size: 17px; line-height: 1.5em; }
.svc-points { margin: 0 0 26px; width: 100%; border-top: 1px solid var(--line); }
.svc-points li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); color: var(--dark-slate); font-size: 15px; line-height: 1.4em; }
.svc-points li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.svc-card .arrow-link { margin-top: auto; }
.svc-card:hover .arrow-link { padding-right: 20px; }
.svc-feature { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; background: #8d1222; color: #fff; }
.svc-feature::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(74, 8, 17, 0.72) 10%, rgba(74, 8, 17, 0.4) 45%, rgba(74, 8, 17, 0) 75%); pointer-events: none; }
.svc-feature .svc-body { height: 100%; padding: 44px 8px 44px 44px; }
.svc-feature .svc-num { color: rgba(255, 255, 255, 0.7); }
.svc-feature .svc-name { font-size: 40px; line-height: 1.15em; letter-spacing: -0.5px; }
.svc-feature .svc-line { color: rgba(255, 255, 255, 0.88); font-size: 18px; }
.svc-feature .svc-points { border-color: rgba(255, 255, 255, 0.2); }
.svc-feature .svc-points li { border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.svc-feature .svc-points li::before { border-color: #fff; }
.svc-feature .arrow-link { color: #fff; }
.svc-feature .svc-art { z-index: 2; aspect-ratio: 866 / 640; background: none; padding: 24px 24px 24px 0; }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: 0.8fr 1fr; gap: 128px; padding: 48px 48px 16px; background-color: var(--smoke); background-image: linear-gradient(rgba(220, 122, 133, 0), rgba(220, 122, 133, 0.22)); }
.process-head { position: sticky; top: 180px; margin-bottom: 188px; max-width: 580px; }
.process-block { position: sticky; top: 180px; display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 64px; padding: 40px; background: #fff; color: var(--dark-slate); border-top: 1px solid var(--smoke); }
.process-block:nth-child(2) { top: 188px; }
.process-block:nth-child(3) { top: 196px; }
.process-block:nth-child(4) { top: 200px; }
.process-block .icon { position: absolute; top: 24px; right: 25px; width: 45px; height: 45px; }
.process-block .step { margin: 0 0 12px; font-size: 20px; line-height: 30px; }

/* ---------- testimonials ---------- */
.split { display: flex; justify-content: space-between; align-items: flex-start; }
.split-col { width: 47.5%; }
.quote-box { margin-bottom: 48px; padding: 20px 40px 40px; border: 2px solid var(--smoke); }
.quote-logo { position: relative; top: -35px; left: -24px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 24px; background: var(--bg); color: #aba69d; font-size: 18px; font-weight: 700; letter-spacing: -0.2px; }
.quote-logo span { font-size: 19px; letter-spacing: 0.6px; }
.quote-logo img { height: 34px; width: auto; filter: grayscale(1) contrast(0.9); mix-blend-mode: multiply; opacity: 0.5; }
.quote { max-width: 650px; margin: 0 0 25px; font-size: 26px; font-weight: 400; line-height: 1.35em; color: var(--black); }
.quote.placeholder { color: var(--grey); }
.person strong { display: block; font-size: 22px; line-height: 26px; }
.person span { display: block; font-size: 18px; line-height: 23.4px; color: var(--slate); }

/* ---------- faq ---------- */
.faq-head { margin-bottom: 40px; }
.faq { position: relative; margin: 20px 0; padding: 10px 0; border-bottom: 1px solid var(--grey); }
.faq-q { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; cursor: pointer; }
.faq-h { margin: 0; font: inherit; }
.faq-q span { margin: 0 0 16px; color: var(--slate); font-size: 26px; font-weight: 400; line-height: 1.1em; transition: color 0.2s; }
.faq-q:hover span { color: var(--dark-slate); }
.faq-q svg { flex: none; width: 18px; height: 10px; margin: -25px 0 0 10px; transition: transform 500ms var(--in-out); }
.faq.open .faq-q svg { transform: translateY(4px) rotate(180deg); }
.faq-a { height: 0; margin-top: 5px; overflow: hidden; transition: height 500ms var(--in-out); }
.faq-a p { max-width: 800px; margin: 0 0 18px; font-size: 20px; line-height: 1.5em; letter-spacing: 0.3px; }

/* ---------- resources-style block (Lavura + latest work) ---------- */
.res-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
.feature-block { display: block; padding: 24px; transition: opacity 0.2s; background: var(--smoke-2); color: var(--slate); }
.feature-block .cover { margin-bottom: 16px; }
.latest-card { display: grid; grid-template-columns: 0.8fr 1fr; gap: 24px; align-items: center; margin-bottom: 24px; transition: opacity 0.2s; }
.latest-card:hover { opacity: 0.85; }
.latest-card .cover { aspect-ratio: 242 / 160; }
.latest-card .win { left: 10%; right: 10%; top: 14%; }

/* ---------- CTA ---------- */
.cta { padding: 40px 50px 100px; }
.cta-box { position: relative; overflow: hidden; padding: 96px 64px; background: #241c1f; color: #fff; }
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(36, 28, 31, 0.1) 20%, rgba(36, 28, 31, 0.62) 62%, rgba(36, 28, 31, 0.72)); pointer-events: none; }
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.cta-eyebrow { margin: 0 0 16px; color: #f4a9b3; font-size: 15px; font-weight: 600; line-height: 20px; letter-spacing: 1px; text-transform: uppercase; }
.cta-h { margin: 0; font-size: min(76px, 5.6vw); font-weight: 400; line-height: 1.04em; letter-spacing: -1.5px; }
.cta-side p { max-width: 460px; margin: 0 0 28px; color: rgba(255, 255, 255, 0.86); font-size: 20px; line-height: 1.5em; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.footer { position: relative; display: flex; padding: 0 40px 40px; background: var(--bg); }
.footer-inner { width: 100%; max-width: 1330px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.footer-start { display: flex; flex-direction: column; padding: 32px; background: var(--smoke); }
.fs-title { margin: 0 0 8px; font-size: 24px; font-weight: 400; line-height: 1.3em; }
.fs-sub { max-width: 450px; margin: 0 0 24px; color: var(--grey); font-size: 16px; line-height: 1.4em; }
.fs-card { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 32px; background: #fff; box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05); }
.fs-q { margin: 0 0 16px; font-size: 19.2px; line-height: 28px; color: #000; }
.fs-list { display: flex; flex-direction: column; border-top: 1px solid var(--linen); }
.fs-item { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linen); color: var(--black); font-size: 18px; line-height: 24px; letter-spacing: -0.2px; transition: padding 0.4s ease, color 0.2s; }
.fs-item > span { flex: 1; }
.fs-item:hover { padding-left: 8px; }
.fs-item:hover { color: var(--accent); }
.fs-item .case-arrow, .contact-option .case-arrow { position: static; flex: none; width: 13px; height: 14px; transition: transform 0.4s var(--in-out); }
.fs-item:hover .case-arrow, .contact-option:hover .case-arrow { transform: translate(3px, -3px); }
.fs-icon { flex: none; width: 36px; height: 36px; }
.fs-label { display: block; margin: 0 0 6px; color: var(--grey); font-size: 14px; line-height: 21px; }
.fs-mail .mail-big { margin: 0; font-size: 22px; }
.footer-right { display: grid; gap: 16px; grid-template-rows: auto 1fr; }
.footer-logo { display: flex; align-items: center; gap: 32px; padding: 32px; background: var(--smoke); }
.footer-mark { flex: none; width: 56px; height: 56px; border-radius: 50%; }
.footer-slogan { color: var(--black); font-size: 20px; line-height: 1.4em; }
.footer-slogan b { display: inline-block; margin-bottom: 4px; font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: 1px; }
.footer-links { display: flex; flex-direction: column; gap: 32px; padding: 32px 32px 28px; background: var(--smoke); }
.footer-cols { display: flex; justify-content: space-between; gap: 16px; }
.footer-col h4 { margin: 0 0 10px; color: var(--grey); font-size: 14px; font-weight: 400; line-height: 21px; }
.footer-link { display: block; margin: 0 0 4px; font-size: 16px; line-height: 1.6em; color: var(--black); transition: padding 0.2s, color 0.2s; }
.footer-link:hover { color: var(--slate); padding-left: 2px; }
.social-link { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 16px; line-height: 1.6em; color: var(--black); transition: all 0.2s, color 0.2s; }
.social-link svg { width: 16px; height: 16px; transform: rotate(-45deg); transition: transform 0.3s var(--in-out); }
.social-link:hover { gap: 10px; color: var(--accent); }
.social-link:hover svg { transform: rotate(0deg); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--linen); color: var(--grey); font-size: 14px; line-height: 20px; white-space: nowrap; }
.footer-bottom a { color: var(--grey); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--black); }

/* ---------- pricing ---------- */
.pricing-head { margin-top: -82px; padding: 140px 50px 64px; overflow: hidden; background-image: linear-gradient(var(--accent-soft), var(--smoke-2)); }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
.pricing-box { padding: 32px 32px 0; background: var(--smoke); }
.price-label { margin: 0 0 16px; }
.price-block { position: relative; display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 64px; padding: 36px; background: #fff; color: var(--dark-slate); border: 1px solid var(--linen); box-shadow: 0 2px 40px rgba(0, 0, 0, 0.05); }
.price-block .icon { width: 45px; height: 45px; }
.price-tag { position: absolute; top: 20px; right: 20px; z-index: 2; padding: 1px 8px 0; background: var(--accent-tint); color: var(--accent); font-size: 15px; font-weight: 500; line-height: 24px; }
.price-block .h-15 { color: inherit; }
.pricing-side { position: relative; }
.pricing-sticky { position: sticky; top: 110px; }
.frame { position: relative; padding: 24px 0 0 24px; overflow: hidden; font-size: 18px; line-height: 27px; aspect-ratio: 430 / 353; container-type: inline-size; isolation: isolate; }
.frame p { position: relative; z-index: 2; margin: 0 0 18px; padding-right: 24px; font-weight: 500; }
.frame + .frame { position: absolute; top: 0; left: 0; right: 0; opacity: 0; }
.frame.f1 { background: #3f8a3a; color: #fff; }
.frame.f2 { background: #2b2520; color: #f3e9dc; }
.frame.f3 { background: #2446c9; color: #fff; }
.frame .shot { position: absolute; z-index: 2; left: 24px; right: 0; bottom: 0; top: 96px; overflow: hidden; border-radius: 8px 0 0 0; background: #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); }
.frame .shot::before { content: ""; display: block; height: 16px; background: radial-gradient(circle at 11px 8px, #d9d5cf 2.5px, transparent 3px) no-repeat, radial-gradient(circle at 21px 8px, #d9d5cf 2.5px, transparent 3px) no-repeat, radial-gradient(circle at 31px 8px, #d9d5cf 2.5px, transparent 3px) no-repeat #f3f1ee; }
.frame .shot img { width: 100%; height: calc(100% - 16px); object-fit: cover; object-position: top left; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 490px) minmax(0, 530px); justify-content: center; gap: 80px; align-items: start; max-width: 1100px; margin: 0 auto; }
.about-media { position: sticky; top: 120px; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% center; }
.about-photo figcaption { margin-top: 10px; color: var(--grey); font-size: 14px; line-height: 1.4em; }
.about-facts { margin: 28px 0 8px; border-top: 1px solid var(--linen); }
.about-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linen); font-size: 16px; line-height: 1.5em; }
.about-facts li span:first-child { color: var(--grey); }
.about-facts li span:last-child { text-align: right; }
.about-text p, .about-text h1 { font-size: 18px; line-height: 27px; }
.about-text h1 { font-weight: 400; margin-bottom: 16px; }
.hl { padding: 0 4px; background: var(--accent-hl); color: var(--accent-deep); font-style: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hover-ex { position: relative; line-height: 1.2em; color: var(--accent-mid); border-bottom: 1px solid rgba(197, 34, 51, 0.23); transition: border 0.2s, color 0.2s; cursor: default; }
a.hover-ex { cursor: pointer; }
.hover-ex:hover { color: var(--accent-deep); border-bottom-color: rgba(197, 34, 51, 0.57); }
.hover-target { position: fixed; z-index: 9999; left: 0; top: 0; width: 400px; height: 190px; object-fit: cover; object-position: top; border: 8px solid #fff; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.hover-target.show { opacity: 1; }
.about-sig { display: block; width: 210px; height: auto; margin-top: 20px; transform: rotate(-4deg); transform-origin: left center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 586fr) minmax(0, 704fr); gap: 16px 40px; align-items: start; }
.contact-head { max-width: 480px; margin-bottom: 20px; }
.contact-art { position: relative; overflow: hidden; margin-top: 28px; background: #8d1222; color: #fff; }
.contact-art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(74, 8, 17, 0.78) 15%, rgba(74, 8, 17, 0.1) 80%); pointer-events: none; }
.call-body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; min-height: 320px; padding: 26px 30px 30px; }
.call-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: auto; padding: 5px 12px; border-radius: 3000px; background: rgba(255, 255, 255, 0.14); font-size: 13px; font-weight: 600; line-height: 18px; letter-spacing: 0.3px; }
.call-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.call-title { margin: 32px 0 8px; font-size: 28px; font-weight: 500; line-height: 1.2em; letter-spacing: -0.3px; }
.call-text { max-width: 380px; margin: 0 0 22px; color: rgba(255, 255, 255, 0.88); font-size: 16px; line-height: 1.5em; }
.contact-next { margin-top: 32px; }
.contact-next-title { margin: 0 0 10px; color: var(--grey); font-size: 13px; font-weight: 600; line-height: 20px; letter-spacing: 1px; text-transform: uppercase; }
.contact-next ol { margin: 0; padding: 0; border-top: 1px solid var(--linen); list-style: none; counter-reset: step; }
.contact-next li { position: relative; padding: 12px 0 12px 38px; border-bottom: 1px solid var(--linen); color: var(--dark-slate); font-size: 16px; line-height: 1.45em; counter-increment: step; }
.contact-next li::before { content: "0" counter(step); position: absolute; left: 0; top: 14px; color: var(--accent); font-size: 13px; font-weight: 600; line-height: 20px; letter-spacing: 1px; }
.contact-label { margin: 0 0 40px; padding-top: 14px; border-top: 1px solid var(--black); color: var(--black); font-size: 17px; font-weight: 500; line-height: 24px; letter-spacing: 0.5px; text-transform: uppercase; }
.contact-card-wrap { margin: 0 0 24px; }
/* soft shelf of shade where the page meets the footer */
.page-shade { height: 170px; margin: -110px 0 50px; background: linear-gradient(90deg, rgba(58, 48, 40, 0.14), rgba(58, 48, 40, 0) 14%, rgba(58, 48, 40, 0) 86%, rgba(58, 48, 40, 0.14)), linear-gradient(180deg, rgba(58, 48, 40, 0) 0%, rgba(58, 48, 40, 0.07) 45%, rgba(58, 48, 40, 0.3) 100%); -webkit-mask-image: linear-gradient(transparent, #000 55%); mask-image: linear-gradient(transparent, #000 55%); pointer-events: none; }
.contact-card { padding: 28px; background: var(--smoke-2); }
.contact-main { transition: opacity 0.3s; }
.card-q { margin: 0 0 16px; font-size: 20px; font-weight: 500; line-height: 28px; }
.contact-options { display: flex; flex-direction: column; gap: 12px; }
.contact-option { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 20px; background: #fff; font-size: 18px; line-height: 24px; letter-spacing: -0.2px; text-align: left; transition: color 0.2s, box-shadow 0.3s; }
.contact-option > span { flex: 1; }
.contact-option:hover { color: var(--accent); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); }
.opt-icon { flex: none; width: 34px; height: 34px; }
.letter { display: flex; flex: none; justify-content: center; align-items: center; width: 28px; height: 28px; border: 1px solid var(--linen); border-radius: 30px; background: #fff; font-size: 14px; }
.contact-panel { opacity: 0; transition: opacity 0.3s var(--in-out); }
.contact-panel[hidden] { display: none; }
.back-link { display: inline-flex; align-items: center; gap: 0; margin-bottom: 18px; padding-left: 14px; position: relative; color: var(--black); font-size: 18px; line-height: 28px; transition: padding 0.2s, color 0.2s; }
.back-link::before { content: ""; position: absolute; left: 1px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
.back-link:hover { padding-left: 20px; }
.form-card { width: 100%; min-height: 275px; padding: 24px 32px; background: #fff; }
.answer { margin-bottom: 40px; color: var(--grey); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; width: 100%; margin-bottom: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.label { display: block; margin: 10px 0 3px; color: var(--dark-slate); font-size: 14px; font-weight: 500; line-height: 22px; letter-spacing: 0.2px; }
.field { display: block; width: 100%; margin-bottom: 10px; padding: 21px 0; border: 0; border-bottom: 1px solid var(--linen); border-radius: 0; background: transparent; color: var(--black); font: inherit; font-size: 15px; line-height: 26px; outline: none; transition: border-color 0.4s; }
.field:hover { border-color: #d5cfc6; }
.field:focus { border-color: var(--accent); }
textarea.field { height: 120px; padding: 10px 0; resize: vertical; }
select.field { height: 44px; padding: 0; color: var(--slate); appearance: auto; }
.form-note { margin: 14px 0 0; font-size: 14px; line-height: 1.45em; color: var(--grey); }
.form-done { display: none; margin-top: 16px; padding: 14px 16px; background: var(--smoke); font-size: 15px; line-height: 1.5em; }
.form-done.show { display: block; }
.mail-big { display: inline-block; margin: 4px 0 8px; font-size: 26px; line-height: 1.3em; color: var(--black); border-bottom: 1px solid var(--linen); transition: color 0.2s, border-color 0.2s; word-break: break-all; }
.mail-big:hover { color: var(--accent); border-color: var(--accent); }
.copy-btn { margin-left: 8px; padding: 2px 12px; border: 1px solid var(--linen); border-radius: 300px; background: #fff; font-size: 14px; font-weight: 500; line-height: 26px; transition: background-color 0.2s; }
.copy-btn:hover { background: var(--bg); }
.facts { margin-top: 24px; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5em; }
.facts li span:first-child { color: var(--grey); }

/* ---------- service page ---------- */
.svc-hero { padding: 60px 50px; background: var(--smoke-2); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 64px; align-items: center; }
.svc-hero .cover { aspect-ratio: 600 / 474; }
.cover.svc .win { left: 12%; right: 0; top: 15%; bottom: 12%; border-radius: 6px 0 0 6px; }
.cover.photo img { width: 100%; height: 100%; object-fit: cover; }
.cover.svc.lead { background: #efe9e1; }
.lead-art { display: block; width: 100%; height: 100%; }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.feat { padding: 40px; background: #fff; }
.feat .cat-text { padding-top: 8px; border-top: 1px solid var(--dark-slate); margin-bottom: 64px; }
.feat .icon { width: 58px; height: 58px; margin-bottom: 24px; }
.feat p { font-size: 18px; line-height: 27px; margin: 0; }

/* ---------- case study page ---------- */
.cs-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 40px 0; }
.cs-meta div { padding-top: 10px; border-top: 1px solid var(--dark-slate); }
.cs-meta span { display: block; color: var(--grey); font-size: 14px; line-height: 20px; text-transform: uppercase; letter-spacing: 0.6px; }
.cs-meta b, .cs-meta a { overflow-wrap: anywhere; display: block; margin-top: 4px; font-size: 18px; font-weight: 400; line-height: 1.4em; color: var(--black); }
.cs-meta a { color: var(--accent); }
.cs-cover { aspect-ratio: 1330 / 760; --ar: 1330 / 760; }
.cs-cover .win { left: 12%; right: 12%; top: 10%; }
.scroll-shot { position: relative; height: 720px; overflow: hidden; background: #fff; box-shadow: 0 0 20px rgba(147, 160, 163, 0.1); }
.scroll-shot::before { content: ""; position: relative; z-index: 2; display: block; height: 22px; background: radial-gradient(circle at 14px 11px, #d9d5cf 3.5px, transparent 4px) no-repeat, radial-gradient(circle at 28px 11px, #d9d5cf 3.5px, transparent 4px) no-repeat, radial-gradient(circle at 42px 11px, #d9d5cf 3.5px, transparent 4px) no-repeat #f3f1ee; }
.scroll-shot img { width: 100%; height: auto; transform: translateY(0); transition: transform 9s var(--in-out); }
.scroll-shot:hover img { transform: translateY(calc(-100% + 698px)); }
.scroll-hint { margin-top: 12px; font-size: 14px; color: var(--grey); }
.cs-two { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.phone-lg { position: relative; width: 300px; aspect-ratio: 780 / 1688; padding: 8px; background: #1c1b1f; border-radius: 40px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18); overflow: hidden; }
.phone-lg img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; }
.cs-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.ticks li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--linen); font-size: 18px; line-height: 1.5em; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- legal / 404 ---------- */
.legal h2 { font-size: 26px; margin: 48px 0 12px; }
.legal p, .legal li { font-size: 18px; line-height: 1.6em; color: var(--dark-slate); }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.nf { min-height: 60vh; display: flex; align-items: center; }

/* ---------- responsive ---------- */
@media (min-width: 1280px) {
  .footer-cols { gap: 16px; }
}
@media (max-width: 1279px) {
  .projects { column-gap: 64px; }
  .process { gap: 64px; }
  .cta-h { font-size: 6vw; }
}
@media (max-width: 991px) {
  .section { padding-left: 40px; padding-right: 40px; }
  .section.large { padding-top: 80px; padding-bottom: 80px; }
  .nav { padding-left: 40px; padding-right: 40px; }
  .menu-btn { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 40px 32px;
    background: var(--bg);
    box-shadow: 0 16px 24px 8px rgba(35, 36, 37, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--in-out), transform 0.3s var(--in-out), visibility 0s 0.3s;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav.menu-open .nav-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s var(--in-out), transform 0.3s var(--in-out), visibility 0s; }
  .dd-toggle { width: 100%; text-align: left; }
  .nav-link, .dd-toggle { display: block; margin: 5px 0; padding: 0; font-size: 18px; line-height: 40px; border-bottom: 1px solid var(--linen); }
  .nav-link:hover, .dd-toggle:hover { opacity: 1; }
  .dd-toggle svg { right: 0; top: 15px; }
  .dd { width: 100%; }
  .dd-list { position: static; width: auto; display: none; margin: 0; padding: 4px 0 8px; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none; transition: none; }
  .dd.open .dd-list { display: block; }
  .dd-col { width: auto; }
  .dd-title, .dd-featured { display: none; }
  .dd-item { height: 40px; margin: 0; font-size: 17px; }
  .nav-cta { margin: 12px 0 0; padding: 6px 0; text-align: center; border: 0; line-height: 40px; }
  .lang { justify-content: center; margin-top: 16px; font-size: 14px; }
  .hero-title .big-title { font-size: 9vw; }
  .hero-box { padding: 20px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 250px; gap: 24px; padding: 32px; }
  .projects { column-gap: 48px; }
  .svc-head { grid-template-columns: 1fr; margin-bottom: 36px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-feature { grid-column: 1 / -1; }
  .svc-feature .svc-body { padding: 36px 8px 36px 36px; }
  .svc-feature .svc-name { font-size: 34px; }
  .svc-body { padding: 24px 24px 26px; }
  .process { grid-template-columns: 1fr 1.2fr; gap: 40px; }
  .res-grid { grid-template-columns: 1.8fr 1fr; gap: 40px; }
  .cta { padding-left: 40px; padding-right: 40px; }
  .cta-box { padding: 72px 40px; }
  .footer { padding-left: 24px; padding-right: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .pricing-grid { gap: 24px; }
  .frame { padding: 16px 0 0 16px; font-size: 15px; line-height: 22px; }
  .frame p { padding-right: 16px; }
  .frame .shot { left: 16px; top: 92px; }
  .pricing-box { padding-left: 24px; padding-right: 24px; }
  .price-block { padding: 32px; }
  .about-grid { grid-template-columns: 0.7fr 1fr; gap: 48px; }
  .h-4xl { font-size: 48px; }
  .h-15 { font-size: 34px; }
  .svc-hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .feat-grid { gap: 16px; }
  .feat { padding: 28px; }
  .cs-cols { gap: 40px; }
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-two { grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; }
  .phone-lg { width: 220px; border-radius: 30px; }
  .phone-lg img { border-radius: 24px; }
}
@media (max-width: 767px) {
  .section { padding-top: 60px; padding-bottom: 60px; }
  .nav { height: 70px; padding: 18px 30px; }
  .nav-menu { padding: 12px 30px 32px; }
  .h-1 { font-size: 32px; line-height: 1.2em; }
  .h-2 { font-size: 28px; }
  .h-15 { font-size: 32px; }
  .h-xxl { font-size: 48px; margin-bottom: 16px; }
  .h-4xl { font-size: 48px; }
  .p, .p-m, .about-text p, .about-text h1 { font-size: 16px; }
  .p-2xl { font-size: 20px; }
  .hero { min-height: 92vh; margin-top: -70px; padding: 85px 30px 30px; }
  .hero-box { padding: 96px 16px 16px; }
  .hero-inner { grid-template-columns: 1fr; padding: 30px; }
  .hero-side { display: none; }
  .hero-text { flex-direction: column-reverse; gap: 28px; margin-bottom: 10px; }
  .hero-title .big-title { font-size: 12vw; line-height: 1.05em; }
  .status { margin: 12px 0 auto; }
  .hline.nudge-up { top: -30px; }
  .projects { column-gap: 48px; }
  .project { margin-bottom: 32px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-feature { grid-template-columns: 1fr; }
  .svc-feature .svc-body { padding: 32px 28px 8px; }
  .svc-feature .svc-art { padding: 8px 16px 16px; }
  .svc-feature .svc-name { font-size: 32px; }
  .process { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
  .process-head { position: static; margin-bottom: 0; }
  .process-block { margin-bottom: 24px; top: 120px; }
  .process-block:nth-child(2) { top: 128px; }
  .process-block:nth-child(3) { top: 136px; }
  .process-block:nth-child(4) { top: 144px; }
  .split { flex-direction: column; }
  .split-col { width: 100%; }
  .split .spacer-80 { display: none; }
  .quote { font-size: 20px; }
  .quote-box { padding: 10px 30px 30px; }
  .faq-a p { font-size: 16px; }
  .res-grid { grid-template-columns: 1fr; }
  .cta { padding: 20px 30px 60px; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-h { font-size: 44px; }
  .footer { padding: 20px; }
  .footer-start { padding: 24px; }
  .footer-cols { display: grid; grid-template-columns: 1fr 1fr; }
  .pricing-head { margin-top: -70px; padding-top: 120px; padding-bottom: 32px; }
  .pricing-grid { display: block; }
  .pricing-side { display: none; }
  .pricing-box { padding: 24px; }
  .price-block { margin-bottom: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-media { position: static; }
  .about-photo { max-width: 420px; }
  .about-photo img { aspect-ratio: 4 / 3; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .call-body { min-height: 280px; }
  .svc-hero-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat .cat-text { margin-bottom: 32px; }
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-cols, .cs-two { grid-template-columns: 1fr; }
  .phone-lg { width: 240px; }
  .scroll-shot { height: 480px; }
  .scroll-shot:hover img { transform: translateY(calc(-100% + 458px)); }
}
@media (max-width: 479px) {
  .mail-big { font-size: 18px; word-break: normal; }
  .section { padding-left: 20px; padding-right: 20px; }
  .section.medium { padding-top: 50px; padding-bottom: 50px; }
  .nav { height: 65px; padding-left: 20px; padding-right: 20px; }
  .nav-menu { padding-left: 20px; padding-right: 20px; }
  .brand { font-size: 14.5px; letter-spacing: 0.7px; }
  .h-1 { font-size: 28px; }
  .h-2 { font-size: 24px; line-height: 1.25em; }
  .h-3 { font-size: 22px; }
  .h-15 { font-size: 30px; line-height: 1.3em; }
  .h-xxl { font-size: 35px; }
  .h-4xl { font-size: 40px; }
  .p-xl { font-size: 18px; }
  .p-l, .p-2xl { font-size: 18px; }
  .hero { padding: 85px 20px 20px; margin-top: -65px; }
  .hero-box { padding: 72px 12px 12px; }
  .hero-inner { padding: 20px; }
  .hero-intro { max-width: none; }
  .hero-link { display: inline; line-height: inherit; }
  .hero-intro p { font-size: 18px; line-height: 1.5em; }
  .hero-title .ov { flex-direction: column; gap: 3px; }
  .hero-title .big-title { font-size: 15vw; white-space: normal; }
  .hero-title .big-title + .big-title { margin-left: auto; }
  .status { margin-top: 16px; font-size: 15px; }
  .marquee-wrap { margin: 0 -10px; }
  .marquee { margin: 0 20px; }
  .mq-item { font-size: 20px; margin-bottom: 32px; }
  .projects { grid-template-columns: 1fr; }
  .tabs-menu { gap: 6px; margin-bottom: 24px; }
  .tab { padding: 2px 16px; font-size: 14px; letter-spacing: -0.2px; }
  .svc-body { padding: 22px 20px 24px; }
  .svc-name { font-size: 23px; }
  .svc-feature .svc-body { padding: 28px 20px 8px; }
  .svc-feature .svc-name { font-size: 28px; }
  .process { padding: 32px; }
  .process-block { padding: 40px 26px 32px; }
  .quote { font-size: 19px; }
  .faq-q span { font-size: 22px; line-height: 30px; }
  .cta { padding: 12px 20px 48px; }
  .cta-box { padding: 48px 22px; }
  .cta-h { font-size: 36px; letter-spacing: -1px; }
  .cta-side p { font-size: 18px; }
  .footer { padding: 16px; }
  .footer-start { padding: 16px; }
  .fs-card { padding: 20px 16px; gap: 32px; }
  .fs-item { gap: 12px; padding: 14px 0; font-size: 16px; line-height: 22px; }
  .fs-icon { width: 30px; height: 30px; }
  .fs-mail .mail-big { font-size: 18px; }
  .footer-logo, .footer-links { padding: 24px; }
  .pricing-box { background: transparent; padding: 0; }
  .price-block { padding: 48px 22px 32px; }
  .price-tag { top: 16px; right: 16px; }
  .contact-option { padding: 13px 16px; font-size: 16px; line-height: 22px; }
  .form-card { padding: 18px 24px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .feat { padding: 24px; }
  .cs-meta { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js [data-anim] { opacity: 1; transform: none; }
  .waves { animation: none; }
}
