/* AivraSol design system
   Mobile first. Breakpoints: 640, 768, 1024, 1280.
   Palette from the Boolmind research, with accessible text shades. */

@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bebas-neue.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-var.woff2") format("woff2"); }

:root {
  --orange: #FF5B35;
  --orange-hover: #F04A22;
  --orange-text: #B8380F;
  /* Button fill. Brand orange by default. For strict WCAG AA contrast on white button text, set this to #E32B00. */
  --btn-bg: #FF5B35;
  --orange-tint: rgba(255, 91, 53, 0.08);
  --orange-tint-2: rgba(255, 91, 53, 0.16);
  --slate: #333F48;
  --ink: #191F24;
  --body: #5F666B;
  --muted: #636A6F;
  --line: #E1E3E5;
  --line-strong: #CFD3D6;
  --grey: #EBECED;
  --grey-soft: #F6F7F8;
  --white: #FFFFFF;
  --danger: #B3261E;
  --success: #1E7A4C;

  --font-display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 2px;
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-nav: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-card: 0 1px 10px rgba(0, 0, 0, .08), 0 2px 15px rgba(0, 0, 0, .04);
  --shadow-pop: 0 20px 25px -5px rgba(0, 0, 0, .12), 0 8px 10px -6px rgba(0, 0, 0, .1);

  --gutter: 20px;
  --header-h: 64px;
  --section-y: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; --section-y: 80px; } }
@media (min-width: 1024px) { :root { --header-h: 84px; } }
@media (min-width: 1280px) { :root { --gutter: 64px; --section-y: 96px; } }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--body); background: var(--white); overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--orange-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: var(--white); }

/* Layout */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-narrow { max-width: 920px; }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: calc(var(--section-y) * .6); }
.section-grey { background: var(--grey); }
.section-soft { background: var(--grey-soft); }
.section:not(.section-grey):not(.section-soft) + .section:not(.section-grey):not(.section-soft) { padding-top: 0; }
.divider { border-top: 1px solid var(--line); }

/* Typography */
.display-1, .display-2, .display-3 { font-family: var(--font-display); font-weight: 400; color: var(--slate); letter-spacing: .005em; line-height: .98; text-wrap: balance; margin: 0; }
.display-1 { font-size: clamp(46px, 7.2vw, 88px); }
.display-2 { font-size: clamp(40px, 5.6vw, 76px); }
.display-3 { font-size: clamp(32px, 4vw, 52px); }
.lead { font-size: 16px; line-height: 1.7; color: var(--body); max-width: 62ch; }
@media (min-width: 768px) { .lead { font-size: 17.5px; } }
.bar { display: block; width: 48px; height: 3px; background: var(--orange); margin: 18px 0 22px; border: 0; }
.center .bar, .bar.center { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 13.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); margin: 22px 0; }
.eyebrow::before { content: ""; width: 48px; height: 3px; background: var(--orange); flex: none; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 40px; }
.section-head .lead { margin-bottom: 0; }
@media (min-width: 1024px) { .section-head { margin-bottom: 56px; } }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.prose { max-width: 75ch; }
.prose h2 { font-size: 22px; margin-top: 2em; }
.prose h3 { font-size: 18px; margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 14px 22px; font-size: 15px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; text-decoration: none; text-align: center; color: var(--white); background: var(--btn-bg); border: 1px solid var(--btn-bg); border-radius: var(--radius); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn:hover { background: transparent; color: var(--orange-text); }
.btn .icon { width: 18px; height: 18px; }
.btn-outline { background: transparent; color: var(--orange-text); }
.btn-outline:hover { background: var(--orange); color: var(--white); }
.btn-dark { background: var(--slate); border-color: var(--slate); }
.btn-dark:hover { background: transparent; color: var(--slate); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--orange-text); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-ghost { background: transparent; border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--orange-text); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 13.5px; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.icon { width: 24px; height: 24px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: var(--shadow-nav); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 28px; width: auto; }
@media (min-width: 1024px) { .brand img { height: 33px; } }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 46px; height: 42px; padding: 0 12px 0 10px; margin-right: -4px; border: 1.5px solid #FFD6C8; background: var(--white); color: var(--orange); border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .2s, border-color .2s, color .2s; }
.nav-toggle:hover { border-color: var(--orange); }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close, .nav-toggle .nt-close { display: none; }
.nav-open .nav-toggle { background: var(--orange); border-color: var(--orange); color: var(--white); }
.nav-open .nav-toggle .icon-open, .nav-open .nav-toggle .nt-open { display: none; }
.nav-open .nav-toggle .icon-close, .nav-open .nav-toggle .nt-close { display: inline; }
@media (max-width: 340px) { .nav-toggle .nt-open, .nav-toggle .nt-close { display: none !important; } .nav-toggle { padding: 0 10px; } }

.main-nav { position: fixed; top: var(--header-h); right: 0; bottom: 0; z-index: 49; width: 100%; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--white); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 8px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; }
.nav-open .main-nav { transform: none; visibility: visible; transition: transform .3s var(--ease); }
html.nav-open { overflow: hidden; }
.nav-shade { display: none; }
.nav-open .fab, .nav-open .cookie { visibility: hidden; }
@media (min-width: 600px) and (max-width: 1023px) {
  .main-nav { width: min(440px, 100%); box-shadow: -18px 0 40px -12px rgba(25, 31, 36, .25); }
  .nav-open .nav-shade { display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 48; background: rgba(25, 31, 36, .45); }
}
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-item { border-bottom: 1px solid var(--line); }
.nav-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0; font-size: 15px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: none; border: 0; text-align: left; }
.nav-link:hover, .nav-link.is-active { color: var(--orange-text); }
.nav-link .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mega { display: none; padding: 0 0 16px; }
.nav-link[aria-expanded="true"] + .mega { display: block; }
.mega-grid { display: grid; }
.mega-link { display: flex; align-items: center; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: color .2s; }
.mega-link:hover { color: var(--orange-text); }
.mega-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #FFF1EC; flex: none; transition: background-color .25s var(--ease), transform .25s var(--ease); }
.mega-icon .icon { width: 24px; height: 24px; color: var(--orange); }
.mega-icon .duo { width: 32px; height: 32px; }
.mega-link:hover .mega-icon { background: #FFE2D8; transform: scale(1.05); }
.mega-title { font-size: 16px; line-height: 1.35; }
.nav-cta { margin-top: 24px; }
.nav-cta .btn { width: 100%; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav { position: static; width: auto; height: auto; transform: none; visibility: visible; overflow: visible; padding: 0; background: transparent; transition: none; display: flex; align-items: center; gap: 28px; }
  .nav-list { display: flex; align-items: stretch; gap: 4px; height: var(--header-h); }
  .nav-item { position: relative; display: flex; align-items: center; border: 0; }
  .nav-link { padding: 10px 12px; font-size: 14.5px; gap: 6px; white-space: nowrap; border-bottom: 2px solid transparent; }
  .nav-link.is-active { border-bottom-color: var(--orange); }
  .mega { position: absolute; top: 100%; left: 50%; width: 660px; padding: 6px 22px 8px; background: var(--white); border-top: 2px solid var(--orange); border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: 0 18px 36px -10px rgba(25, 31, 36, .2); transform: translateX(-50%); }
  .nav-item:hover > .mega, .nav-item.is-open > .mega, .nav-item:focus-within > .mega { display: block; animation: megaIn .18s var(--ease); }
  .nav-item:hover > .nav-link .icon, .nav-item.is-open > .nav-link .icon, .nav-item:focus-within > .nav-link .icon { transform: rotate(180deg); }
  .mega-grid { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .mega-link { padding: 12px 2px; gap: 14px; }
  .mega-link:nth-last-child(-n+2) { border-bottom: 0; }
  .mega-icon { width: 54px; height: 54px; }
  .mega-icon .duo { width: 30px; height: 30px; }
  .mega-title { font-size: 15.5px; }
  .nav-cta { margin: 0; }
  .nav-cta .btn { width: auto; white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .header-inner { gap: 12px; }
  .main-nav { gap: 12px; }
  .nav-list { gap: 0; }
  .nav-link { padding: 10px 7px; font-size: 13px; letter-spacing: .02em; gap: 4px; }
  .nav-link .icon { width: 15px; height: 15px; }
  .nav-cta .btn { min-height: 44px; padding: 11px 14px; font-size: 13px; }
}
@media (min-width: 1024px) and (max-width: 1099px) {
  .brand img { height: 29px; }
}

/* Home hero */
.hero { position: relative; background: var(--white) url("../img/hero-lines.svg") no-repeat 70% 30% / cover; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner { display: grid; gap: 40px; align-items: center; padding-block: 48px 64px; }
.hero-copy { max-width: 640px; }
.hero-copy .lead { margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; font-size: 14px; color: var(--ink); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--orange); }
.hero-media { position: relative; margin: 0 auto; width: 100%; max-width: 520px; }
.hero-frame { position: relative; z-index: 1; border: 6px solid var(--orange); border-radius: var(--radius-lg); overflow: hidden; background: var(--grey); aspect-ratio: 703 / 771; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-arrow { display: none; position: absolute; left: -130px; bottom: 40px; width: 160px; color: var(--orange); }
.hero-badge { position: absolute; z-index: 2; right: -6px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-pop); font-size: 13.5px; line-height: 1.35; color: var(--ink); max-width: 230px; }
.hero-badge .mega-icon { width: 38px; height: 38px; }
.hero-badge strong { display: block; font-size: 14.5px; }
@media (min-width: 640px) { .hero-badge { right: -18px; } }
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; padding-block: 72px 96px; min-height: calc(100svh - var(--header-h)); max-height: 940px; }
  .hero-media { max-width: 500px; margin-right: 0; }
  .hero-arrow { display: block; }
}

/* Services tabs */
.svc { display: grid; gap: 32px; }
.svc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); align-self: start; }
.svc-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; aspect-ratio: 1 / .9; padding: 14px 10px; text-align: center; text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--slate); background: var(--white); border: 0; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); transition: background-color .25s var(--ease), color .25s var(--ease); }
.svc-tile .duo { width: 50px; height: 50px; }
.svc-tile:hover { background: var(--grey); color: var(--slate); }
.svc-tile[aria-selected="true"] { background: var(--orange); color: var(--white); }
.svc-tile[aria-selected="true"] .duo { filter: none; }
.svc-panel h3 { font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.svc-panel .lead { margin-bottom: 20px; }
.check-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; color: var(--ink); }
.check-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--orange); }
@media (min-width: 640px) { .check-list.cols-2 { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; }
.chips li { padding: 5px 11px; font-size: 13px; color: var(--slate); background: var(--grey-soft); border: 1px solid var(--line); border-radius: 999px; }
@media (min-width: 768px) { .svc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } .svc-panel h3 { font-size: 28px; } }
.fade-in { animation: fadeIn .45s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes fadeIn { from { opacity: .001; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Two-colour icons on orange or dark backgrounds */
.on-dark .duo .d, .svc-tile[aria-selected="true"] .duo .d { stroke: var(--white); }
.on-dark .duo .a[fill="none"], .svc-tile[aria-selected="true"] .duo .a[fill="none"] { stroke: var(--white); }
.on-dark .duo .a[stroke="none"], .on-dark .duo .a[stroke="none"] *, .svc-tile[aria-selected="true"] .duo .a[stroke="none"], .svc-tile[aria-selected="true"] .duo .a[stroke="none"] * { fill: var(--white); }
.on-dark .duo .w, .svc-tile[aria-selected="true"] .duo .w { stroke: var(--orange); }
.offer-card .mega-icon, .tile .mega-icon { width: 60px; height: 60px; background: #FFF1EC; }
.offer-card .mega-icon .duo { width: 34px; height: 34px; }

/* Link from hire pages to the pricing page */
.pricing-strip { display: grid; gap: 18px; align-items: center; padding: 26px 24px; background: #FFF1EC; border: 1px solid #FFD9CC; border-radius: var(--radius-md); }
.pricing-strip h2 { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.pricing-strip p { margin: 0; }
@media (min-width: 768px) { .pricing-strip { grid-template-columns: 1fr auto; padding: 28px 34px; } }

/* Stats band */
.stats { background: var(--slate); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-block: 44px; text-align: center; }
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(44px, 6vw, 64px); line-height: 1; color: var(--orange); }
.stat-label { font-size: 14px; color: #D5DADE; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Portfolio slider */
.work-slider { display: grid; gap: 36px; }
.slider-controls { display: flex; gap: 0; margin-top: 28px; }
.slider-btn { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--line-strong); background: var(--white); color: var(--muted); transition: background-color .2s, color .2s, border-color .2s; }
.slider-btn .icon { width: 20px; height: 20px; }
.slider-btn.next { background: var(--orange); border-color: var(--orange); color: var(--white); }
.slider-btn:hover { border-color: var(--orange); color: var(--orange); background: var(--white); }
.slider-btn.next:hover { background: var(--orange-hover); color: var(--white); }
.slider-btn:disabled { opacity: .4; cursor: default; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }
@media (min-width: 640px) { .slider-track { grid-auto-columns: calc(50% - 10px); } }
@media (min-width: 1024px) {
  .work-slider { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; }
  .slider-track { grid-auto-columns: calc(50% - 12px); gap: 24px; }
}
.all-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 8px; font-size: 13.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.all-link::before { content: ""; width: 40px; height: 2px; background: var(--muted); transition: width .2s, background-color .2s; }
.all-link:hover::before { width: 56px; background: var(--orange); }

.project-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .25s var(--ease), transform .25s var(--ease); height: 100%; }
.project-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); color: inherit; }
.project-cover { aspect-ratio: 16 / 10; background: var(--grey); overflow: hidden; }
.project-cover > .showcase { height: 100%; }
.project-card:hover .dev { transform: translateY(-1.2cqw); }
.project-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.project-meta { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); }
.project-body h3 { font-size: 19px; font-weight: 600; margin: 0; }
.project-body p { font-size: 14.5px; margin: 0; flex: 1; }
.project-body .link-arrow { margin-top: 6px; font-size: 14.5px; }

/* Process */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { background: var(--white); padding: 28px 24px; }
.step-num { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--orange); }
.step h3 { font-size: 18px; font-weight: 600; margin: 10px 0 8px; }
.step p { font-size: 14.5px; margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } .step { padding: 36px 30px; } }

/* Pricing cards */
.plans { display: grid; gap: 28px; align-items: stretch; }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } .plans-2 { grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; } }
.plan-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); overflow: hidden; }
.plan-card.is-highlighted { outline: 2px solid var(--orange); }
.plan-head { position: relative; padding: 26px 22px 24px; color: var(--white); background: var(--orange) url("../img/plan-pattern.svg") no-repeat right top / cover; }
.plan-icon { display: block; width: 40px; height: 40px; margin-bottom: 12px; }
.plan-icon .duo { width: 100%; height: 100%; }
.plan-head h3 { color: var(--white); font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.plan-head p { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .92); }
.plan-price { margin-top: 14px; font-family: var(--font-display); font-size: 34px; line-height: 1; }
.plan-price small { font-family: var(--font-body); font-size: 13px; opacity: .9; margin-left: 4px; }
.plan-badge { position: absolute; top: 16px; right: 16px; padding: 4px 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); background: var(--white); border-radius: 999px; }
.plan-features { list-style: none; margin: 0; padding: 22px; display: grid; gap: 12px; font-size: 15px; }
.plan-features li { position: relative; padding-left: 18px; color: var(--body); }
.plan-features li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--orange); }
.plan-form { display: grid; gap: 14px; margin-top: auto; padding: 18px 22px 22px; border-top: 1px solid var(--grey); }
.plan-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.plan-cta { margin-top: 6px; }

/* Forms */
.select, .input, .textarea { width: 100%; min-height: 46px; padding: 11px 14px; font-size: 15px; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.select { appearance: none; padding-right: 40px; background: var(--grey-soft) url("../img/chevron.svg") no-repeat right 12px center / 18px; }
.textarea { min-height: 130px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-tint-2); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 500; color: var(--ink); }
.field-error { font-size: 13px; color: var(--danger); }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-status { margin: 0; padding: 12px 14px; border-radius: var(--radius); font-size: 14.5px; }
.form-status.is-error { background: #FCEDEC; color: var(--danger); }
.form-status.is-success { background: #E8F5EE; color: var(--success); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.other-input { margin-top: 8px; animation: fadeIn .25s var(--ease); }
.plan-form .other-input { min-height: 42px; font-size: 14px; }

/* Joined field block (Boolmind style) */
.joined { display: grid; grid-template-columns: 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.joined .input, .joined .select, .joined .textarea { border: 0; border-radius: 0; border-bottom: 1px solid var(--grey); box-shadow: none; min-height: 54px; padding: 14px 16px; }
.joined .select { background-color: var(--white); }
.joined .textarea { min-height: 140px; border-bottom: 0; }
.joined .input:focus, .joined .select:focus, .joined .textarea:focus { box-shadow: inset 0 0 0 2px var(--orange); }
.joined .field-error { padding: 0 16px 8px; }
.joined .other-input { margin-top: 0; border-top: 1px dashed var(--line-strong); background: #FFFBF9; }
.joined .cell { display: grid; min-width: 0; }
@media (min-width: 640px) {
  .joined { grid-template-columns: 1fr 1fr; }
  .joined .cell:nth-child(odd):not(.span-2) .input, .joined .cell:nth-child(odd):not(.span-2) .select { border-right: 1px solid var(--grey); }
  .joined .span-2 { grid-column: 1 / -1; }
}
.form-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.form-row .btn { min-width: 190px; }
@media (max-width: 639px) { .form-row .btn { width: 100%; } }

/* Question band */
.question .container { max-width: 1180px; }

/* Testimonials */
.reviews { display: grid; gap: 36px; }
@media (min-width: 1024px) { .reviews { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; } }
.review-card { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.review-stars { display: flex; gap: 2px; color: var(--orange); }
.review-stars .icon { width: 16px; height: 16px; fill: currentColor; }
.review-card blockquote { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.65; flex: 1; }
.review-person { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-text); font-weight: 600; font-size: 16px; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-person strong { display: block; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; }
.review-person span { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 16.5px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: url("../img/plus.svg") no-repeat center / 22px; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 75ch; }

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--grey-soft) url("../img/hero-lines.svg") no-repeat 80% 20% / cover; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero-inner { display: grid; gap: 40px; align-items: center; padding-block: 48px 56px; }
.page-hero .lead { margin-bottom: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 13.5px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-text); }
@media (min-width: 1024px) { .page-hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); padding-block: 80px 88px; } .page-hero-inner.single { grid-template-columns: minmax(0, 1fr); } }

.visual { position: relative; display: grid; place-items: center; width: 100%; max-width: 420px; aspect-ratio: 1; margin: 0 auto; }
.visual-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed var(--line-strong); }
.visual-ring.inner { inset: 22%; border: 0; background: var(--orange-tint); }
.visual-core { position: relative; display: grid; place-items: center; width: 38%; aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--orange); color: var(--white); box-shadow: var(--shadow-pop); transform: rotate(-6deg); }
.visual-core .duo { width: 56%; height: auto; transform: rotate(6deg); }
.visual-chip { position: absolute; padding: 7px 13px; font-size: 13px; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-card); white-space: nowrap; }
.visual-chip.c1 { top: 8%; left: 6%; }
.visual-chip.c2 { top: 18%; right: 0; }
.visual-chip.c3 { bottom: 20%; left: 0; }
.visual-chip.c4 { bottom: 6%; right: 8%; }
.visual-chip.c5 { top: 50%; right: -2%; }
@media (max-width: 1023px) { .visual { max-width: 340px; } }

/* Quote band */
.quote-band { background: var(--slate); padding-block: 44px; }
.quote-band p { margin: 0; text-align: center; font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 50px); line-height: 1.05; color: var(--white); text-wrap: balance; }
.quote-band span { color: var(--orange); }

/* Feature grid */
.feature-grid { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background-color .25s; }
.feature:hover { background: var(--grey-soft); }
.feature-bar { display: block; width: 32px; height: 3px; margin-bottom: 18px; background: var(--orange); transition: width .3s var(--ease); }
.feature:hover .feature-bar { width: 56px; }
.feature h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 15px; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feature { padding: 36px 34px; } }
@media (min-width: 1280px) { .feature-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Split block */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } .split.reverse > :first-child { order: 2; } }
.panel { padding: 30px 26px; background: var(--grey-soft); border: 1px solid var(--line); border-radius: var(--radius-md); }
.panel h3 { font-size: 18px; font-weight: 600; }

/* Contact split */
.contact-split { display: grid; }
.contact-split > div { padding-block: var(--section-y); }
.contact-split .known { padding-right: 0; }
.contact-split .ask { background: var(--grey); margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 1024px) {
  .contact-split { grid-template-columns: 1fr 1fr; }
  .contact-split .known { padding-right: 56px; }
  .contact-split .ask { margin: 0 calc(var(--gutter) * -1) 0 0; padding-left: 56px; }
}
.person { display: flex; align-items: center; gap: 18px; margin: 8px 0 26px; }
.person .avatar { width: 84px; height: 84px; font-size: 28px; }
.tag { display: inline-block; padding: 3px 10px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); background: var(--grey); border-radius: var(--radius-sm); }
.person strong { display: block; color: var(--ink); font-size: 18px; font-weight: 600; margin-top: 6px; }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); overflow-wrap: anywhere; }
.contact-lines .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--orange); }
.contact-lines a { color: var(--ink); text-decoration: none; }
.contact-lines a:hover { color: var(--orange-text); }

/* Contact cards */
.cards-4 { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.info-card { display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow-wrap: anywhere; }
.info-card .mega-icon { margin-bottom: 10px; }
.info-card h3 { font-size: 16px; font-weight: 600; margin: 0; }
.info-card p, .info-card a { margin: 0; font-size: 15px; }

/* Values / benefits */
.tiles-3 { display: grid; gap: 20px; }
@media (min-width: 640px) { .tiles-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.tile .mega-icon { margin-bottom: 16px; }
.tile h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.tile p { margin: 0; font-size: 15px; }

/* Offerings index */
.offer-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.offer-card { display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.offer-card:hover { border-color: var(--orange); box-shadow: var(--shadow-card); transform: translateY(-3px); color: inherit; }
.offer-card h2, .offer-card h3 { font-size: 20px; font-weight: 600; margin: 8px 0 0; }
.offer-card p { margin: 0; flex: 1; }

/* Portfolio page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter { padding: 9px 16px; font-size: 14px; font-weight: 500; color: var(--slate); background: var(--white); border: 1px solid var(--line-strong); border-radius: 999px; transition: all .2s; }
.filter:hover { border-color: var(--orange); color: var(--orange-text); }
.filter[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--white); }
.project-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Project detail */
.case-cover { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--grey); }
.case-meta { display: grid; gap: 18px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.case-meta dt { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case-meta dd { margin: 4px 0 0; color: var(--ink); }
.case-body { display: grid; gap: 40px; }
@media (min-width: 1024px) { .case-body { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; align-items: start; } .case-meta { position: sticky; top: calc(var(--header-h) + 24px); } }
.case-body h2 { font-size: 24px; font-weight: 600; margin-top: 0; }

/* Careers */
.job-list { display: grid; gap: 16px; }
.job-card { display: grid; gap: 14px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.job-card h3 { font-size: 19px; font-weight: 600; margin: 0; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); list-style: none; padding: 0; margin: 0; }
@media (min-width: 768px) { .job-card { grid-template-columns: 1fr auto; align-items: center; } }
.empty { padding: 36px 28px; text-align: center; background: var(--grey-soft); border: 1px dashed var(--line-strong); border-radius: var(--radius-md); }
.empty h3 { font-size: 19px; }
.file-input { display: block; width: 100%; padding: 12px; font-size: 14px; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.file-input::file-selector-button { margin-right: 12px; padding: 8px 14px; font: inherit; font-size: 13.5px; color: var(--white); background: var(--slate); border: 0; border-radius: var(--radius); cursor: pointer; }

/* About */
.about-photo { border-radius: var(--radius-lg); overflow: hidden; border: 6px solid var(--orange); aspect-ratio: 4 / 3; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* CTA band */
.cta-band { background: var(--orange) url("../img/plan-pattern.svg") no-repeat right center / cover; color: var(--white); }
.cta-inner { display: grid; gap: 24px; align-items: center; padding-block: 52px; }
.cta-inner h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.6vw, 58px); line-height: 1; color: var(--white); margin: 0; }
.cta-inner p { margin: 10px 0 0; color: rgba(255, 255, 255, .92); }
@media (min-width: 1024px) { .cta-inner { grid-template-columns: 1fr auto; } }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-top { display: grid; gap: 44px; padding-block: 64px 48px; }
.footer-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(46px, 6vw, 80px); line-height: .95; color: var(--ink); margin: 0; }
.footer-contact p { margin: 0 0 6px; font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.footer-col h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-col a { display: inline-block; padding: 4px 0; font-size: 15px; color: var(--body); text-decoration: none; }
.footer-col a:hover { color: var(--orange-text); }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } }
.footer-mid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 24px 32px; padding-block: 32px; border-top: 1px solid var(--line); }
.footer-mid h3, .footer-social h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.footer-mid p { margin: 0; font-size: 14.5px; }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-block: 24px 28px; border-top: 1px solid var(--line); }
.footer-social h3 { margin: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.socials a { --brand: var(--slate); display: inline-flex; border-radius: 50%; text-decoration: none; transition: transform .2s var(--ease), opacity .2s; }
.socials a:hover { transform: translateY(-2px); opacity: .85; }
.socials .s-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--white); background: var(--brand); flex: none; }
.socials .icon { width: 15px; height: 15px; }
.socials .s-whatsapp { --brand: #1FAF55; } .socials .s-whatsapp .icon { width: 16px; height: 16px; }
.socials .s-linkedin { --brand: #0A66C2; }
.socials .s-facebook { --brand: #1877F2; }
.socials .s-instagram { --brand: #D62976; }
.socials .s-x, .socials .s-tiktok, .socials .s-github { --brand: #191F24; }
.socials .s-youtube { --brand: #E00000; }
.socials .s-behance { --brand: #1769FF; }
.socials .s-dribbble { --brand: #E2457F; }
.footer-social { gap: 12px 18px; }
.socials { gap: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 96px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-bottom a, .footer-bottom button { color: var(--muted); background: none; border: 0; padding: 0; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--orange-text); }
@media (min-width: 768px) { .footer-bottom { padding-bottom: 112px; } }
@media (min-width: 1280px) { .footer-bottom { padding-right: 300px; padding-bottom: 36px; } }

/* Floating buttons */
.fab { position: fixed; z-index: 40; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; color: var(--white); background: var(--orange); box-shadow: var(--shadow-pop); transition: transform .25s var(--ease), opacity .25s, background-color .2s; }
.fab:hover { background: var(--orange-hover); }
.fab .icon { width: 24px; height: 24px; }
.fab-cookie { left: 20px; }
@media (max-width: 1023px) { .fab-cookie { display: none; } }
.fab-top { right: 20px; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }
.fab-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 1024px) { .fab { bottom: 40px; width: 54px; height: 54px; } .fab-cookie { left: 40px; } .fab-top { right: 40px; } }

/* Cookie banner */
.cookie { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-height: calc(100svh - 24px); overflow-y: auto; padding: 22px 20px; background: var(--white); border-radius: var(--radius-md); box-shadow: 0 10px 40px rgba(0, 0, 0, .22); }
@media (min-width: 640px) { .cookie { left: 24px; right: auto; bottom: 24px; width: 400px; } }
.cookie h2 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1; color: var(--slate); margin: 0 0 8px; }
.cookie p { font-size: 14px; margin: 0 0 14px; }
.cookie-opts { display: grid; gap: 0; margin: 0 0 16px; border-top: 1px solid var(--line); }
.cookie-opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cookie-opt strong { display: block; color: var(--ink); font-weight: 600; }
.cookie-opt span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.switch { position: relative; flex: none; width: 44px; height: 24px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--line-strong); transition: background-color .2s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform .2s var(--ease); }
.switch input:checked + i { background: var(--orange); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:disabled + i { opacity: .55; }
.switch input:focus-visible + i { outline: 3px solid var(--orange); outline-offset: 2px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .btn { min-height: 44px; padding: 10px 12px; font-size: 13px; }
.cookie-actions .btn:last-child { grid-column: 1 / -1; }
.cookie-opts:not([hidden]) { margin-top: 4px; }

/* Modal */
.modal { width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: var(--radius-md); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); color: var(--body); overflow: auto; }
.modal::backdrop { background: rgba(25, 31, 36, .6); }
.modal[open] { animation: fadeIn .3s var(--ease); }
.modal-head { position: relative; padding: 28px 26px 0; }
.modal-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 6vw, 44px); line-height: 1; color: var(--slate); margin: 0; padding-right: 40px; }
.modal-head .bar { margin: 14px 0 12px; }
.modal-head p { margin: 0; font-size: 15px; }
.modal-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--grey-soft); color: var(--ink); }
.modal-close:hover { background: var(--grey); }
.modal-close .icon { width: 20px; height: 20px; }
.modal-body { padding: 22px 26px 28px; }
.modal-summary { margin: 0 0 16px; padding: 12px 14px; font-size: 14px; color: var(--ink); background: var(--orange-tint); border-left: 3px solid var(--orange); }

/* Flash and toast */
.flash { padding: 14px 0; font-size: 15px; }
.flash.is-success { background: #E8F5EE; color: var(--success); }
.flash.is-error { background: #FCEDEC; color: var(--danger); }
.toast { position: fixed; z-index: 70; left: 50%; top: calc(var(--header-h) + 14px); max-width: calc(100vw - 32px); padding: 14px 18px; font-size: 15px; color: var(--white); background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-pop); transform: translate(-50%, -10px); opacity: 0; transition: opacity .25s, transform .25s var(--ease); pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-success { background: var(--success); }
.toast.is-error { background: var(--danger); }

/* Error page */
.error-page { text-align: center; padding-block: 96px; }
.error-page .lead { margin-left: auto; margin-right: auto; }
.error-code { font-family: var(--font-display); font-size: clamp(110px, 20vw, 200px); line-height: .9; color: var(--orange); }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .fab, .cookie, .modal { display: none !important; }
}

/* Offices */
.offices { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.office-card { display: flex; flex-direction: column; gap: 16px; padding: 24px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow-wrap: anywhere; transition: border-color .2s, box-shadow .2s; }
.office-card:hover { border-color: #FFD0C2; box-shadow: var(--shadow-card); }
.office-head { display: flex; align-items: center; gap: 14px; }
.office-head h3 { margin: 0; font-size: 18px; font-weight: 600; }
.office-city { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.office-head .office-tag { margin-left: auto; }
.office-tag { display: inline-block; padding: 2px 9px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-text); background: #FFF1EC; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.office-card .contact-lines { gap: 10px; font-size: 15px; }
.office-card .link-arrow { margin-top: auto; }
.footer-mid .office h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-mid .office p { margin: 0 0 2px; }
.footer-mid .office a { color: var(--body); text-decoration: none; }

/* Blog */
.post-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.post-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); color: inherit; }
.post-cover { aspect-ratio: 1200 / 630; background: var(--grey); overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover-art { display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 22px; background: var(--slate) url("../img/hero-lines.svg") no-repeat 70% 30% / 160%; }
.post-cover-art span { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: .02em; color: var(--white); border-left: 4px solid var(--orange); padding-left: 12px; }
.post-cover-art.tone-2 { background-color: var(--ink); }
.post-cover-art.tone-3 { background-color: #4A2A20; }
.post-cover-art.tone-4 { background-color: #22313B; }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.post-body h3 { font-size: 19px; font-weight: 600; line-height: 1.35; margin: 0; }
.post-body p { font-size: 14.5px; margin: 0; flex: 1; }
.post-body .link-arrow { margin-top: 6px; font-size: 14.5px; }
.filters a.filter { text-decoration: none; }
.filter[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: var(--white); }
.post-head { padding-block: 44px 48px; max-width: 900px; }
.post-head .display-1 { font-size: clamp(36px, 5.4vw, 60px); }
.post-head .project-meta a { color: inherit; text-decoration: none; }
.post-byline { margin: 0; font-size: 14.5px; color: var(--muted); }
.post-byline strong { color: var(--ink); font-weight: 600; }
.post-layout { display: grid; gap: 40px; padding-block: 40px var(--section-y); }
@media (min-width: 1024px) { .post-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.post-cover-lg { border-radius: var(--radius-md); margin-bottom: 32px; }
.post-prose { font-size: 17px; line-height: 1.75; color: var(--slate); }
.post-prose h2 { font-size: 26px; line-height: 1.3; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.post-prose h3 { font-size: 20px; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.post-prose a { color: var(--orange-text); }
.post-prose strong { color: var(--ink); }
.post-prose ul, .post-prose ol { padding-left: 1.3em; }
.post-prose blockquote { margin: 1.5em 0; padding: 14px 20px; background: var(--grey-soft); border-left: 4px solid var(--orange); }
.post-prose blockquote p { margin: 0; }
.post-prose img { border-radius: var(--radius-md); margin: 1em 0; }
.post-prose code { padding: 2px 6px; font-size: .9em; background: var(--grey-soft); border-radius: var(--radius); }
.post-prose pre { overflow-x: auto; padding: 16px; background: var(--ink); color: #E8EAEC; border-radius: var(--radius-md); }
.post-prose pre code { padding: 0; background: none; color: inherit; }
.post-side { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1024px) { .post-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.toc, .side-cta { padding: 20px; background: var(--grey-soft); border: 1px solid var(--line); border-radius: var(--radius-md); }
.toc-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 14.5px; }
.toc a { color: var(--slate); text-decoration: none; }
.toc a:hover { color: var(--orange-text); }
.side-cta p { font-size: 14.5px; }
.side-cta { background: var(--white); border-top: 4px solid var(--orange); }
.post-cover-lg:has(.post-cover-art) { aspect-ratio: 3 / 1; }

/* Document verification */
.verify-wrap { max-width: 640px; }
.verify-wrap .display-2 { margin: 6px 0 20px; }
.verify-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.verify-badge .icon { width: 18px; height: 18px; }
.verify-badge.is-ok { background: #E8F5EE; color: var(--success); }
.verify-badge.is-warn { background: #FDECEA; color: var(--danger); }
.verify-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 22px; margin: 0 0 22px; padding: 20px; background: var(--grey-soft); border-radius: var(--radius-md); }
.verify-dl dt { color: var(--muted); }
.verify-dl dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }

/* Project showcase: screenshots inside device frames, styled like the sample artwork */
.showcase { position: relative; container-type: inline-size; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #FFE3DA; isolation: isolate; }
.th-peach { background: #FFE3DA; } .th-mint { background: #E3F0E6; } .th-sky { background: #DDE7EE; } .th-blush { background: #F7E1E6; }
.th-sand { background: #FFF0D6; } .th-linen { background: #F1E7DF; } .th-lilac { background: #ECE6F5; } .th-grey { background: #EBECED; }
.th-dark { background: #333F48; } .th-photo { background: var(--slate); }
/* Soft white circle top right, faint orange circle bottom left, orange diamond */
.showcase::before, .showcase::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.showcase::before { width: 40cqw; height: 40cqw; right: -7.5cqw; top: -12.5cqw; background: rgba(255, 255, 255, .35); }
.showcase::after { width: 30cqw; height: 30cqw; left: -3.75cqw; bottom: -11.25cqw; background: rgba(255, 91, 53, .10); }
.th-dark::before { background: rgba(255, 255, 255, .07); }
.th-photo::before { background: rgba(255, 255, 255, .12); }
.sc-gem { position: absolute; z-index: 0; left: 76.25%; top: 75.6%; width: 5.5cqw; height: 5.5cqw; border-radius: 1.25cqw; background: rgba(255, 91, 53, .85); transform: rotate(45deg); pointer-events: none; }
.sc-none .sc-gem { display: none; }
.sc-bg { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(26px) saturate(1.25); opacity: .7; transform: scale(1.05); z-index: -2; }
.sc-none > img { width: 100%; height: 100%; object-fit: cover; }
.dev { position: relative; z-index: 1; transition: transform .45s var(--ease); }
.dev-screen { position: relative; overflow: hidden; background: #F6F7F8; }
.dev-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* Browser and desktop app: thick near-black frame, white top bar with three dots */
.dev-window { padding: 1cqw; background: #191F24; border-radius: 1.75cqw; box-shadow: 0 2.25cqw 4.5cqw rgba(25, 31, 36, .22); }
.dev-window .dev-inner { overflow: hidden; border-radius: 1cqw; background: #F6F7F8; }
.dev-bar { display: flex; align-items: center; gap: 1cqw; height: 3.5cqw; padding: 0 1.6cqw; background: #FFFFFF; }
.dev-bar i { width: 1.25cqw; height: 1.25cqw; border-radius: 50%; background: #FF8A70; flex: none; }
.dev-bar i:nth-child(2) { background: #FFC66B; }
.dev-bar i:nth-child(3) { background: #7BD3A0; }
.dev-url, .dev-title { flex: 1; display: flex; align-items: center; justify-content: center; gap: .6cqw; min-width: 0; font-size: max(8px, 1.4cqw); line-height: 1; color: #5F666B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-url { max-width: 30cqw; margin: 0 auto; padding: .55cqw 1.6cqw; background: #F1F2F3; border-radius: 99px; }
.dev-url .icon { width: max(7px, 1.2cqw); height: max(7px, 1.2cqw); flex: none; color: #8A9196; }
.dev-title { margin-right: 6cqw; font-weight: 600; color: #333F48; }
/* Laptop */
.dev-laptop { filter: drop-shadow(0 2.25cqw 2.25cqw rgba(25, 31, 36, .22)); }
.dev-lid { padding: 1.1cqw 1.1cqw 1.6cqw; background: #191F24; border-radius: 1.75cqw 1.75cqw .4cqw .4cqw; }
.dev-lid .dev-screen { border-radius: .6cqw; }
.dev-base { position: relative; width: 118%; margin-left: -9%; height: 1.9cqw; background: linear-gradient(#E9ECEE, #B9C0C5); border-radius: 0 0 2cqw 2cqw; }
.dev-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: .7cqw; transform: translateX(-50%); background: #A3AAB0; border-radius: 0 0 1cqw 1cqw; }
/* Tablet */
.dev-tablet { padding: 1.4cqw; background: #191F24; border-radius: 2.6cqw; box-shadow: 0 2.25cqw 4.5cqw rgba(25, 31, 36, .22); }
.dev-tablet .dev-screen { border-radius: 1cqw; }
/* Phone: thick frame and a notch pill, like the samples */
.dev-phone { padding: 1.1cqw; background: #191F24; border-radius: 3.75cqw; box-shadow: 0 2.25cqw 4.5cqw rgba(25, 31, 36, .22); }
.dev-phone .dev-screen { border-radius: 2.75cqw; background: #FFFFFF; }
.dev-phone.is-landscape .dev-notch { display: none; }
.dev-notch { position: absolute; z-index: 2; top: 2.25cqw; left: 50%; width: 30%; max-width: 7.5cqw; height: 1.25cqw; transform: translateX(-50%); background: #191F24; border-radius: 99px; }
/* Laptop with a phone in front */
.sc-combo .dev-laptop { margin-right: 15cqw; }
.dev-phone-front { position: absolute; right: 9%; bottom: 7%; padding: .8cqw; border-radius: 3cqw; }
.dev-phone-front .dev-screen { border-radius: 2.3cqw; }
.dev-phone-front .dev-notch { top: 1.6cqw; height: 1cqw; }
.case-cover .showcase { border-radius: var(--radius-lg); }
/* Fitted device sizes for every image shape (generated: screen keeps the image's own proportions) */
.r-35 .dev-screen { aspect-ratio: 0.35; }
.r-35 .dev-window { width: 16.7cqw; } .r-35 .dev-laptop { width: 16.2cqw; } .r-35 .dev-tablet { width: 18.2cqw; } .r-35 .dev-phone { width: 19.87cqw; } .sc-combo.r-35 .dev-laptop { width: 14.8cqw; }
.showcase .dev-phone.pr-35 { width: 15.04cqw; } .dev-phone.pr-35 .dev-screen { aspect-ratio: 0.35; }
.r-40 .dev-screen { aspect-ratio: 0.4; }
.r-40 .dev-window { width: 18.8cqw; } .r-40 .dev-laptop { width: 18.2cqw; } .r-40 .dev-tablet { width: 20.4cqw; } .r-40 .dev-phone { width: 22.4cqw; } .sc-combo.r-40 .dev-laptop { width: 16.6cqw; }
.showcase .dev-phone.pr-40 { width: 16.96cqw; } .dev-phone.pr-40 .dev-screen { aspect-ratio: 0.4; }
.r-45 .dev-screen { aspect-ratio: 0.45; }
.r-45 .dev-window { width: 20.9cqw; } .r-45 .dev-laptop { width: 20.2cqw; } .r-45 .dev-tablet { width: 22.6cqw; } .r-45 .dev-phone { width: 24.93cqw; } .sc-combo.r-45 .dev-laptop { width: 18.4cqw; }
.showcase .dev-phone.pr-45 { width: 18.88cqw; } .dev-phone.pr-45 .dev-screen { aspect-ratio: 0.45; }
.r-50 .dev-screen { aspect-ratio: 0.5; }
.r-50 .dev-window { width: 23cqw; } .r-50 .dev-laptop { width: 22.2cqw; } .r-50 .dev-tablet { width: 24.8cqw; } .r-50 .dev-phone { width: 27.45cqw; } .sc-combo.r-50 .dev-laptop { width: 20.2cqw; }
.showcase .dev-phone.pr-50 { width: 19.6cqw; } .dev-phone.pr-50 .dev-screen { aspect-ratio: 0.5; }
.r-55 .dev-screen { aspect-ratio: 0.55; }
.r-55 .dev-window { width: 25.1cqw; } .r-55 .dev-laptop { width: 24.2cqw; } .r-55 .dev-tablet { width: 27cqw; } .r-55 .dev-phone { width: 29.98cqw; } .sc-combo.r-55 .dev-laptop { width: 22cqw; }
.showcase .dev-phone.pr-55 { width: 19.6cqw; } .dev-phone.pr-55 .dev-screen { aspect-ratio: 0.55; }
.r-60 .dev-screen { aspect-ratio: 0.6; }
.r-60 .dev-window { width: 27.2cqw; } .r-60 .dev-laptop { width: 26.2cqw; } .r-60 .dev-tablet { width: 29.2cqw; } .r-60 .dev-phone { width: 32.5cqw; } .sc-combo.r-60 .dev-laptop { width: 23.8cqw; }
.showcase .dev-phone.pr-60 { width: 19.6cqw; } .dev-phone.pr-60 .dev-screen { aspect-ratio: 0.6; }
.r-65 .dev-screen { aspect-ratio: 0.65; }
.r-65 .dev-window { width: 29.3cqw; } .r-65 .dev-laptop { width: 28.2cqw; } .r-65 .dev-tablet { width: 31.4cqw; } .r-65 .dev-phone { width: 35.03cqw; } .sc-combo.r-65 .dev-laptop { width: 25.6cqw; }
.showcase .dev-phone.pr-65 { width: 19.6cqw; } .dev-phone.pr-65 .dev-screen { aspect-ratio: 0.65; }
.r-70 .dev-screen { aspect-ratio: 0.7; }
.r-70 .dev-window { width: 31.4cqw; } .r-70 .dev-laptop { width: 30.2cqw; } .r-70 .dev-tablet { width: 33.6cqw; } .r-70 .dev-phone { width: 37.55cqw; } .sc-combo.r-70 .dev-laptop { width: 27.4cqw; }
.showcase .dev-phone.pr-70 { width: 19.6cqw; } .dev-phone.pr-70 .dev-screen { aspect-ratio: 0.7; }
.r-75 .dev-screen { aspect-ratio: 0.75; }
.r-75 .dev-window { width: 33.5cqw; } .r-75 .dev-laptop { width: 32.2cqw; } .r-75 .dev-tablet { width: 35.8cqw; } .r-75 .dev-phone { width: 40.08cqw; } .sc-combo.r-75 .dev-laptop { width: 29.2cqw; }
.showcase .dev-phone.pr-75 { width: 19.6cqw; } .dev-phone.pr-75 .dev-screen { aspect-ratio: 0.75; }
.r-80 .dev-screen { aspect-ratio: 0.8; }
.r-80 .dev-window { width: 35.6cqw; } .r-80 .dev-laptop { width: 34.2cqw; } .r-80 .dev-tablet { width: 38cqw; } .r-80 .dev-phone { width: 42.6cqw; } .sc-combo.r-80 .dev-laptop { width: 31cqw; }
.showcase .dev-phone.pr-80 { width: 19.6cqw; } .dev-phone.pr-80 .dev-screen { aspect-ratio: 0.8; }
.r-85 .dev-screen { aspect-ratio: 0.85; }
.r-85 .dev-window { width: 37.7cqw; } .r-85 .dev-laptop { width: 36.2cqw; } .r-85 .dev-tablet { width: 40.2cqw; } .r-85 .dev-phone { width: 45.12cqw; } .sc-combo.r-85 .dev-laptop { width: 32.8cqw; }
.showcase .dev-phone.pr-85 { width: 19.6cqw; } .dev-phone.pr-85 .dev-screen { aspect-ratio: 0.85; }
.r-90 .dev-screen { aspect-ratio: 0.9; }
.r-90 .dev-window { width: 39.8cqw; } .r-90 .dev-laptop { width: 38.2cqw; } .r-90 .dev-tablet { width: 42.4cqw; } .r-90 .dev-phone { width: 47.65cqw; } .sc-combo.r-90 .dev-laptop { width: 34.6cqw; }
.showcase .dev-phone.pr-90 { width: 19.6cqw; } .dev-phone.pr-90 .dev-screen { aspect-ratio: 0.9; }
.r-95 .dev-screen { aspect-ratio: 0.95; }
.r-95 .dev-window { width: 41.9cqw; } .r-95 .dev-laptop { width: 40.2cqw; } .r-95 .dev-tablet { width: 44.6cqw; } .r-95 .dev-phone { width: 50.17cqw; } .sc-combo.r-95 .dev-laptop { width: 36.4cqw; }
.showcase .dev-phone.pr-95 { width: 19.6cqw; } .dev-phone.pr-95 .dev-screen { aspect-ratio: 0.95; }
.r-100 .dev-screen { aspect-ratio: 1; }
.r-100 .dev-window { width: 44cqw; } .r-100 .dev-laptop { width: 42.2cqw; } .r-100 .dev-tablet { width: 46.8cqw; } .r-100 .dev-phone { width: 52.7cqw; } .sc-combo.r-100 .dev-laptop { width: 38.2cqw; }
.showcase .dev-phone.pr-100 { width: 19.6cqw; } .dev-phone.pr-100 .dev-screen { aspect-ratio: 1; }
.r-105 .dev-screen { aspect-ratio: 1.05; }
.r-105 .dev-window { width: 46.1cqw; } .r-105 .dev-laptop { width: 44.2cqw; } .r-105 .dev-tablet { width: 49cqw; } .r-105 .dev-phone { width: 54.2cqw; } .sc-combo.r-105 .dev-laptop { width: 40cqw; }
.showcase .dev-phone.pr-105 { width: 19.6cqw; } .dev-phone.pr-105 .dev-screen { aspect-ratio: 1.05; }
.r-110 .dev-screen { aspect-ratio: 1.1; }
.r-110 .dev-window { width: 48.2cqw; } .r-110 .dev-laptop { width: 46.2cqw; } .r-110 .dev-tablet { width: 51.2cqw; } .r-110 .dev-phone { width: 54.2cqw; } .sc-combo.r-110 .dev-laptop { width: 41.8cqw; }
.showcase .dev-phone.pr-110 { width: 19.6cqw; } .dev-phone.pr-110 .dev-screen { aspect-ratio: 1.1; }
.r-115 .dev-screen { aspect-ratio: 1.15; }
.r-115 .dev-window { width: 50.3cqw; } .r-115 .dev-laptop { width: 48.2cqw; } .r-115 .dev-tablet { width: 53.4cqw; } .r-115 .dev-phone { width: 54.2cqw; } .sc-combo.r-115 .dev-laptop { width: 43.6cqw; }
.showcase .dev-phone.pr-115 { width: 19.6cqw; } .dev-phone.pr-115 .dev-screen { aspect-ratio: 1.15; }
.r-120 .dev-screen { aspect-ratio: 1.2; }
.r-120 .dev-window { width: 52.4cqw; } .r-120 .dev-laptop { width: 50.2cqw; } .r-120 .dev-tablet { width: 55.6cqw; } .r-120 .dev-phone { width: 54.2cqw; } .sc-combo.r-120 .dev-laptop { width: 45.4cqw; }
.showcase .dev-phone.pr-120 { width: 19.6cqw; } .dev-phone.pr-120 .dev-screen { aspect-ratio: 1.2; }
.r-125 .dev-screen { aspect-ratio: 1.25; }
.r-125 .dev-window { width: 54.5cqw; } .r-125 .dev-laptop { width: 52.2cqw; } .r-125 .dev-tablet { width: 57.8cqw; } .r-125 .dev-phone { width: 54.2cqw; } .sc-combo.r-125 .dev-laptop { width: 47.2cqw; }
.showcase .dev-phone.pr-125 { width: 19.6cqw; } .dev-phone.pr-125 .dev-screen { aspect-ratio: 1.25; }
.r-130 .dev-screen { aspect-ratio: 1.3; }
.r-130 .dev-window { width: 56.6cqw; } .r-130 .dev-laptop { width: 54.2cqw; } .r-130 .dev-tablet { width: 60cqw; } .r-130 .dev-phone { width: 54.2cqw; } .sc-combo.r-130 .dev-laptop { width: 49cqw; }
.showcase .dev-phone.pr-130 { width: 19.6cqw; } .dev-phone.pr-130 .dev-screen { aspect-ratio: 1.3; }
.r-135 .dev-screen { aspect-ratio: 1.35; }
.r-135 .dev-window { width: 58.7cqw; } .r-135 .dev-laptop { width: 56.2cqw; } .r-135 .dev-tablet { width: 62.2cqw; } .r-135 .dev-phone { width: 54.2cqw; } .sc-combo.r-135 .dev-laptop { width: 50.8cqw; }
.showcase .dev-phone.pr-135 { width: 19.6cqw; } .dev-phone.pr-135 .dev-screen { aspect-ratio: 1.35; }
.r-140 .dev-screen { aspect-ratio: 1.4; }
.r-140 .dev-window { width: 60.8cqw; } .r-140 .dev-laptop { width: 58.2cqw; } .r-140 .dev-tablet { width: 64.4cqw; } .r-140 .dev-phone { width: 54.2cqw; } .sc-combo.r-140 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-140 { width: 19.6cqw; } .dev-phone.pr-140 .dev-screen { aspect-ratio: 1.4; }
.r-145 .dev-screen { aspect-ratio: 1.45; }
.r-145 .dev-window { width: 62.9cqw; } .r-145 .dev-laptop { width: 60.2cqw; } .r-145 .dev-tablet { width: 66.6cqw; } .r-145 .dev-phone { width: 54.2cqw; } .sc-combo.r-145 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-145 { width: 19.6cqw; } .dev-phone.pr-145 .dev-screen { aspect-ratio: 1.45; }
.r-150 .dev-screen { aspect-ratio: 1.5; }
.r-150 .dev-window { width: 65cqw; } .r-150 .dev-laptop { width: 62.2cqw; } .r-150 .dev-tablet { width: 68.8cqw; } .r-150 .dev-phone { width: 54.2cqw; } .sc-combo.r-150 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-150 { width: 19.6cqw; } .dev-phone.pr-150 .dev-screen { aspect-ratio: 1.5; }
.r-155 .dev-screen { aspect-ratio: 1.55; }
.r-155 .dev-window { width: 67.1cqw; } .r-155 .dev-laptop { width: 64.2cqw; } .r-155 .dev-tablet { width: 68.8cqw; } .r-155 .dev-phone { width: 54.2cqw; } .sc-combo.r-155 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-155 { width: 19.6cqw; } .dev-phone.pr-155 .dev-screen { aspect-ratio: 1.55; }
.r-160 .dev-screen { aspect-ratio: 1.6; }
.r-160 .dev-window { width: 69.2cqw; } .r-160 .dev-laptop { width: 66.2cqw; } .r-160 .dev-tablet { width: 68.8cqw; } .r-160 .dev-phone { width: 54.2cqw; } .sc-combo.r-160 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-160 { width: 19.6cqw; } .dev-phone.pr-160 .dev-screen { aspect-ratio: 1.6; }
.r-165 .dev-screen { aspect-ratio: 1.65; }
.r-165 .dev-window { width: 71.3cqw; } .r-165 .dev-laptop { width: 68.2cqw; } .r-165 .dev-tablet { width: 68.8cqw; } .r-165 .dev-phone { width: 54.2cqw; } .sc-combo.r-165 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-165 { width: 19.6cqw; } .dev-phone.pr-165 .dev-screen { aspect-ratio: 1.65; }
.r-170 .dev-screen { aspect-ratio: 1.7; }
.r-170 .dev-window { width: 72.5cqw; } .r-170 .dev-laptop { width: 68.2cqw; } .r-170 .dev-tablet { width: 68.8cqw; } .r-170 .dev-phone { width: 54.2cqw; } .sc-combo.r-170 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-170 { width: 19.6cqw; } .dev-phone.pr-170 .dev-screen { aspect-ratio: 1.7; }
.r-175 .dev-screen { aspect-ratio: 1.75; }
.r-175 .dev-window { width: 72.5cqw; } .r-175 .dev-laptop { width: 68.2cqw; } .r-175 .dev-tablet { width: 68.8cqw; } .r-175 .dev-phone { width: 54.2cqw; } .sc-combo.r-175 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-175 { width: 19.6cqw; } .dev-phone.pr-175 .dev-screen { aspect-ratio: 1.75; }
.r-180 .dev-screen { aspect-ratio: 1.8; }
.r-180 .dev-window { width: 72.5cqw; } .r-180 .dev-laptop { width: 68.2cqw; } .r-180 .dev-tablet { width: 68.8cqw; } .r-180 .dev-phone { width: 54.2cqw; } .sc-combo.r-180 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-180 { width: 19.6cqw; } .dev-phone.pr-180 .dev-screen { aspect-ratio: 1.8; }
.r-185 .dev-screen { aspect-ratio: 1.85; }
.r-185 .dev-window { width: 72.5cqw; } .r-185 .dev-laptop { width: 68.2cqw; } .r-185 .dev-tablet { width: 68.8cqw; } .r-185 .dev-phone { width: 54.2cqw; } .sc-combo.r-185 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-185 { width: 19.6cqw; } .dev-phone.pr-185 .dev-screen { aspect-ratio: 1.85; }
.r-190 .dev-screen { aspect-ratio: 1.9; }
.r-190 .dev-window { width: 72.5cqw; } .r-190 .dev-laptop { width: 68.2cqw; } .r-190 .dev-tablet { width: 68.8cqw; } .r-190 .dev-phone { width: 54.2cqw; } .sc-combo.r-190 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-190 { width: 19.6cqw; } .dev-phone.pr-190 .dev-screen { aspect-ratio: 1.9; }
.r-195 .dev-screen { aspect-ratio: 1.95; }
.r-195 .dev-window { width: 72.5cqw; } .r-195 .dev-laptop { width: 68.2cqw; } .r-195 .dev-tablet { width: 68.8cqw; } .r-195 .dev-phone { width: 54.2cqw; } .sc-combo.r-195 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-195 { width: 19.6cqw; } .dev-phone.pr-195 .dev-screen { aspect-ratio: 1.95; }
.r-200 .dev-screen { aspect-ratio: 2; }
.r-200 .dev-window { width: 72.5cqw; } .r-200 .dev-laptop { width: 68.2cqw; } .r-200 .dev-tablet { width: 68.8cqw; } .r-200 .dev-phone { width: 54.2cqw; } .sc-combo.r-200 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-200 { width: 19.6cqw; } .dev-phone.pr-200 .dev-screen { aspect-ratio: 2; }
.r-205 .dev-screen { aspect-ratio: 2.05; }
.r-205 .dev-window { width: 72.5cqw; } .r-205 .dev-laptop { width: 68.2cqw; } .r-205 .dev-tablet { width: 68.8cqw; } .r-205 .dev-phone { width: 54.2cqw; } .sc-combo.r-205 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-205 { width: 19.6cqw; } .dev-phone.pr-205 .dev-screen { aspect-ratio: 2.05; }
.r-210 .dev-screen { aspect-ratio: 2.1; }
.r-210 .dev-window { width: 72.5cqw; } .r-210 .dev-laptop { width: 68.2cqw; } .r-210 .dev-tablet { width: 68.8cqw; } .r-210 .dev-phone { width: 54.2cqw; } .sc-combo.r-210 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-210 { width: 19.6cqw; } .dev-phone.pr-210 .dev-screen { aspect-ratio: 2.1; }
.r-215 .dev-screen { aspect-ratio: 2.15; }
.r-215 .dev-window { width: 72.5cqw; } .r-215 .dev-laptop { width: 68.2cqw; } .r-215 .dev-tablet { width: 68.8cqw; } .r-215 .dev-phone { width: 54.2cqw; } .sc-combo.r-215 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-215 { width: 19.6cqw; } .dev-phone.pr-215 .dev-screen { aspect-ratio: 2.15; }
.r-220 .dev-screen { aspect-ratio: 2.2; }
.r-220 .dev-window { width: 72.5cqw; } .r-220 .dev-laptop { width: 68.2cqw; } .r-220 .dev-tablet { width: 68.8cqw; } .r-220 .dev-phone { width: 54.2cqw; } .sc-combo.r-220 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-220 { width: 19.6cqw; } .dev-phone.pr-220 .dev-screen { aspect-ratio: 2.2; }
.r-225 .dev-screen { aspect-ratio: 2.25; }
.r-225 .dev-window { width: 72.5cqw; } .r-225 .dev-laptop { width: 68.2cqw; } .r-225 .dev-tablet { width: 68.8cqw; } .r-225 .dev-phone { width: 54.2cqw; } .sc-combo.r-225 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-225 { width: 19.6cqw; } .dev-phone.pr-225 .dev-screen { aspect-ratio: 2.25; }
.r-230 .dev-screen { aspect-ratio: 2.3; }
.r-230 .dev-window { width: 72.5cqw; } .r-230 .dev-laptop { width: 68.2cqw; } .r-230 .dev-tablet { width: 68.8cqw; } .r-230 .dev-phone { width: 54.2cqw; } .sc-combo.r-230 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-230 { width: 19.6cqw; } .dev-phone.pr-230 .dev-screen { aspect-ratio: 2.3; }
.r-235 .dev-screen { aspect-ratio: 2.35; }
.r-235 .dev-window { width: 72.5cqw; } .r-235 .dev-laptop { width: 68.2cqw; } .r-235 .dev-tablet { width: 68.8cqw; } .r-235 .dev-phone { width: 54.2cqw; } .sc-combo.r-235 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-235 { width: 19.6cqw; } .dev-phone.pr-235 .dev-screen { aspect-ratio: 2.35; }
.r-240 .dev-screen { aspect-ratio: 2.4; }
.r-240 .dev-window { width: 72.5cqw; } .r-240 .dev-laptop { width: 68.2cqw; } .r-240 .dev-tablet { width: 68.8cqw; } .r-240 .dev-phone { width: 54.2cqw; } .sc-combo.r-240 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-240 { width: 19.6cqw; } .dev-phone.pr-240 .dev-screen { aspect-ratio: 2.4; }
.r-245 .dev-screen { aspect-ratio: 2.45; }
.r-245 .dev-window { width: 72.5cqw; } .r-245 .dev-laptop { width: 68.2cqw; } .r-245 .dev-tablet { width: 68.8cqw; } .r-245 .dev-phone { width: 54.2cqw; } .sc-combo.r-245 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-245 { width: 19.6cqw; } .dev-phone.pr-245 .dev-screen { aspect-ratio: 2.45; }
.r-250 .dev-screen { aspect-ratio: 2.5; }
.r-250 .dev-window { width: 72.5cqw; } .r-250 .dev-laptop { width: 68.2cqw; } .r-250 .dev-tablet { width: 68.8cqw; } .r-250 .dev-phone { width: 54.2cqw; } .sc-combo.r-250 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-250 { width: 19.6cqw; } .dev-phone.pr-250 .dev-screen { aspect-ratio: 2.5; }
.r-255 .dev-screen { aspect-ratio: 2.55; }
.r-255 .dev-window { width: 72.5cqw; } .r-255 .dev-laptop { width: 68.2cqw; } .r-255 .dev-tablet { width: 68.8cqw; } .r-255 .dev-phone { width: 54.2cqw; } .sc-combo.r-255 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-255 { width: 19.6cqw; } .dev-phone.pr-255 .dev-screen { aspect-ratio: 2.55; }
.r-260 .dev-screen { aspect-ratio: 2.6; }
.r-260 .dev-window { width: 72.5cqw; } .r-260 .dev-laptop { width: 68.2cqw; } .r-260 .dev-tablet { width: 68.8cqw; } .r-260 .dev-phone { width: 54.2cqw; } .sc-combo.r-260 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-260 { width: 19.6cqw; } .dev-phone.pr-260 .dev-screen { aspect-ratio: 2.6; }
.r-265 .dev-screen { aspect-ratio: 2.65; }
.r-265 .dev-window { width: 72.5cqw; } .r-265 .dev-laptop { width: 68.2cqw; } .r-265 .dev-tablet { width: 68.8cqw; } .r-265 .dev-phone { width: 54.2cqw; } .sc-combo.r-265 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-265 { width: 19.6cqw; } .dev-phone.pr-265 .dev-screen { aspect-ratio: 2.65; }
.r-270 .dev-screen { aspect-ratio: 2.7; }
.r-270 .dev-window { width: 72.5cqw; } .r-270 .dev-laptop { width: 68.2cqw; } .r-270 .dev-tablet { width: 68.8cqw; } .r-270 .dev-phone { width: 54.2cqw; } .sc-combo.r-270 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-270 { width: 19.6cqw; } .dev-phone.pr-270 .dev-screen { aspect-ratio: 2.7; }
.r-275 .dev-screen { aspect-ratio: 2.75; }
.r-275 .dev-window { width: 72.5cqw; } .r-275 .dev-laptop { width: 68.2cqw; } .r-275 .dev-tablet { width: 68.8cqw; } .r-275 .dev-phone { width: 54.2cqw; } .sc-combo.r-275 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-275 { width: 19.6cqw; } .dev-phone.pr-275 .dev-screen { aspect-ratio: 2.75; }
.r-280 .dev-screen { aspect-ratio: 2.8; }
.r-280 .dev-window { width: 72.5cqw; } .r-280 .dev-laptop { width: 68.2cqw; } .r-280 .dev-tablet { width: 68.8cqw; } .r-280 .dev-phone { width: 54.2cqw; } .sc-combo.r-280 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-280 { width: 19.6cqw; } .dev-phone.pr-280 .dev-screen { aspect-ratio: 2.8; }
.r-285 .dev-screen { aspect-ratio: 2.85; }
.r-285 .dev-window { width: 72.5cqw; } .r-285 .dev-laptop { width: 68.2cqw; } .r-285 .dev-tablet { width: 68.8cqw; } .r-285 .dev-phone { width: 54.2cqw; } .sc-combo.r-285 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-285 { width: 19.6cqw; } .dev-phone.pr-285 .dev-screen { aspect-ratio: 2.85; }
.r-290 .dev-screen { aspect-ratio: 2.9; }
.r-290 .dev-window { width: 72.5cqw; } .r-290 .dev-laptop { width: 68.2cqw; } .r-290 .dev-tablet { width: 68.8cqw; } .r-290 .dev-phone { width: 54.2cqw; } .sc-combo.r-290 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-290 { width: 19.6cqw; } .dev-phone.pr-290 .dev-screen { aspect-ratio: 2.9; }
.r-295 .dev-screen { aspect-ratio: 2.95; }
.r-295 .dev-window { width: 72.5cqw; } .r-295 .dev-laptop { width: 68.2cqw; } .r-295 .dev-tablet { width: 68.8cqw; } .r-295 .dev-phone { width: 54.2cqw; } .sc-combo.r-295 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-295 { width: 19.6cqw; } .dev-phone.pr-295 .dev-screen { aspect-ratio: 2.95; }
.r-300 .dev-screen { aspect-ratio: 3; }
.r-300 .dev-window { width: 72.5cqw; } .r-300 .dev-laptop { width: 68.2cqw; } .r-300 .dev-tablet { width: 68.8cqw; } .r-300 .dev-phone { width: 54.2cqw; } .sc-combo.r-300 .dev-laptop { width: 52.2cqw; }
.showcase .dev-phone.pr-300 { width: 19.6cqw; } .dev-phone.pr-300 .dev-screen { aspect-ratio: 3; }

/* Motion, in the style of the reference site. Only for visitors who have not asked their device for reduced motion. */
@keyframes fxLeft { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes fxUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fxBlock { 0% { transform: scaleX(0); transform-origin: left; } 47% { transform: scaleX(1); transform-origin: left; } 53% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes fxInk { from { color: transparent; } }
@keyframes fxNudge { 50% { transform: translateX(5px); } }
@keyframes fxGrow { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1, .page-hero h1 { animation: fxLeft .75s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy .eyebrow, .page-hero .project-meta, .page-hero .breadcrumb { animation: fxLeft .75s cubic-bezier(.2, .7, .2, 1) .08s both; }
  .hero-copy .bar, .page-hero .bar { transform-origin: left; animation: fxGrow .7s cubic-bezier(.2, .7, .2, 1) .3s both; }
  /* Block reveal: an orange block sweeps across, then the text appears */
  .hero-copy .lead, .page-hero .lead { position: relative; width: fit-content; max-width: 100%; animation: fxInk .01s linear .72s both; }
  .hero-copy .lead::after, .page-hero .lead::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); animation: fxBlock 1.2s cubic-bezier(.86, 0, .07, 1) .2s both; pointer-events: none; }
  .hero-copy .btn-group, .page-hero .btn-group, .hero-points { animation: fxUp .7s cubic-bezier(.2, .7, .2, 1) .9s both; }
  .hero-media, .page-hero .about-photo, .page-hero .case-cover { animation: fxUp .9s cubic-bezier(.2, .7, .2, 1) .25s both; }
  .modal[open] { animation: fxUp .35s cubic-bezier(.2, .7, .2, 1) both; }
  .link-arrow:hover .icon, .btn:hover .icon-arrow-right { transform: none; animation: fxNudge 1s ease-in-out infinite; }
  /* Scroll reveal: app.js marks items below the fold, then shows them as they come into view */
  .fx [data-fx] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
  .fx [data-fx].is-in { opacity: 1; transform: none; }
  .fx .section-head[data-fx] .bar { transform: scaleX(0); transition: transform .8s cubic-bezier(.2, .7, .2, 1) .25s; }
  .fx .section-head[data-fx]:not(.center) .bar { transform-origin: left; }
  .fx .section-head[data-fx].is-in .bar { transform: none; }
}

/* Office contact buttons */
.office-card { display: flex; flex-direction: column; }
.office-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.oa { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 13px; font-weight: 500; line-height: 1; color: var(--slate); text-decoration: none; background: var(--grey-soft); border: 1px solid var(--line); border-radius: 999px; transition: background-color .2s, color .2s, border-color .2s; }
.oa .icon { width: 16px; height: 16px; color: var(--orange); }
.oa:hover { color: var(--white); background: var(--orange-text); border-color: var(--orange-text); }
.oa:hover .icon { color: var(--white); }
.oa-wa .icon { color: #1DA851; }
.oa-wa:hover { background: #1DA851; border-color: #1DA851; }

/* Floating WhatsApp button */
.fab-wa { right: 18px; width: auto; height: auto; display: inline-flex; align-items: center; gap: 12px; padding: 0; background: none; box-shadow: none; text-decoration: none; }
.fab-wa:hover { background: none; }
.fab-wa-btn { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--white); background: #25D366; box-shadow: 0 8px 22px -6px rgba(18, 140, 70, .55); transition: transform .25s var(--ease), background-color .2s; }
.fab-wa-btn .icon { width: 30px; height: 30px; }
.fab-wa-btn::after { content: ""; position: absolute; top: 3px; right: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); border: 2px solid var(--white); }
.fab-wa:hover .fab-wa-btn, .fab-wa:focus-visible .fab-wa-btn { background: #1DA851; transform: scale(1.06); }
.fab-wa-label { display: none; padding: 10px 16px; font-size: 14px; line-height: 1.3; color: var(--ink); background: var(--white); border-radius: 999px; box-shadow: 0 8px 28px -8px rgba(25, 31, 36, .28); white-space: nowrap; }
.fab-wa-label strong { font-weight: 600; color: var(--ink); }
.fab-wa:hover .fab-wa-label { color: #128C46; }
@media (min-width: 1024px) { .fab-wa-label { display: inline-block; } }
@media (prefers-reduced-motion: no-preference) {
  .fab-wa-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: waPulse 2.6s ease-out infinite; }
  @keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
}
.fab-top.above-wa { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) { .fab-wa { right: 40px; bottom: 40px; height: auto; width: auto; } .fab-top.above-wa { bottom: 110px; } }

/* Formatted text written in the admin editor */
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich p { margin: 0 0 1em; }
.rich a, .prose a { color: var(--orange-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 500; }
.rich a:hover, .prose a:hover { color: var(--orange); text-decoration-thickness: 2px; }
.rich strong { color: var(--ink); font-weight: 600; }
.rich ul, .rich ol { margin: 0 0 1em; padding-left: 1.3em; }
.rich li { margin-bottom: .35em; }
.rich ul li::marker { color: var(--orange); }
.rich ol li::marker { color: var(--orange-text); font-weight: 600; }
.rich blockquote { margin: 1.2em 0; padding: 12px 18px; background: var(--grey-soft); border-left: 4px solid var(--orange); }
.rich blockquote p { margin: 0; }
.rich hr, .prose hr { border: 0; height: 1px; margin: 1.6em 0; background: var(--line); }
.rich h2 { font-size: 22px; margin: 1.4em 0 .5em; }
.rich h3 { font-size: 18px; margin: 1.2em 0 .4em; }
.text-justify { text-align: justify; hyphens: auto; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.lead.rich { font-size: inherit; }
.lead.rich p { margin-bottom: .8em; }
.office-head h3 { overflow-wrap: normal; word-break: normal; }
.office-city .office-tag { margin-left: 4px; vertical-align: 1px; }
@media (max-width: 767px) {
  .fab { width: 44px; height: 44px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .fab .icon { width: 20px; height: 20px; }
  .fab-top { right: 16px; }
  .fab-wa { right: 14px; width: auto; height: auto; }
  .fab-wa-btn { width: 50px; height: 50px; }
  .fab-wa-btn .icon { width: 26px; height: 26px; }
  .fab-wa-btn::after { width: 10px; height: 10px; top: 2px; right: 2px; }
  .fab-top.above-wa { right: 17px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* Team member portfolio pages */
.preview-bar { position: sticky; top: var(--header-h); z-index: 30; padding: 10px 0; font-size: 14px; font-weight: 500; color: var(--ink); background: #FFE8B3; border-bottom: 1px solid #F2C96B; }
.member-head { display: grid; gap: 28px; align-items: center; padding-block: 40px 48px; }
.member-photo { width: 160px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 5px solid var(--orange); background: var(--white); box-shadow: 0 18px 40px -16px rgba(25, 31, 36, .35); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-photo span { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-display); font-size: 64px; color: var(--orange-text); background: #FFF1EC; }
.member-intro .lead { margin-bottom: 22px; }
.member-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.member-actions .btn .icon { width: 18px; height: 18px; }
.member-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.member-links a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--slate); background: var(--white); border: 1px solid var(--line-strong); transition: color .2s, border-color .2s, transform .2s var(--ease); }
.member-links a:hover { color: var(--orange-text); border-color: var(--orange); transform: translateY(-2px); }
.member-links .icon { width: 18px; height: 18px; }
@media (min-width: 768px) {
  .member-head { grid-template-columns: auto minmax(0, 1fr); gap: 48px; padding-block: 56px 64px; }
  .member-photo { width: 240px; }
}
@media (min-width: 1024px) { .member-photo { width: 300px; } }
.member-body { display: grid; gap: 40px; }
@media (min-width: 1024px) { .member-body { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; align-items: start; } .member-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.member-block + .member-block { margin-top: 48px; }
.member-h { font-size: 22px; line-height: 1.3; color: var(--ink); margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--line); position: relative; }
.member-h::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--orange); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 3px solid var(--orange); }
.tl-when { margin: 0 0 2px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-text); }
.timeline h3 { font-size: 18px; margin: 0 0 6px; color: var(--ink); }
.timeline h3 .muted { font-weight: 400; }
.timeline p { margin: 0; }
.work-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.work-card { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius-md); }
.work-card h3 { font-size: 17px; margin: 0; color: var(--ink); }
.work-card p { margin: 0; font-size: 15px; }
.work-card .link-arrow { margin-top: auto; padding-top: 6px; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.plain-list li { padding-left: 16px; border-left: 3px solid #FFD6C8; }
.plain-list strong { color: var(--ink); font-weight: 600; }
.side-card { padding: 24px; background: var(--grey-soft); border-radius: var(--radius-md); }
.side-card + .side-card { margin-top: 20px; }
.side-card .chips { margin: 0; }
.side-card .chips li { background: var(--white); }
.side-cta { background: var(--ink); color: #C9CED3; }
.side-cta .member-h { color: var(--white); border-color: rgba(255, 255, 255, .15); }
.side-cta p { font-size: 15px; }
.side-cta .btn { width: 100%; margin-bottom: 14px; }
.side-cta .link-arrow { color: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 28px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; color: inherit; transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.team-card:hover { transform: translateY(-4px); border-color: #FFD6C8; box-shadow: var(--shadow-card); }
.team-photo { width: 120px; aspect-ratio: 1; margin-bottom: 12px; border-radius: 50%; overflow: hidden; border: 4px solid var(--orange); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo span { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-display); font-size: 44px; color: var(--orange-text); background: #FFF1EC; }
.team-name { font-size: 18px; font-weight: 600; color: var(--ink); }
.team-role { font-size: 15px; color: var(--body); }
.team-skills { margin-top: 6px; font-size: 13px; color: var(--muted); }
.center-block { max-width: 720px; text-align: center; }
.btn-group.center { justify-content: center; }

/* Styled dropdowns (the real select stays hidden underneath) */
.dd { position: relative; min-width: 0; }
.dd-native { position: absolute !important; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 11px 14px; font: inherit; font-size: 15px; text-align: left; color: var(--ink); background: var(--grey-soft); border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.dd-btn::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease), border-color .2s; }
.dd-btn:hover { border-color: var(--slate); }
.dd-btn:focus-visible, .dd.is-open .dd-btn { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 91, 53, .15); }
.dd.is-open .dd-btn::after { transform: translateY(2px) rotate(-135deg); border-color: var(--orange); }
.dd-btn.is-placeholder .dd-value { color: var(--muted); }
.dd-btn[aria-invalid="true"] { border-color: var(--danger, #C62828); }
.dd-btn:disabled { opacity: .55; cursor: not-allowed; }
.dd-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); max-height: min(320px, 60vh); margin: 0; padding: 6px; list-style: none; overflow-y: auto; overscroll-behavior: contain; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 18px 40px -12px rgba(25, 31, 36, .3); animation: ddIn .16s var(--ease); }
.dd.dd-up .dd-list { top: auto; bottom: calc(100% + 6px); }
@keyframes ddIn { from { opacity: 0; transform: translateY(-4px); } }
.dd-group { padding: 12px 12px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); }
.dd-group:first-child { padding-top: 6px; }
.dd-opt { position: relative; display: flex; align-items: center; min-height: 44px; padding: 10px 40px 10px 12px; font-size: 15px; line-height: 1.35; color: var(--ink); border-radius: var(--radius); cursor: pointer; }
.dd-opt.is-active { background: #FFF1EC; color: var(--orange-text); }
.dd-opt[aria-selected="true"] { font-weight: 600; color: var(--orange-text); }
.dd-opt[aria-selected="true"]::after { content: ""; position: absolute; right: 16px; top: 50%; width: 6px; height: 12px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: translateY(-65%) rotate(45deg); }
.dd-opt[aria-disabled="true"] { opacity: .45; cursor: default; }
.dd-other { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
.dd-group + .dd-opt.dd-other { border-top: 0; }
.joined .dd-btn { min-height: 56px; padding: 15px 16px; border: 0; border-bottom: 1px solid var(--grey); border-radius: 0; background: var(--white); box-shadow: none; }
.joined .dd-btn:focus-visible, .joined .dd.is-open .dd-btn { box-shadow: inset 0 0 0 2px var(--orange); }
.joined .dd-list { left: 8px; right: 8px; }
.joined { overflow: visible; }
@media (max-width: 639px) { .dd-opt { min-height: 48px; font-size: 16px; } .dd-list { max-height: min(360px, 55vh); } }

/* Contact form polish */
.joined { border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 10px 30px -18px rgba(25, 31, 36, .25); }
.joined .cell:first-child .input { border-top-left-radius: var(--radius-md); }
.joined .input, .joined .textarea { transition: background-color .2s, box-shadow .2s; }
.joined .input:hover, .joined .textarea:hover, .joined .dd-btn:hover { background: #FCFCFD; }
.joined .input::placeholder, .joined .textarea::placeholder { color: var(--muted); }

/* Sending state and confirmation popup */
.btn-spin { display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -3px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: var(--white); border-radius: 50%; animation: spin .7s linear infinite; }
.btn-outline .btn-spin { border-color: rgba(184, 56, 15, .3); border-top-color: var(--orange-text); }
@keyframes spin { to { transform: rotate(360deg); } }
.sent-modal { width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius-lg); }
.sent-body { display: grid; justify-items: center; gap: 6px; padding: 36px 28px 30px; text-align: center; }
.sent-body h2 { margin: 10px 0 2px; font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.sent-body p { margin: 0 0 6px; font-size: 15.5px; color: var(--body); }
.sent-body .btn { margin-top: 14px; min-width: 160px; }
.sent-icon { width: 76px; height: 76px; }
.sent-icon svg { width: 100%; height: 100%; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sent-icon circle { stroke: var(--orange); fill: #FFF1EC; }
.sent-icon path { stroke: var(--orange-text); }
.sent-ref { display: grid; gap: 2px; margin-top: 8px !important; padding: 10px 18px; font-size: 12.5px !important; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) !important; background: var(--grey-soft); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.sent-ref strong { font-size: 18px; letter-spacing: .08em; color: var(--ink); text-transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .sent-modal[open] .sent-icon circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: sentDraw .5s ease-out .1s forwards; }
  .sent-modal[open] .sent-icon path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: sentDraw .35s ease-out .5s forwards; }
  @keyframes sentDraw { to { stroke-dashoffset: 0; } }
}
.joined > .cell:last-child .textarea { border-radius: 0 0 var(--radius-md) var(--radius-md); }
@media (max-width: 639px) { .joined .cell:first-child .input { border-top-right-radius: var(--radius-md); } }
@media (min-width: 640px) { .joined .cell:nth-child(2) .input { border-top-right-radius: var(--radius-md); } }
