/* Fluid layout and touch navigation. */
html { -webkit-text-size-adjust: 100%; }
.hero > *, .approach > *, .section-heading > *, .service-card { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
.button { max-width: 100%; min-height: 48px; }
.hero-actions { flex-wrap: wrap; }
.service-card { padding-bottom: 48px; }
.language-switch button, .menu-toggle { min-width: 44px; min-height: 44px; }
.language-switch { gap: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid #d7fd6e; outline-offset: 4px; }
.contact a:focus-visible { outline-color: #151914; }
.site-header { position: sticky; top: 0; transition: transform .24s cubic-bezier(.22, 1, .36, 1); }
.site-header.is-scroll-hidden { transform: translateY(-100%); pointer-events: none; }
main[id], section[id] { scroll-margin-top: 104px; }

@media (max-width: 1100px) {
  :root { --mobile-header-height: 76px; }
  .site-header { height: var(--mobile-header-height); position: sticky; top: 0; gap: 12px; padding-inline: 24px; }
  .desktop-nav, .nav-cta, .header-social { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; margin: 0; padding: 9px; border: 0; background: none; cursor: pointer; flex-shrink: 0; }
  .menu-toggle span { width: 26px; height: 2px; background: #fff; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display: flex; position: fixed; top: var(--mobile-header-height); left: 0; right: 0; z-index: 9; flex-direction: column; background: #1b1d20; padding: 12px 24px 24px; max-height: calc(100dvh - var(--mobile-header-height)); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 18px 30px #0008; }
  .mobile-nav > a { display: flex; align-items: center; min-height: 52px; padding: 12px 4px; border-bottom: 1px solid #ffffff20; font-size: 16px; }
  .mobile-social { display: flex; padding-top: 20px; gap: 12px; }
  .mobile-nav .mobile-social .social-link { width: 48px; height: 48px; padding: 0; border: 1px solid #ffffff28; border-radius: 50%; }
  main[id], section[id] { scroll-margin-top: calc(var(--mobile-header-height) + 16px); }
  .section-pad { padding-block: 88px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { gap: 32px; }
  .hero { gap: 28px; }
}

@media (max-width: 850px) {
  .section-shell { width: calc(100% - 48px); }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 0; gap: 0; }
  .hero-content { padding: 56px 0 36px; }
  .hero h1 { font-size: clamp(42px, 7.8vw, 64px); }
  .hero-content > p { max-width: 580px; }
  .hero-art { height: auto; aspect-ratio: 1.6; }
  .art-lens { width: min(45%, 260px); }
  .hero-bottom { position: static; padding-block: 24px; align-items: center; gap: 24px; }
  .hero-bottom > span:first-child { max-width: 65%; line-height: 1.6; }
  .scroll-cue { flex-shrink: 0; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > p { max-width: 580px; margin-top: 24px; }
  .approach { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .approach-visual { aspect-ratio: 1.5; }
  .approach-copy > p { max-width: 580px; }
  .frame-copy { font-size: clamp(28px, 5vw, 42px); }
  .service-card p { max-width: none; font-size: 14px; }
  .contact { width: 100%; }
  .site-footer { height: auto; padding-block: 32px; flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 560px) {
  :root { --mobile-header-height: 68px; }
  .site-header { padding-inline: 16px; gap: 6px; }
  .brand-mark { font-size: 27px; }
  .brand-name { font-size: 10px; letter-spacing: 2px; }
  .header-actions { gap: 0; }
  .section-shell { width: calc(100% - 36px); }
  .mobile-nav:not([hidden]) { padding-inline: 18px; }
  .hero-content { padding-top: 40px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.3px; line-height: 1.8; }
  .eyebrow-line { width: 16px; margin-right: 6px; }
  .hero h1 { font-size: clamp(36px, 10.2vw, 55px); line-height: 1.12; margin-block: 20px; }
  .hero-content > p { font-size: 15px; line-height: 1.75; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 26px; }
  .hero-actions .button { width: 100%; min-width: 0; }
  .hero-actions .text-link { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .hero-art { aspect-ratio: 1.15; }
  .art-lens { width: 61%; max-width: 230px; border-width: 13px; }
  .lens-inner span { font-size: 42px; }
  .art-glow { width: 240px; height: 240px; filter: blur(60px); }
  .art-corner { font-size: 8px; letter-spacing: 1.2px; }
  .top-left, .bottom-left { left: 18px; }
  .top-right, .bottom-right { right: 18px; }
  .hero-bottom { font-size: 8px; letter-spacing: 1.3px; }
  .section-pad { padding-block: 64px; }
  .section-heading h2, .approach h2, .contact h2 { font-size: clamp(32px, 8.5vw, 46px); line-height: 1.15; }
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .service-card { min-height: 0; padding: 24px 24px 46px; }
  .service-icon { height: 46px; }
  .service-card h3 { font-size: 21px; margin-top: 14px; }
  .approach-visual { aspect-ratio: 1.15; }
  .approach-frame { width: 80%; height: 80%; }
  .frame-copy { font-size: clamp(26px, 7.5vw, 38px); }
  .portfolio-placeholder { min-height: 280px; padding: 28px 18px; }
  .portfolio-placeholder a { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; }
  .contact { width: 100%; padding-inline: 18px; }
  .contact .button { min-width: 0; width: 100%; max-width: 340px; gap: 16px; }
  .contact small { font-size: 12px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer > span:last-child { width: auto; }
}

@media (hover: none) {
  .service-card:hover, .button:hover, .social-link:hover { transform: none; }
}

/* Contact form */
.contact { padding-inline: 0; }
.contact-inner { width: min(100% - 64px, 1440px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(40px, 7vw, 120px); align-items: center; text-align: left; }
.faq { border-top: 1px solid #ffffff16; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); }
.faq h2 { font-size: clamp(36px, 4vw, 58px); line-height: 1.12; margin: 18px 0; }
.faq-intro > p { color: #aeb0ae; line-height: 1.8; max-width: 400px; }
.faq-list { border-top: 1px solid #ffffff2a; }
.faq-list details { border-bottom: 1px solid #ffffff2a; }
.faq-list summary { cursor: pointer; list-style: none; padding: 24px 36px 24px 0; font: 700 clamp(16px, 1.5vw, 21px) Manrope, sans-serif; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; color: #d7fd6e; font-size: 24px; top: 18px; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list summary:focus-visible { outline: 2px solid #d7fd6e; outline-offset: 4px; }
.faq-list p { color: #aeb0ae; line-height: 1.75; margin: 0 0 24px; max-width: 630px; }
.contact-copy h2 { max-width: 700px; }
.contact-copy p { margin: 24px 0 28px; max-width: 510px; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.contact-links a { text-decoration: underline; text-underline-offset: 5px; }
.contact-links a:hover { color: #476638; }
.contact-form { position: relative; padding: clamp(24px, 3vw, 42px); background: #171d19; color: #f5f3ee; display: grid; gap: 18px; }
.form-row { display: grid; gap: 8px; }
.form-row label { font-size: 13px; font-weight: 700; }
.form-row input, .form-row select, .form-row textarea { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #596759; border-radius: 0; background: #202922; color: #f5f3ee; font: 15px/1.5 'DM Sans', sans-serif; outline: none; }
.form-row textarea { min-height: 122px; resize: vertical; }
.form-row input:focus-visible, .form-row select:focus-visible, .form-row textarea:focus-visible { border-color: #d7fd6e; box-shadow: 0 0 0 2px #d7fd6e55; }
.form-row select { cursor: pointer; }
.form-row option { color: #f5f3ee; background: #202922; }
.contact-form .button { width: 100%; min-width: 0; margin: 4px 0 0; background: #d7fd6e; color: #151914; border: 0; cursor: pointer; }
.contact-form .button:hover { background: #ebffae; }
.contact-form .button:disabled { opacity: .65; cursor: wait; transform: none; }
.contact-form .button:focus-visible { outline-color: #d7fd6e; }
.contact-form .form-status { min-height: 20px; margin: 0; color: #d7fd6e; font-size: 13px; line-height: 1.5; }
.contact-form .form-status[data-state="error"] { color: #ffb7a8; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 850px) {
  .contact-inner { width: calc(100% - 48px); grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .contact-copy h2 { max-width: none; }
  .contact-form { max-width: 680px; }
}
@media (max-width: 560px) {
  .contact-inner { width: calc(100% - 36px); gap: 26px; }
  .contact-copy p { margin: 20px 0 24px; }
  .contact-form { padding: 22px 18px; gap: 16px; }
}

/* Project card details */
.contact-form { isolation: isolate; overflow: hidden; border: 1px solid #d7fd6e70; background: radial-gradient(circle at 100% 0%, #334d2a 0, #1d2b20 26%, #171d19 58%); box-shadow: 18px 20px 0 #141a1426, 0 28px 70px #17241645; gap: 20px; }
.contact-form::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #d7fd6e 0 46%, #ffffff25 46% 100%); z-index: 2; }
.contact-form::after { content: ''; position: absolute; top: -100px; right: -90px; width: 250px; height: 250px; border-radius: 50%; background: #b6f75b20; filter: blur(55px); pointer-events: none; z-index: 0; }
.contact-form > :not(.form-trap) { position: relative; z-index: 1; }
.form-head { padding: 7px 0 21px; border-bottom: 1px solid #d7fd6e40; }
.form-head-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-kicker { color: #d7fd6e; font: 800 11px/1.5 Manrope, sans-serif; letter-spacing: 2px; }
.form-asterisk { color: #d7fd6e; font-size: 36px; line-height: 1; transform: rotate(-12deg); }
.form-head h3 { margin: 18px 0 7px; font: 800 clamp(25px, 2.5vw, 34px)/1.15 Manrope, sans-serif; letter-spacing: -.055em; }
.contact-form .form-head p { margin: 0; max-width: 360px; color: #aebbad; font-size: 13px; line-height: 1.65; }
.form-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-row { min-width: 0; }
.form-row label { color: #d9e2d5; transition: color .2s; }
.form-row:focus-within label { color: #d7fd6e; }
.form-row input, .form-row select, .form-row textarea { border-color: #6a7b68; background: #1c271e; transition: border-color .2s, box-shadow .2s, background .2s; }
.form-row input:hover, .form-row select:hover, .form-row textarea:hover { border-color: #a7c289; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { background: #253426; }
.message-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.message-label-row output { color: #a2b29d; font: 700 11px Manrope, sans-serif; white-space: nowrap; }
.contact-form .button { min-height: 58px; padding: 10px 12px 10px 20px; font-size: 14px; letter-spacing: .01em; box-shadow: 0 9px 25px #d7fd6e24; }
.contact-form .button span { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: #151914; color: #d7fd6e; font-size: 18px; transition: transform .2s; }
.contact-form .button:hover span { transform: rotate(45deg); }
@media (max-width: 560px) {
  .contact-form { box-shadow: 8px 10px 0 #141a1426, 0 20px 45px #17241635; }
  .form-split { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .form-head h3 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-form .button span, .form-row label, .form-row input, .form-row select, .form-row textarea { transition: none; }
}

/* Viewfinder cursor: mouse only; form fields keep their familiar text cursor. */
.custom-cursor { display: none; pointer-events: none; position: fixed; inset: 0; z-index: 1000; opacity: 0; transition: opacity .2s ease; }
.custom-cursor.is-visible:not(.over-control) { opacity: 1; }
.cursor-ring, .cursor-dot { position: absolute; top: 0; left: 0; translate: -50% -50%; border-radius: 50%; will-change: transform; }
.cursor-ring { width: 32px; height: 32px; border: 1px solid #d7fd6e; box-shadow: 0 0 0 1px #10111450, 0 0 22px #d7fd6e35; transition: width .22s ease, height .22s ease, border-color .22s ease, background .22s ease; }
.cursor-dot { width: 5px; height: 5px; background: #d7fd6e; box-shadow: 0 0 10px #d7fd6e99; transition: width .2s ease, height .2s ease, background .2s ease; }
.custom-cursor.over-link .cursor-ring { width: 52px; height: 52px; background: #d7fd6e20; }
.custom-cursor.over-link .cursor-dot { width: 7px; height: 7px; }
.custom-cursor.is-pressed .cursor-ring { width: 24px; height: 24px; }
.custom-cursor.on-light .cursor-ring { border-color: #172416; box-shadow: 0 0 0 1px #d7fd6e44; }
.custom-cursor.on-light .cursor-dot { background: #172416; box-shadow: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .custom-cursor { display: block; }
  .has-custom-cursor, .has-custom-cursor body, .has-custom-cursor a, .has-custom-cursor button, .has-custom-cursor summary { cursor: none; }
  .has-custom-cursor input, .has-custom-cursor textarea { cursor: text; }
  .has-custom-cursor select { cursor: pointer; }
  .has-custom-cursor .portfolio-dialog,
  .has-custom-cursor .portfolio-dialog::backdrop,
  .has-custom-cursor .portfolio-dialog button,
  .has-custom-cursor .portfolio-dialog > a { cursor: none; }
}

/* SVG arrows keep the same appearance on iOS and other platforms. */
.direction-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ticker-track { flex-wrap: nowrap; will-change: transform; }
.ticker-track > span { flex: 0 0 auto; }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { will-change: auto; }
}

.portfolio-placeholder[hidden] { display: none; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.portfolio-card { padding: 0 0 22px; border: 0; border-bottom: 1px solid #ffffff30; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; min-width: 0; }
.portfolio-card-visual { position: relative; display: grid; place-items: center; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg,#28382c,#141917); }
.portfolio-card-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s; }
.portfolio-card:hover img { transform: scale(1.04); }
.portfolio-play { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #d7fd6e; color: #101114; }
.portfolio-play svg { width: 24px; height: 24px; fill: currentColor; }
.vimeo-mark { position: absolute; font: 800 clamp(30px,3vw,50px) Manrope,sans-serif; letter-spacing: -.06em; color: #ffffff14; }
.portfolio-category { display: block; color: #d7fd6e; font-size: 11px; letter-spacing: 1px; margin: 20px 0 9px; }
.portfolio-card strong { font: 700 23px/1.3 Manrope,sans-serif; letter-spacing: -.04em; overflow-wrap: anywhere; }
.portfolio-dialog { padding: 24px; width: min(960px,calc(100% - 32px)); max-height: calc(100dvh - 32px); background: #171b19; color: #f4f5eb; border: 1px solid #536047; cursor: auto; }
.portfolio-dialog::backdrop { background: #000d; cursor: auto; }
.portfolio-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.portfolio-dialog h2 { font: 700 24px/1.3 Manrope,sans-serif; letter-spacing: -.04em; }
.portfolio-dialog button { background: #d7fd6e; color: #101114; padding: 12px 18px; border: 0; font: 700 13px Manrope,sans-serif; min-height: 44px; cursor: pointer; }
.portfolio-dialog iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; background: #000; }
.portfolio-dialog > a { display: inline-block; margin-top: 18px; color: #d7fd6e; padding-block: 10px; font-size: 13px; cursor: pointer; }
@media(max-width:1000px) { .portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .portfolio-grid { grid-template-columns: 1fr; } .portfolio-dialog { padding: 16px; } .portfolio-dialog h2 { font-size: 18px; } }
@media(prefers-reduced-motion:reduce) { .portfolio-card-visual img { transition: none; } }

/* Brief, session-aware brand introduction. Hidden by default if JavaScript is unavailable. */
.site-preloader[hidden] { display: none; }
.intro-active, .intro-active body { overflow: hidden; }
.site-preloader { position: fixed; inset: 0; z-index: 1100; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 4vw, 56px); color: #f5f3ee; background: radial-gradient(ellipse at 50% 45%, #253022 0, #131814 33%, #101114 65%); cursor: default; isolation: isolate; transition: transform .48s cubic-bezier(.76, 0, .24, 1), visibility .48s; }
.site-preloader::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .2; background-image: linear-gradient(#d7fd6e18 1px, transparent 1px), linear-gradient(90deg, #d7fd6e18 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse, #000, transparent 70%); }
.site-preloader.is-leaving { transform: translateY(-100%); visibility: hidden; }
.preloader-top, .preloader-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 600 10px/1.6 Manrope, sans-serif; letter-spacing: 1.8px; color: #9aa494; position: relative; z-index: 2; }
.preloader-top { align-items: flex-start; }
.preloader-location { text-align: right; }
.preloader-center { position: absolute; left: 50%; top: 49%; transform: translate(-50%, -50%); width: min(78vw, 460px); aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.preloader-orbit { position: absolute; inset: 0; border: 1px solid #d7fd6e22; border-radius: 50%; animation: intro-focus 1.2s cubic-bezier(.2,.7,.2,1) both; }
.preloader-orbit::before { content: ''; position: absolute; inset: 12px; border: 1px solid transparent; border-top-color: #d7fd6e; border-right-color: #d7fd6e66; border-radius: 50%; animation: intro-orbit 1.6s cubic-bezier(.2,.6,.3,1) both; }
.preloader-orbit::after { content: ''; position: absolute; inset: -18px; border: 1px dashed #d7fd6e16; border-radius: 50%; }
.preloader-wordmark { font: 800 clamp(110px, 17vw, 200px)/.85 Manrope, sans-serif; letter-spacing: -.11em; padding-right: .1em; position: relative; animation: intro-wordmark .75s cubic-bezier(.2,.7,.2,1) both; }
.preloader-wordmark > span { color: #d7fd6e; }
.preloader-wordmark small { display: block; font: 700 clamp(12px, 2vw, 17px)/1.5 Manrope, sans-serif; letter-spacing: .65em; text-align: center; padding-left: .65em; margin-top: 24px; }
.preloader-center p { position: relative; margin: 28px 0 0; font-size: clamp(14px, 2vw, 18px); color: #aeb8a6; animation: intro-caption .65s .18s both; }
.preloader-center em { color: #d7fd6e; font-style: normal; }
.preloader-skip { min-height: 44px; padding: 8px 0 8px 16px; border: 0; background: transparent; color: #d7fd6e; font: 600 12px Manrope, sans-serif; cursor: pointer !important; }
.preloader-skip span { margin-left: 12px; }
.preloader-skip:focus-visible { outline: 1px solid #d7fd6e; outline-offset: 5px; }
.preloader-line { position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: #d7fd6e; transform-origin: left; animation: intro-line 1.05s cubic-bezier(.2,.65,.3,1) both; }
@keyframes intro-focus { from { transform: scale(1.18); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes intro-orbit { from { transform: rotate(-100deg); } to { transform: rotate(250deg); } }
@keyframes intro-wordmark { from { transform: translateY(18px); opacity: 0; filter: blur(8px); } to { transform: translateY(0); opacity: 1; filter: blur(0); } }
@keyframes intro-caption { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes intro-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media(max-width:560px) { .preloader-top, .preloader-bottom { font-size: 8px; letter-spacing: 1px; } .preloader-top > span:first-child { max-width: 150px; } .preloader-center p { margin-top: 22px; } }
@media(max-height:500px) { .preloader-center { width: min(52vh, 320px); } .preloader-wordmark { font-size: 80px; } .preloader-wordmark small { margin-top: 12px; } .preloader-center p { margin-top: 14px; font-size: 12px; } }
@media(prefers-reduced-motion:reduce) { .site-preloader { display: none; } .intro-active, .intro-active body { overflow: visible; } }
