/* DESIGN TOKENS & RESET */
:root {
  --primary-color: #e52e21;
  --secondary-color: #f2eae5;
  --accent-color: #e52e21;
  --text-color: #292a30;
  --muted-color: #5d5958;
  --bg-color: #f4eeea;
  --card-bg: #faf7f4;
  --white: #fffdfb;
  --border-color: rgba(51, 46, 45, .13);
  --shadow-color: rgba(60, 41, 35, .08);
  --container-width: 1200px;
  --page-gutter: 20px;
  --section-space: 65px;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { min-width: 320px; margin: 0; color: var(--text-color); background: var(--bg-color); -webkit-font-smoothing: antialiased; }
body, button, input, textarea { font-family: Arial, Helvetica, sans-serif; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
section[id] { scroll-margin-top: 90px; }
::selection { color: #fff; background: var(--primary-color); }
:focus-visible { outline: 3px solid #bd382b; outline-offset: 4px; }
.container { width: min(calc(100% - var(--page-gutter) * 2), var(--container-width)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 14px; z-index: 500; padding: 12px 15px; background: #fff; border: 2px solid var(--primary-color); }
.skip-link:focus { top: 14px; }
.section { position: relative; padding: var(--section-space) 0; }
.section-heading { position: relative; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(31px, 6vw, 55px); line-height: 1.05; letter-spacing: -.045em; font-weight: 700; }
.section-heading h2 span, .contact-copy h2 span { color: var(--primary-color); }
.section-heading-split { display: flex; flex-direction: column; gap: 16px; }
.section-intro { max-width: 360px; margin: 0; color: var(--muted-color); font-size: 16px; line-height: 1.55; }
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #a52e23; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 45px; padding: 12px 25px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; line-height: 1.2; font-weight: 500; text-align: center; white-space: nowrap; transition: background .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease, border-color .3s ease; }
.button svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { color: #fff; background: #d9251a; }
.button-primary:hover { background: #c92319; box-shadow: 0 11px 26px rgba(229, 46, 33, .22); }
.button-outline { color: var(--text-color); border-color: #555052; background: rgba(255, 255, 255, .13); }
.button-outline:hover { color: #fff; border-color: var(--text-color); background: var(--text-color); }
.button-outline-dark { border-color: #6f6762; }

/* HEADER SECTION */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 76px; transition: background .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled, .site-header.menu-open { background: rgba(247, 240, 235, .93); box-shadow: 0 1px 0 var(--border-color); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 76px; }
.brand { position: relative; z-index: 103; display: block; flex: none; width: 135px; }
.brand img { width: 135px; height: auto; }
.menu-toggle { position: relative; z-index: 103; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 10px; border: 1px solid var(--border-color); border-radius: 50%; background: rgba(255, 255, 255, .46); }
.menu-toggle span { display: block; width: 100%; height: 1.5px; background: #292a30; transition: transform .3s ease, opacity .3s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }
.primary-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 24px max(var(--page-gutter), calc((100vw - var(--container-width)) / 2)); background: #f9f4f0; box-shadow: 0 22px 45px rgba(59, 42, 35, .1); }
.primary-nav.is-open { display: block; }
.nav-links { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.nav-links > li > a, .nav-dropdown summary { display: flex; justify-content: space-between; align-items: center; min-height: 46px; font-size: 16px; transition: color .3s ease; }
.nav-links > li > a:hover, .nav-dropdown summary:hover, .nav-dropdown-panel a:hover { color: var(--primary-color); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { gap: 8px; list-style: none; cursor: pointer; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .3s ease; }
.nav-dropdown[open] summary svg { transform: rotate(180deg); }
.nav-dropdown-panel { display: grid; gap: 0; padding: 5px 0 13px 12px; }
.nav-dropdown-panel a { padding: 11px 0; font-size: 14px; transition: color .3s ease; }
.nav-action { margin-top: 20px; }
.nav-action .button { min-width: 190px; }

/* HERO SECTION */
.hero { position: relative; display: flex; flex-direction: column; min-height: 720px; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 65% 5%, #fff8f2 0%, transparent 55%), linear-gradient(105deg, #f3eae5, #f3e9e3 72%, #eee2dc); }
.hero::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(255,255,255,.35), transparent 54%); content: ""; }
.hero-art { position: relative; order: 2; width: 100%; height: 310px; background: url('image/hero-scene.webp') center 46% / cover no-repeat; }
.hero-art::before { position: absolute; inset: 0; background: linear-gradient(0deg, transparent 72%, rgba(244,238,234,.08)); content: ""; }
.hero-light { position: absolute; right: -10%; top: 6%; z-index: -1; width: 55%; height: 56%; background: radial-gradient(ellipse, rgba(255,255,255,.55), transparent 64%); filter: blur(25px); pointer-events: none; }
.hero-layout { position: relative; z-index: 2; flex: 1 0 auto; }
.hero-copy { max-width: 760px; padding: 128px 0 40px; }
.hero-eyebrow { margin-bottom: 22px; }
.hero-copy h1 { max-width: 870px; margin: 0; font-size: clamp(37px, 8vw, 74px); line-height: .99; font-weight: 700; letter-spacing: -.053em; }
.title-line { display: block; }
.title-accent { color: var(--primary-color); }
.hero-description { max-width: 510px; margin: 24px 0 0; font-size: 16px; line-height: 1.48; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 26px; }
.button-large { min-height: 50px; padding-inline: 24px; }
.hero-note { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; color: #474344; }
.hero-note > span { font-size: 21px; line-height: 1; }
.service-ticker { position: relative; z-index: 3; order: 3; width: 100%; overflow: hidden; padding: 17px 0; color: #e9e1dc; background: #302e32; }
.ticker-track { display: flex; gap: 46px; width: max-content; animation: marquee 33s linear infinite; }
.ticker-track > span { flex: none; font-size: 12px; letter-spacing: .10em; font-weight: 500; text-transform: uppercase; white-space: nowrap; }
.ticker-track i { margin: 0 25px; color: #ff6554; font-size: 11px; font-style: normal; }
@keyframes marquee { to { transform: translateX(calc(-50% - 23px)); } }

/* SERVICES SECTION */
.services-section { overflow: hidden; background: radial-gradient(ellipse at 60% 85%, rgba(255,255,255,.77), transparent 51%), #eee5df; }
.services-shape { position: absolute; top: 23px; right: -235px; width: 590px; height: 590px; border-radius: 50%; background: #ef493a; box-shadow: inset -55px 0 80px rgba(197, 39, 28, .08); }
.services-content { position: relative; z-index: 1; }
.section-heading-tight { margin-bottom: 25px; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.service-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 12px; background: rgba(252,249,246,.91); box-shadow: 0 15px 27px rgba(74, 53, 42, .035); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 35px rgba(74, 53, 42, .10); }
.service-photo { width: 100%; aspect-ratio: 1.7; overflow: hidden; background: #e8e1db; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover img { transform: scale(1.045); }
.service-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 20px 22px; }
.service-body h3 { min-height: 49px; margin: 0 0 9px; font-size: 22px; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.service-summary, .service-outcome { margin: 0; font-size: 15px; line-height: 1.38; }
.service-summary { min-height: 60px; }
.red-rule { display: block; flex: none; width: 34px; height: 2px; margin: 17px 0 13px; background: var(--primary-color); }
.service-outcome { color: #4b4849; }
.section-decoration { display: flex; gap: 8px; margin-top: 27px; }
.section-decoration span { width: 29px; height: 2px; background: rgba(42, 43, 48, .13); }
.section-decoration span:first-child { background: var(--primary-color); }

/* CASES SECTION */
.cases-section { background: #fcfaf8; }
.cases-grid { display: grid; grid-template-columns: 1fr; gap: 17px; align-items: start; }
.case-card { min-width: 0; overflow: hidden; border: 1px solid rgba(70,55,49,.07); border-radius: 14px; background: #f7f3ef; transition: transform .3s ease, box-shadow .3s ease; }
.case-card:hover { transform: translateY(-5px); box-shadow: 0 20px 35px rgba(55,42,37,.07); }
.case-visual { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1.45; overflow: hidden; }
.case-visual-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .45s ease; }
.case-card:hover .case-visual-photo img { transform: scale(1.035); }
.case-caption { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; min-height: 110px; padding: 23px; }
.case-type { display: block; margin-bottom: 10px; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #ae4539; }
.case-caption h3 { margin: 0; font-size: 20px; line-height: 1.13; letter-spacing: -.035em; }
.case-arrow { display: flex; flex: none; justify-content: center; align-items: center; width: 38px; height: 38px; border: 1px solid rgba(53,44,42,.23); border-radius: 50%; font-size: 23px; }
.case-visual-editorial { background: radial-gradient(circle at 78% 24%, rgba(255, 255, 255, .18), transparent 30%), #c7b7ab; }
.case-visual-editorial::before { position: absolute; inset: 12% 5%; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; transform: rotate(-22deg); content: ""; }
.editorial-book { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 54%; aspect-ratio: .81; max-height: 245px; padding: 23px 17px; color: #ebe1d7; background: #392e30; box-shadow: 17px 20px 31px rgba(48,30,30,.22), inset -4px 0 0 rgba(0,0,0,.12); transform: rotate(-10deg); }
.book-overline { font-size: 11px; letter-spacing: .19em; }
.book-line { width: 30%; height: 2px; background: #cc6d5b; }
.editorial-book strong { font-size: clamp(16px, 3vw, 27px); letter-spacing: -.05em; line-height: 1.06; }
.book-note { max-width: 100px; font-size: 9px; line-height: 1.3; }
.visual-code { position: absolute; right: 15px; bottom: 14px; font-size: 9px; letter-spacing: .12em; color: rgba(255,255,255,.74); }
.case-visual-data { background: linear-gradient(135deg, #e2d7d2, #ede8e4); }
.case-visual-data::before { position: absolute; right: -25px; top: -110px; width: 250px; height: 250px; border: 68px solid #e04b3c; border-radius: 50%; content: ""; }
.data-paper { position: relative; display: flex; flex-direction: column; width: 65%; min-height: 70%; padding: 23px 22px; background: #fffdfa; box-shadow: 15px 19px 30px rgba(58,37,31,.12); transform: rotate(6deg); }
.data-small { margin-bottom: 25px; color: #a84b42; font-size: 8px; letter-spacing: .14em; font-weight: 700; }
.data-paper strong { font-size: clamp(26px, 4.2vw, 41px); line-height: .98; letter-spacing: -.06em; }
.data-lines { display: block; width: 70%; height: 27px; margin-top: 18px; background: repeating-linear-gradient(to bottom, #ccc7c3 0 2px, transparent 2px 10px); }
.data-badge { display: inline-block; align-self: flex-start; margin-top: 13px; padding: 7px 10px; color: #fff; background: var(--primary-color); border-radius: 50px; font-size: 10px; }
.case-details { display: block; padding: 0 23px 22px; }
.js .case-details { display: none; }
/* CASE DETAILS: each card expands independently */
.case-controls { display: none; padding: 0 23px 22px; }
.js .case-controls { display: block; }
.js .case-card.is-expanded .case-details { display: block; }
.case-details p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; }
.case-details p:last-child { margin-bottom: 0; }
.cases-more { padding-top: 34px; }
.cases-more[hidden] { display: none; }
.gallery-title { margin: 0 0 8px; font-size: 22px; }
.gallery-description { margin: 0 0 20px; color: var(--muted-color); font-size: 14px; }
.case-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.case-gallery figure { min-width: 0; margin: 0; overflow: hidden; border-radius: 10px; background: #eee9e4; }
.case-gallery figure img { width: 100%; aspect-ratio: 1/1; height: auto; object-fit: contain; }
.case-gallery figcaption { padding: 10px 13px; font-size: 12px; }
.section-action { display: flex; justify-content: center; margin-top: 31px; }
.cases-section .section-action { display: none; }
.js .cases-section .section-action { display: flex; }

/* ADDITIONAL SERVICES SECTION */
.additional-section { background: #eee5df; }
.extra-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.extra-item { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 17px; min-width: 0; min-height: 98px; padding: 20px; overflow: hidden; border: 1px solid rgba(70,52,43,.11); border-radius: 11px; background: rgba(255,253,250,.67); transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease; }
.extra-item::after { position: absolute; right: -23px; bottom: -81px; width: 130px; height: 130px; border: 26px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.extra-item:hover, .extra-item:focus-visible { color: #fff; background: #d9251a; transform: translateY(-4px); box-shadow: 0 14px 25px rgba(190, 42, 30, .14); }
.extra-number { align-self: flex-start; font-size: 10px; color: #a52e23; transition: color .3s ease; }
.extra-item:hover .extra-number, .extra-item:focus-visible .extra-number { color: #ffe0d7; }
.extra-item h3 { flex: 1; margin: 0; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; }
.extra-arrow { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 33px; height: 33px; border: 1px solid currentColor; border-radius: 50%; font-size: 19px; }

/* BENEFITS SECTION */
.about-section { background: #fdfaf7; }
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.benefit-card { min-width: 0; padding: 21px; border: 1px solid rgba(80,61,50,.075); border-radius: 14px; background: #f6f0ec; transition: transform .3s ease, box-shadow .3s ease; }
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 20px 32px rgba(73, 53, 45, .07); }
.benefit-card img { width: 100%; height: 130px; margin: 0 0 14px; object-fit: contain; }
.benefit-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.18; letter-spacing: -.03em; }
.benefit-card p { margin: 0; color: #5b5552; font-size: 14px; line-height: 1.52; }

/* PROCESS SECTION */
.process-section { overflow: hidden; background: #302e31; color: #fcf7f3; }
.process-section .eyebrow { color: #ff8c7e; }
.process-section .section-heading h2 span { color: #ff6a5b; }
.process-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.process-step { position: relative; padding: 15px 0 23px; border-bottom: 1px solid rgba(255,255,255,.19); }
.process-step-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.process-index { font-size: 46px; font-weight: 700; letter-spacing: -.07em; line-height: 1; color: #ff725f; }
.step-point { display: block; width: 9px; height: 9px; border: 2px solid #ff725f; border-radius: 50%; }
.process-step h3 { margin: 0 0 11px; font-size: 21px; letter-spacing: -.03em; }
.process-step p { max-width: 280px; margin: 0; color: #cdc5c3; font-size: 15px; line-height: 1.5; }
.process-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 36px; }
.process-cta span { font-size: 20px; font-weight: 700; letter-spacing: -.03em; }

/* CONTACT SECTION */
.contact-section { overflow: hidden; padding-block: 77px; background: #f0e6e0; }
.contact-section::before { position: absolute; left: -245px; bottom: -350px; width: 600px; height: 600px; border: 125px solid rgba(226, 64, 52, .92); border-radius: 50%; content: ""; }
.contact-layout { position: relative; display: grid; grid-template-columns: 1fr; gap: 37px; }
.contact-copy { position: relative; min-width: 0; }
.contact-copy h2 { margin: 0; font-size: clamp(35px, 7vw, 59px); line-height: 1.03; letter-spacing: -.05em; }
.contact-lead { max-width: 400px; margin: 25px 0 28px; font-size: 16px; line-height: 1.5; }
.contact-links { display: flex; flex-direction: column; gap: 15px; }
.contact-links a { align-self: flex-start; border-bottom: 1px solid rgba(42,42,44,.3); font-size: clamp(18px, 3vw, 24px); font-weight: 700; letter-spacing: -.03em; transition: color .3s ease, border-color .3s ease; }
.contact-links a:hover { color: var(--primary-color); border-color: var(--primary-color); }
.contact-sign { display: none; }
.contact-form-card { min-width: 0; padding: 24px; border: 1px solid rgba(76,61,51,.09); border-radius: 18px; background: #fffdfb; box-shadow: 0 17px 50px rgba(79,50,38,.08); }
.form-tag { margin: 0 0 13px; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: #ad4e43; }
.contact-form-card h3 { margin: 0 0 10px; font-size: 30px; letter-spacing: -.045em; }
.form-explainer { margin: 0 0 27px; font-size: 14px; color: #68605c; line-height: 1.5; }
.form-field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.form-field label { font-size: 13px; font-weight: 700; }
.form-field input, .form-field textarea { display: block; width: 100%; min-width: 0; padding: 14px 0; border: 0; border-bottom: 1px solid #bfb5b0; border-radius: 0; outline: 0; background: transparent; color: var(--text-color); font-size: 16px; line-height: 1.4; transition: border-color .3s ease; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #8b817d; }
.form-field input:focus-visible, .form-field textarea:focus-visible { border-bottom: 2px solid var(--primary-color); outline: none; }
.form-field textarea { resize: vertical; min-height: 106px; }
.form-submit { width: 100%; justify-content: space-between; margin-top: 5px; padding: 16px 22px; }
.form-status { min-height: 20px; margin: 15px 0 0; color: #68605c; font-size: 12px; line-height: 1.4; }

/* FOOTER SECTION */
.footer { background: #29282d; color: #f4edeb; }
.footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 30px 0; }
.footer img { width: 130px; height: auto; filter: brightness(0) invert(1); }
.footer p { margin: 0; color: #bfb6b1; font-size: 13px; }
.footer-top { font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.4); }
.footer-top:hover { color: #ff786b; }

/* TABLET 768px+ */
@media (min-width: 768px) {
  :root { --page-gutter: 32px; --section-space: 78px; }
  .section-heading { margin-bottom: 36px; }
  .section-heading-split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 30px; }
  .hero { min-height: 660px; }
  .hero-layout { flex: 1; }
  .hero-copy { padding-top: 152px; padding-bottom: 140px; }
  .hero-copy h1 { font-size: clamp(45px, 5vw, 68px); }
  .hero-description { margin-top: 26px; }
  .hero-actions { margin-top: 29px; }
  .hero-art { position: absolute; top: 73px; right: 0; bottom: 49px; z-index: 0; width: 41%; height: auto; background-position: center; }
  .hero-art {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 21%), linear-gradient(to bottom, transparent, #000 6%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent, #000 21%), linear-gradient(to bottom, transparent, #000 6%);
    mask-composite: intersect;
  }
  .hero-art::before { background: linear-gradient(90deg, #f3eae5 0%, rgba(243, 234, 229, .96) 8%, rgba(243, 234, 229, .26) 26%, transparent 39%), linear-gradient(180deg, #f3eae5 0%, rgba(243, 234, 229, .62) 3%, transparent 13%); }
  .service-ticker { margin-top: auto; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cases-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
  .case-caption { align-items: flex-start; min-height: 112px; padding: 18px; }
  .case-caption h3 { font-size: 18px; }
  .case-arrow { width: 33px; height: 33px; font-size: 19px; }
  .case-gallery { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .extra-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
  .benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
  .process-step { padding-bottom: 32px; }
  .process-step-head { margin-bottom: 47px; }
  .process-cta { flex-direction: row; justify-content: space-between; align-items: center; }
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 42px; }
  .contact-form-card { padding: 30px; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* DESKTOP 950px+ */
@media (min-width: 950px) {
  :root { --page-gutter: 42px; --section-space: 95px; }
  .site-header, .header-inner { height: 79px; min-height: 79px; }
  .brand, .brand img { width: 138px; }
  .menu-toggle { display: none; }
  .primary-nav { position: static; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex: 1; margin-left: clamp(38px, 8vw, 150px); padding: 0; background: none; box-shadow: none; }
  .nav-links { flex-direction: row; align-items: center; gap: clamp(16px, 2.45vw, 36px); }
  .nav-links > li > a, .nav-dropdown summary { min-height: 46px; font-size: 12px; white-space: nowrap; }
  .nav-dropdown-panel { position: absolute; top: 44px; left: -15px; z-index: 40; min-width: 224px; padding: 11px 15px; border: 1px solid var(--border-color); border-radius: 10px; background: #fffaf6; box-shadow: 0 15px 28px rgba(47,37,31,.13); }
  .nav-dropdown-panel a { font-size: 13px; }
  .nav-action { display: flex; align-items: center; flex: none; gap: 22px; margin-top: 0; padding-left: 23px; border-left: 1px solid rgba(38,38,44,.55); }
  .nav-action .button { min-width: 130px; min-height: 35px; padding: 8px 19px; font-size: 12px; }
  .hero { min-height: max(600px, 100svh); }
  .hero-copy { max-width: 810px; padding-top: clamp(142px, 21vh, 200px); padding-bottom: 135px; }
  .hero-eyebrow { display: none; }
  .hero-copy h1 { font-size: clamp(45px, 4.55vw, 69px); }
  .hero-description { max-width: 470px; margin-top: 19px; font-size: clamp(15px, 1.25vw, 17px); }
  .hero-art { top: 70px; bottom: 49px; width: 40.5%; }
  .hero-actions { gap: 14px; margin-top: 21px; }
  .services-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
  .services-section { padding-top: 110px; padding-bottom: 57px; }
  .services-shape { right: -192px; top: 78px; }
  .services-content .section-heading { margin-bottom: 27px; }
  .service-body { padding: 15px 14px 21px; }
  .service-body h3 { min-height: 47px; font-size: clamp(17px, 1.6vw, 22px); }
  .service-summary, .service-outcome { font-size: clamp(12px, 1.2vw, 15px); }
  .service-summary { min-height: 51px; }
  .red-rule { margin: 15px 0 13px; }
  .extra-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .extra-item { flex-direction: column; align-items: flex-start; min-height: 149px; padding: 20px; }
  .extra-item h3 { display: flex; align-items: flex-end; font-size: 18px; }
  .extra-arrow { position: absolute; top: 15px; right: 15px; }
  .benefits-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
  .benefit-card { min-height: 300px; padding: 23px; }
  .benefit-card img { margin-bottom: 13px; }
  .contact-layout { grid-template-columns: 1.1fr .9fr; gap: 75px; }
  .contact-form-card { padding: 36px; }
  .contact-sign { position: relative; display: flex; gap: 27px; margin-top: 75px; font-size: 88px; font-weight: 700; letter-spacing: -.12em; line-height: 1; color: rgba(226,64,52,.28); }
}

/* REFERENCE-SIZE DESKTOP (four cards at 974px, as in the supplied screen) */
@media (min-width: 950px) and (max-width: 1100px) {
  .service-body h3 { min-height: 0; margin-bottom: 6px; font-size: 17px; }
  .service-summary, .service-outcome { font-size: 11.4px; line-height: 1.3; }
  .service-summary { min-height: 0; }
  .red-rule { margin: 11px 0 12px; }
}

/* DESKTOP 1024px+ */
@media (min-width: 1024px) {
  :root { --page-gutter: 44px; }
  .hero-art { width: 42%; }
}

/* LARGE DESKTOP 1440px+ */
@media (min-width: 1440px) {
  :root { --section-space: 110px; }
  .hero-copy h1 { font-size: 62px; }
  .hero-copy { padding-top: max(180px, 22vh); }
  .hero-art { width: 44%; }
  .services-shape { right: calc((100vw - 1200px)/2 - 330px); }
  .service-body { padding: 20px 20px 23px; }
  .service-body h3 { font-size: 22px; }
  .service-summary, .service-outcome { font-size: 15px; }
  .case-caption h3 { font-size: 21px; }
}

/* SMALL MOBILE 320-359px */
@media (max-width: 359px) {
  .hero-copy h1 { font-size: 33px; }
  .hero-description { font-size: 15px; }
  .section-heading h2 { font-size: 30px; }
  .contact-form-card { padding: 20px; }
}

/* ACCESSIBILITY: REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms; animation-iteration-count: 1; scroll-behavior: auto; transition-duration: .01ms; }
}


/* TARGETED 2026-11-07 UPDATES: portfolio overlays, services feature tiles, benefits glass */
/* Portfolio image overlays keep the image and card dimensions fixed. */
.cases-grid .case-visual { isolation: isolate; }
.cases-grid .case-visual > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cases-grid .case-visual::after { content: none; }
.cases-grid .case-details { position: absolute; inset: 0; z-index: 2; display: block; box-sizing: border-box; width: 100%; height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: clamp(13px, 2vw, 25px); color: #fffaf7; background: rgba(29,27,29,.92); opacity: 1; }
.js .cases-grid .case-details { display: block; visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.js .cases-grid .case-card.is-expanded .case-details { display: block; visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0); }
.cases-grid .case-details p { margin: 0 0 10px; font-size: clamp(12px, 1.12vw, 14px); line-height: 1.42; }
.cases-grid .case-details strong { color: #ff9e8f; }
.cases-grid .case-controls { padding-top: 0; }
.cases-grid .case-toggle { min-height: 40px; }
/* Additional services: two 2-column image spans plus four unchanged tiles per row. */
.extra-feature { position: relative; min-width: 0; min-height: 174px; overflow: hidden; border-radius: 11px; isolation: isolate; background: #d8c5bc; }
.extra-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transition: transform .4s ease; }
.extra-feature:hover img { transform: scale(1.04); }
.extra-feature::after { position: absolute; inset: 30% 0 0; content: ''; background: linear-gradient(transparent, rgba(29,23,25,.75)); }
.extra-feature-caption { position: absolute; z-index: 1; left: 19px; right: 19px; bottom: 17px; max-width: 320px; color: white; font-size: clamp(16px, 2vw, 23px); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
.extra-feature-last img { object-position: right center; }
/* Benefits: keep the original images as the background, with translucent glass copy. */
.benefits-grid .benefit-card { position: relative; display: flex; align-items: flex-end; isolation: isolate; min-height: 158px; padding: 16px; overflow: hidden; background: #f0ded6; }
.benefits-grid .benefit-card > img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: center; padding: 0; box-sizing: border-box; opacity: .92; transform: scale(1.92); }
.benefits-grid .benefit-glass { position: relative; z-index: 1; width: 100%; padding: 18px; border: 1px solid rgba(255,255,255,.7); border-radius: 12px; background: rgba(255,255,255,.66); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 29px rgba(50,35,30,.08); }
.benefits-grid .benefit-glass h3 { margin-bottom: 8px; }
.benefits-grid .benefit-glass p { color: #393335; }
@media (min-width: 768px) {
  .extra-feature { grid-column: span 2; min-height: 164px; }
}
@media (min-width: 950px) {
  .extra-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .extra-feature { min-height: 175px; }
  .extra-item { min-height: 175px; padding: 15px; }
  .extra-item h3 { font-size: clamp(14px, 1.25vw, 18px); }
  .benefits-grid .benefit-card { min-height: 160px; padding: 16px; }
}
@media (max-width: 767px) {
  .extra-feature { min-height: 190px; }
  .cases-grid .case-details p { font-size: clamp(12px, 3.5vw, 14px); }
  .benefits-grid .benefit-card { min-height: 155px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .cases-grid .case-details, .extra-feature img { transition: none; }
}

/* CONTACT FORM — compact spacing */
.contact-section { padding-block: 54px; }
.contact-form-card { padding: 21px; }
.contact-form-card h3 { margin-bottom: 5px; font-size: 27px; }
.form-tag { margin-bottom: 8px; }
.form-explainer { margin-bottom: 13px; line-height: 1.4; }
.form-field { gap: 5px; margin-bottom: 9px; }
.form-field input, .form-field textarea { padding: 9px 0; }
.form-field textarea { min-height: 68px; }
.form-submit { margin-top: 3px; padding: 12px 20px; }
.form-status { margin-top: 9px; min-height: 0; }
.form-consent { margin: 9px 0 0; color: #68605c; font-size: 12px; line-height: 1.45; }

/* FOOTER — Anchor.Team */
.footer { background: #252428; color: #fff8f3; }
.footer-content { padding-block: 43px 24px; }
.footer-head { display: grid; grid-template-columns: 1fr; align-items: start; gap: 14px; padding-bottom: 31px; }
.footer-brand { justify-self: start; font-size: clamp(31px, 6vw, 43px); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.footer-brand span { color: #ee3527; }
.footer-head p { max-width: 310px; color: #dad2ce; font-size: 16px; line-height: 1.45; }
.footer .footer-cta { display: inline-flex; align-items: center; justify-content: space-between; justify-self: start; gap: 25px; min-height: 46px; padding: 12px 21px; border: 1px solid #f7eee9; border-radius: 999px; color: #fffaf6; font-size: 14px; font-weight: 600; transition: background .3s ease, color .3s ease; }
.footer .footer-cta:hover { background: #f7eee9; color: #252428; }
.footer-services { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 26px 0 32px; border-top: 1px solid rgba(255,255,255,.20); border-bottom: 1px solid rgba(255,255,255,.20); }
.footer-service h3 { margin: 0 0 9px; color: #fff8f3; font-size: 16px; font-weight: 700; line-height: 1.25; }
.footer-service p { margin: 0; max-width: 245px; color: #beb6b4; font-size: 14px; line-height: 1.55; }
.footer-bottom { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 23px; padding-top: 25px; }
.footer-contacts { display: flex; flex-wrap: wrap; gap: 9px 26px; }
.footer-contacts a { color: #fff8f3; font-size: 15px; font-weight: 500; }
.footer-contacts a:hover, .footer-top:hover { color: #ff786b; }
.footer-top { align-self: flex-start; color: #dad2ce; font-size: 14px; }
.footer a:focus-visible { outline: 2px solid #ff786b; outline-offset: 4px; }
@media (min-width: 768px) {
  .contact-section { padding-block: 63px; }
  .contact-form-card { padding: 23px; }
  .footer-head { grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; }
  .footer-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
  .footer-bottom { flex-direction: row; align-items: center; }
}
@media (min-width: 950px) {
  .contact-form-card { padding: 26px; }
  .footer-services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; }
}

/* Final approved corrections — 2026-11-26. Original design tokens retained. */
[hidden] { display: none !important; }
/* Native horizontal carousel: 1 / 2 / 3 cards depending on viewport. */
.cases-grid { position: relative; display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; align-items: stretch; gap: 17px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 8px 12px; }
.cases-grid::-webkit-scrollbar { display: none; }
.cases-grid .case-card { display: flex; flex-direction: column; scroll-snap-align: start; }
.cases-grid .case-visual { flex: none; aspect-ratio: 1.45; }
.cases-grid .case-visual > img { object-fit: contain; background: #e9e3de; }
.cases-grid .case-caption { flex: 1; align-items: flex-start; min-height: 110px; }
.cases-grid .case-details { overscroll-behavior-y: contain; }
.case-pagination { display: flex; gap: 5px; align-items: center; margin-top: 4px; }
.case-page { position: relative; width: 37px; height: 30px; border: 0; padding: 0; background: transparent; }
.case-page::after { content: ''; position: absolute; inset: 14px 3px auto; height: 3px; border-radius: 2px; background: #d4cbc5; transition: background .2s ease; }
.case-page:hover::after, .case-page.is-active::after { background: var(--primary-color); }
.case-carousel { position: relative; }
.case-nav { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid #6f6762; border-radius: 50%; color: var(--text-color); background: #fcfaf8; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.case-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.case-nav:not(:disabled):hover { color: #fff; background: var(--primary-color); border-color: var(--primary-color); }
.case-nav:disabled { color: #b5ada7; border-color: #ded7d1; cursor: default; }
.case-prev { left: -14px; }
.case-next { right: -14px; }
@media (max-width: 599px) { .case-nav { width: 36px; height: 36px; } .case-nav svg { width: 19px; height: 19px; } }
@media (min-width: 600px) { .case-nav { width: 40px; height: 40px; } .case-prev { left: -26px; } .case-next { right: -26px; } }
@media (min-width: 950px) { .case-nav { width: 46px; height: 46px; } .case-prev { left: -36px; } .case-next { right: -36px; } }
@media (min-width: 1320px) { .case-prev { left: -54px; } .case-next { right: -54px; } }
@media (prefers-reduced-motion: reduce) { .case-nav { transition: none; } }
@media (min-width: 600px) { .cases-grid { grid-auto-columns: calc((100% - 17px) / 2); } }
@media (min-width: 950px) { .cases-grid { grid-auto-columns: calc((100% - 34px) / 3); } }
/* Additional services are informational only. */
.extra-item { cursor: default; }
.extra-marker { flex: none; display: block; width: 11px; height: 11px; align-self: flex-start; border-radius: 3px; background: #9a9590; }
/* The form is retained in the source; only the pattern is visible. */
.contact-pattern { min-width: 0; position: relative; min-height: 245px; overflow: hidden; align-self: stretch; }
.contact-pattern::before { content: ''; position: absolute; width: min(82%, 380px); aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -24%); border: clamp(40px, 7vw, 82px) solid #e24034; border-radius: 50%; }
@media (min-width: 950px) { .contact-pattern { min-height: 340px; } }
@media (max-width: 599px) { .contact-pattern { min-height: 130px; } .contact-pattern::before { width: 190px; border-width: 45px; } }
.footer-brand small { display: block; margin-top: 8px; color: #dad2ce; font-size: 15px; font-weight: 500; letter-spacing: 0; }
.footer-telegram { display: inline-flex; align-items: center; gap: 7px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 20px; font-size: 13px; line-height: 1.5; color: #dad2ce; }
.footer-legal a, .cookie-settings { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover, .cookie-settings:hover { color: #ff786b; }
.cookie-settings { background: none; border: 0; color: inherit; font-size: inherit; padding: 0; text-align: left; }
/* Cookie notice and standalone legal pages. */
.cookie-banner { position: fixed; z-index: 200; bottom: 16px; left: 50%; transform: translateX(-50%); width: min(1100px, calc(100% - 32px)); display: flex; align-items: center; gap: 20px; padding: 19px 23px; border: 1px solid var(--border-color); border-radius: 16px; background: #fffdfb; box-shadow: 0 12px 45px rgba(55,42,37,.18); }
.cookie-copy { flex: 1; min-width: 0; }
.cookie-copy p { margin: 0; font-size: 14px; line-height: 1.5; }
.cookie-copy a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-copy a:hover { color: var(--primary-color); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.cookie-actions .button { padding-inline: 17px; }
@media (max-width: 850px) { .cookie-banner { flex-direction: column; align-items: stretch; gap: 13px; padding: 16px; } .cookie-actions { flex: auto; } .cookie-actions .button { flex: 1; } }
@media (max-width: 390px) { .cookie-actions .button { width: 100%; } .cookie-copy p { font-size: 13px; } }
.legal-page { background: #f4eeea; }
.legal-header { border-bottom: 1px solid var(--border-color); background: #f9f4f0; }
.legal-header .container { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.legal-main { max-width: 940px; padding-block: clamp(32px, 6vw, 72px); }
.legal-document { background: #fffdfb; border-radius: 14px; border: 1px solid var(--border-color); padding: clamp(20px, 5vw, 52px); font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.legal-document h1 { font-size: clamp(29px, 4.5vw, 44px); letter-spacing: -.045em; line-height: 1.13; margin: 0 0 36px; }
.legal-document h2 { font-size: clamp(20px, 3vw, 26px); line-height: 1.3; margin: 32px 0 14px; }
.legal-document p { margin: 0 0 14px; white-space: pre-line; }
.legal-document ul { margin: 0 0 16px; padding-left: 25px; }
.legal-document li { margin: 0 0 8px; }
.legal-document a, .legal-navigation a { color: #a52e23; text-decoration: underline; text-underline-offset: 3px; }
.legal-navigation { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; margin-top: 25px; font-size: 14px; }
.legal-footer .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-block: 30px; }
/* Supplied project covers share the same native 16:9 ratio. */
.cases-grid .case-visual { aspect-ratio: 1672 / 941; }
@media (max-width: 767px) { .contact-section::before { display: none; } .contact-pattern::before { top: 38%; transform: translate(-50%, 0); } }
/* Keep contact details on a clear background; decorative arcs stay below them. */
.contact-section::before { bottom: -535px; }
.contact-pattern::before { top: auto; bottom: 0; transform: translateX(-50%); aspect-ratio: 2 / 1; border-bottom: 0; border-radius: 380px 380px 0 0; }
@media (min-width: 768px) { .contact-pattern { align-self: center; min-height: 245px; } }
