/*
  Theme Name: CodeGen LLP
  Theme URI: https://codegen.pk/
  Author: CodeGen LLP
  Description: A responsive CodeGen LLP theme with home, contact, privacy, and terms pages.
  Version: 1.2.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: codegen-llp
Tags: one-column, custom-logo, accessibility-ready
*/

:root {
  color-scheme: light;
  --orange: #fba302;
  --orange-dark: #de8900;
  --ink: #151515;
  --copy: #5d5d60;
  --muted: #85858a;
  --line: #e9e9e8;
  --paper: #ffffff;
  --soft-paper: #f7f7f5;
  --font-body: Arial, sans-serif;
  --font-heading: 'Montserrat', Arial, sans-serif;
}

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
.brand-wordmark, .primary-navigation, .button, .eyebrow { font-family: var(--font-heading); }
::selection { background: #fba30255; color: #151515; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--ink);
  color: white;
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }
.page-container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.section-space { padding-block: 116px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 86px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(18, 18, 18, .055);
  transition: box-shadow 220ms ease, background 220ms ease;
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 6px 25px #1515150a; }
.nav-wrap { width: min(1280px, calc(100% - 64px)); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--ink); }
.custom-logo-link { display: inline-flex; align-items: center; flex: 0 0 auto; }
.custom-logo-link .custom-logo { width: auto; max-height: 42px; }
.brand-symbol { width: 39px; height: 39px; color: var(--ink); }
.brand-wordmark { display: flex; flex-direction: column; gap: 0; font-size: 15px; line-height: 1.1; font-weight: 800; letter-spacing: .095em; }
.brand-wordmark small { margin-top: 4px; color: var(--orange-dark); font-size: 9px; letter-spacing: .36em; }
.primary-navigation { display: flex; align-items: center; gap: clamp(14px, 2.05vw, 31px); }
.primary-menu-list { display: flex; align-items: center; gap: clamp(14px, 2.05vw, 31px); margin: 0; padding: 0; list-style: none; }
.primary-menu-list > li { list-style: none; }
.primary-menu-list > li > a { position: relative; display: inline-block; padding-block: 8px; color: #3d3d40; font-size: 11px; font-weight: 600; transition: color 180ms ease; white-space: nowrap; }
.primary-menu-list > li > a::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 1px; background: var(--orange); content: ''; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.primary-menu-list > li > a:hover { color: var(--ink); }
.primary-menu-list > li > a:hover::after { transform: scaleX(1); }
.nav-quote { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 41px; padding: 0 17px; border-radius: 2px; background: var(--ink); color: white; font-size: 11px; font-weight: 600; white-space: nowrap; transition: background 180ms ease, transform 180ms ease; }
.nav-quote:hover { background: var(--orange-dark); transform: translateY(-1px); }
.menu-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 3px; background: white; cursor: pointer; }

.hero { position: relative; min-height: min(760px, calc(100svh - 86px)); min-height: max(650px, min(760px, calc(100svh - 86px))); overflow: hidden; background: #141414; color: white; }
.hero-slide { position: absolute; inset: 0; z-index: 0; background-color: #171717; background-position: center 52%; background-size: cover; opacity: 0; visibility: hidden; transition: opacity 900ms ease, visibility 900ms ease; }
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 12, 12, .91) 0%, rgba(12, 12, 12, .79) 33%, rgba(12, 12, 12, .37) 70%, rgba(12, 12, 12, .16) 100%), linear-gradient(0deg, rgba(12, 12, 12, .42) 0%, transparent 24%, transparent 68%, rgba(12, 12, 12, .11) 100%); }
.hero-inner { position: relative; z-index: 2; min-height: inherit; display: flex; align-items: center; padding-top: 30px; padding-bottom: 78px; pointer-events: none; }
.hero-copy { width: min(660px, 64%); pointer-events: auto; animation: hero-rise 650ms both; }
.hero-eyebrow { color: rgba(255,255,255,.82) !important; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: #747477; font-size: 10px; font-weight: 700; letter-spacing: .21em; line-height: 1.45; text-transform: uppercase; }
.eyebrow > span:first-child:not(.eyebrow-line) { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.eyebrow-line { width: 30px; height: 1px; background: var(--orange); }
.hero-copy h1 { max-width: 690px; margin: 0; font-size: clamp(46px, 6.1vw, 78px); font-weight: 700; letter-spacing: -.057em; line-height: 1.08; }
.hero-copy h1 span { color: var(--orange); }
.hero-description { max-width: 510px; margin: 23px 0 30px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 13px; padding: 0 20px; border: 1px solid transparent; border-radius: 2px; font-size: 11px; font-weight: 700; line-height: 1; transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-orange { background: var(--orange); color: #171717; }
.button-orange:hover { background: #ffb421; }
.button-ghost { border-color: rgba(255,255,255,.45); color: white; }
.button-ghost:hover { border-color: white; background: white; color: var(--ink); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--orange); color: var(--ink); }
.hero-bottom { position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; padding-block: 24px 30px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; color: rgba(255,255,255,.73); font-size: 10px; font-weight: 500; letter-spacing: .08em; }
.scroll-cue-icon { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(255,255,255,.43); border-radius: 50%; color: var(--orange); transition: background 180ms ease, color 180ms ease; }
.scroll-cue:hover .scroll-cue-icon { background: var(--orange); color: var(--ink); }
.hero-controls { display: flex; align-items: center; gap: 8px; }
.slide-count { display: flex; align-items: center; gap: 9px; margin-right: 13px; color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: .12em; }
.slide-count b { color: var(--orange); font-size: 13px; font-weight: 700; }
.slide-count > span { width: 27px; height: 1px; background: rgba(255,255,255,.38); }
.slide-dots { display: flex; align-items: center; gap: 6px; margin-right: 12px; }
.slide-dot { width: 18px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.slide-dot::after { display: block; width: 6px; height: 6px; margin: auto; border-radius: 50%; background: rgba(255,255,255,.48); content: ''; transition: background 180ms ease, transform 180ms ease; }
.slide-dot.is-active::after { background: var(--orange); transform: scale(1.35); }
.slider-arrow { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; background: transparent; color: white; cursor: pointer; transition: background 180ms ease, color 180ms ease, border-color 180ms ease; }
.slider-arrow:hover { border-color: var(--orange); background: var(--orange); color: var(--ink); }
@keyframes hero-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.about-section { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: clamp(55px, 8vw, 112px); }
.about-copy h2, .section-heading-row h2, .values-heading h2, .why-intro h2, .contact-heading h2 { margin: 0; font-size: clamp(35px, 4.1vw, 51px); font-weight: 600; letter-spacing: -.055em; line-height: 1.18; }
.about-copy h2 span, .section-heading-row h2 span, .values-heading h2 span, .why-intro h2 span, .contact-heading h2 span { color: var(--orange-dark); }
.section-intro { max-width: 580px; margin: 20px 0 0; color: var(--copy); font-size: 13px; line-height: 1.95; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 23px; color: var(--ink); font-size: 11px; font-weight: 700; transition: color 180ms ease, gap 180ms ease; }
.text-link svg { color: var(--orange-dark); }
.text-link:hover { gap: 14px; color: var(--orange-dark); }
.about-principles { display: grid; gap: 18px; margin-top: 42px; padding-top: 25px; border-top: 1px solid var(--line); }
.about-principles > div { display: flex; align-items: flex-start; gap: 13px; }
.principle-mark { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid #f1d8a9; border-radius: 50%; color: var(--orange-dark); }
.about-principles strong { display: block; margin: 0 0 2px; font-size: 11px; font-weight: 700; }
.about-principles p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.about-visual { position: relative; max-width: 445px; justify-self: end; width: 100%; padding: 0 19px 19px 0; }
.about-photo-wrap { position: relative; width: 100%; aspect-ratio: .88; overflow: hidden; background: #ede9e0; }
.about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 550ms ease; }
.about-visual:hover .about-photo { transform: scale(1.035); }
.about-photo-wash { position: absolute; inset: 0; background: linear-gradient(140deg, transparent 56%, rgba(20,20,20,.15)); pointer-events: none; }
.about-visual::after { position: absolute; z-index: -1; right: 0; bottom: 0; width: 72%; height: 61%; background: var(--orange); content: ''; }
.about-note { position: absolute; right: -25px; bottom: 48px; display: flex; align-items: center; gap: 11px; max-width: 280px; padding: 16px 19px; background: white; box-shadow: 0 15px 45px #11111114; }
.note-mark { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border-radius: 50%; background: #fef1d8; color: var(--orange-dark); }
.about-note strong, .about-note span:not(.note-mark) { display: block; }
.about-note strong { font-size: 10px; font-weight: 700; }
.about-note div > span { color: var(--muted); font-size: 9px; }
.about-index { position: absolute; top: 17px; right: 38px; display: flex; align-items: center; gap: 10px; color: white; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.about-index span { color: rgba(255,255,255,.73); font-size: 9px; }

.services-section { background: var(--soft-paper); }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; margin-bottom: 43px; }
.section-heading-row h2 { max-width: 590px; }
.section-heading-aside { max-width: 370px; margin: 0 0 3px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.service-reveal { height: 100%; }
.service-card { display: flex; min-height: 300px; height: 100%; flex-direction: column; padding: 28px 27px 22px; border: 1px solid #e9e9e7; background: white; transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease; }
.service-card:hover { transform: translateY(-5px); border-color: #f2c164; box-shadow: 0 17px 37px #16161608; }
.service-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-icon { display: grid; width: 45px; height: 45px; place-items: center; background: #fff5e4; color: #ba7900; }
.service-number { color: #aaa; font-size: 10px; letter-spacing: .1em; }
.service-card h3 { margin: 27px 0 10px; font-size: 17px; font-weight: 600; letter-spacing: -.035em; }
.service-card > p { margin: 0; color: var(--copy); font-size: 11px; line-height: 1.9; }
.service-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 24px; }
.service-card-foot > span { color: #86868a; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.service-card-foot a { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: background 180ms ease, border-color 180ms ease; }
.service-card-foot a:hover { border-color: var(--orange); background: var(--orange); }

.values-section { background: white; }
.values-heading { max-width: 650px; margin: 0 auto 45px; text-align: center; }
.values-heading .eyebrow { justify-content: center; }
.values-heading .section-intro { margin-inline: auto; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.value-reveal { min-width: 0; }
.value-reveal + .value-reveal { border-left: 1px solid var(--line); }
.value-card { height: 100%; min-height: 230px; padding: 27px 22px; transition: background 200ms ease; }
.value-card:hover { background: #fdfaf4; }
.value-icon { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid #f0d7aa; border-radius: 50%; color: #ba7900; }
.value-card h3 { margin: 20px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: -.01em; }
.value-card p { margin: 0; color: var(--copy); font-size: 10px; line-height: 1.8; }

.why-section { background: #f7f7f5; }
.why-grid { display: grid; grid-template-columns: .93fr 1fr; align-items: center; gap: clamp(55px, 8vw, 110px); }
.why-intro .section-intro { max-width: 500px; margin-bottom: 27px; }
.why-list-wrap { padding: 32px 35px 26px; background: #171717; color: white; }
.why-list-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid #ffffff24; color: #fff; font-size: 11px; font-weight: 600; }
.why-list-heading svg { color: var(--orange); }
.why-list { display: grid; gap: 14px; margin: 22px 0 23px; padding: 0; list-style: none; }
.why-list li { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.83); font-size: 10px; }
.why-list li > span { display: grid; width: 21px; height: 21px; flex: 0 0 21px; place-items: center; border-radius: 50%; background: #fba3021b; color: var(--orange); }
.why-footer-note { display: flex; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid #ffffff24; color: rgba(255,255,255,.58); font-size: 9px; letter-spacing: .02em; }
.orange-dot, .work-status > span { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--orange); }

.work-section { background: white; }
.work-heading { margin-bottom: 34px; }
.work-empty { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 310px; border: 1px solid var(--line); }
.work-empty-art { display: flex; align-items: stretch; justify-content: center; padding: 24px; overflow: hidden; background: #f5f4f0; }
.work-art-frame { position: relative; display: flex; min-height: 260px; width: 100%; flex-direction: column; justify-content: space-between; padding: 22px 24px; overflow: hidden; background: #e9e7df; }
.work-art-kicker { position: relative; z-index: 1; color: #6c6b67; font-size: 8px; font-weight: 700; letter-spacing: .17em; }
.work-art-kicker span { padding-inline: 4px; color: var(--orange-dark); }
.work-art-rule { position: absolute; top: 52px; right: 24px; left: 24px; height: 1px; background: #14141418; }
.work-art-number { position: relative; z-index: 1; margin-top: auto; color: #64635f; font-size: 9px; font-weight: 600; letter-spacing: .15em; }
.work-art-number span { padding-inline: 3px; color: var(--orange-dark); }
.work-art-statement { position: relative; z-index: 1; color: #252522; font-size: clamp(30px, 4vw, 46px); font-weight: 600; letter-spacing: -.06em; line-height: 1.08; }
.work-art-orbit { position: absolute; top: 25%; right: 8%; width: 220px; aspect-ratio: 1; border: 1px solid #c18b2e54; border-radius: 50%; }
.orbit-two { top: 40%; right: -1%; width: 146px; border-color: #c18b2e83; }
.work-art-dot { position: absolute; right: 22%; bottom: 28%; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.work-empty-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 45px clamp(28px, 5vw, 65px); }
.work-status { display: inline-flex; align-items: center; gap: 8px; color: #767679; font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.work-empty-copy h3 { margin: 20px 0 11px; font-size: clamp(24px, 3vw, 35px); font-weight: 600; letter-spacing: -.055em; line-height: 1.22; }
.work-empty-copy h3 span { color: var(--orange-dark); }
.work-empty-copy p { max-width: 385px; margin: 0; color: var(--copy); font-size: 11px; line-height: 1.9; }
.work-empty-copy .text-link { margin-top: 20px; }

.cta-section { position: relative; overflow: hidden; background: #161616; color: white; }
.cta-content { position: relative; z-index: 1; display: flex; min-height: 350px; align-items: center; justify-content: space-between; padding-block: 62px; }
.cta-eyebrow { color: rgba(255,255,255,.67); }
.cta-content h2 { margin: 0; font-size: clamp(38px, 5vw, 58px); font-weight: 600; letter-spacing: -.06em; line-height: 1.15; }
.cta-content h2 span { color: var(--orange); }
.cta-content p:not(.eyebrow) { max-width: 460px; margin: 14px 0 24px; color: rgba(255,255,255,.68); font-size: 12px; }
.cta-mark { position: absolute; right: 0; color: #ffffff0a; font-size: clamp(130px, 23vw, 270px); font-weight: 800; letter-spacing: -.12em; line-height: .8; pointer-events: none; }
.cta-mark span { color: #fba30215; }
.cta-orbit { position: absolute; top: -155px; right: 9%; width: 410px; aspect-ratio: 1; border: 1px solid #fba30221; border-radius: 50%; }
.cta-orbit-two { top: -86px; right: 15%; width: 270px; border-color: #fba30237; }

.contact-section { background: #fafaf8; }
.contact-heading { margin-bottom: 43px; text-align: center; }
.contact-heading .eyebrow { justify-content: center; }
.contact-heading .section-intro { max-width: 540px; margin: 15px auto 0; }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 44px; align-items: stretch; }
.contact-details { display: flex; flex-direction: column; align-items: stretch; padding: 31px 28px; background: #181818; color: white; }
.contact-symbol { display: grid; width: 43px; height: 43px; margin-bottom: 17px; place-items: center; border: 1px solid #fba3024c; border-radius: 50%; color: var(--orange); }
.contact-details-title h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.035em; }
.contact-details-title > p { max-width: 300px; margin: 8px 0 20px; color: rgba(255,255,255,.64); font-size: 10px; line-height: 1.8; }
.contact-method { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid #ffffff20; }
.contact-method-icon { display: grid; width: 33px; height: 33px; flex: 0 0 33px; place-items: center; border-radius: 50%; background: #ffffff0d; color: var(--orange); }
.contact-method small, .contact-method strong { display: block; }
.contact-method small { margin-bottom: 3px; color: rgba(255,255,255,.58); font-size: 9px; }
.contact-method strong { color: white; font-size: 10px; font-weight: 600; line-height: 1.7; overflow-wrap: anywhere; transition: color 160ms ease; }
.contact-method:hover strong { color: var(--orange); }
.contact-method-arrow { flex: 0 0 auto; margin-left: auto; color: rgba(255,255,255,.48); }
.contact-address { align-items: flex-start; }
.contact-address .contact-method-icon { margin-top: 2px; }
.contact-direct-note { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; color: rgba(255,255,255,.53); font-size: 9px; }
.contact-form-wrap { padding: 29px 32px 31px; border: 1px solid #e8e8e5; background: white; }

.content-page-section { min-height: 62vh; background: #fafaf8; }
.content-page-heading { max-width: 830px; margin: 0 auto 38px; }
.content-page-heading h1 { margin: 0; color: var(--ink); font-size: clamp(39px, 5vw, 59px); font-weight: 600; letter-spacing: -.06em; line-height: 1.12; }
.content-page-heading h1 span { color: var(--orange-dark); }
.content-page-subtitle { margin: 15px 0 0; color: var(--copy); font-size: 14px; line-height: 1.8; }
.content-page-meta { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.policy-content { max-width: 900px; margin-inline: auto; padding: clamp(25px, 5vw, 58px); border: 1px solid var(--line); background: white; }
.policy-content h2 { margin: 32px 0 10px; font-size: 18px; font-weight: 600; letter-spacing: -.035em; line-height: 1.4; }
.policy-content h2:first-of-type { margin-top: 28px; }
.policy-content p, .policy-content li { color: var(--copy); font-size: 13px; line-height: 1.9; }
.policy-content p { margin: 0 0 15px; }
.policy-content ul { display: grid; gap: 7px; margin: 8px 0 17px; padding-left: 22px; }
.policy-content li::marker { color: var(--orange-dark); }
.policy-content ul ul { margin-block: 7px 0; }
.policy-content a, .contact-page-instruction a { color: #a96b00; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.policy-content a:hover, .contact-page-instruction a:hover { color: var(--ink); }
.contact-page-heading { margin-bottom: 37px; }
.contact-page-instruction { margin: 19px 0 0; padding: 15px 18px; border-left: 3px solid var(--orange); background: #fff; color: var(--copy); font-size: 12px; line-height: 1.8; }
.contact-page-section .contact-details { min-height: 100%; }
.contact-page-section .contact-details-title h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.035em; }
.form-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: #77777a; font-size: 9px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.form-heading span:first-child { color: #aaa; }
.form-heading i { padding-inline: 5px; color: var(--orange-dark); font-style: normal; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 17px; }
.form-field { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: #333336; font-size: 10px; font-weight: 600; }
.form-field label > span:not(.optional-label) { color: var(--orange-dark); }
.form-field .optional-label { margin-left: 5px; color: #9a9a9d; font-size: 8px; font-weight: 500; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #e7e7e5; border-radius: 1px; outline: none; background: #fff; color: var(--ink); font-size: 10px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.form-field input { height: 43px; padding: 0 12px; }
.form-field textarea { min-height: 113px; padding: 11px 12px; resize: vertical; line-height: 1.7; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #aaa; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px #fba3021a; }
.form-field input[aria-invalid='true'], .form-field textarea[aria-invalid='true'] { border-color: #c13e32; }
.field-error { color: #a52d24; font-size: 9px; }
.honeypot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { display: flex; align-items: flex-start; gap: 8px; margin: 17px 0 0; font-size: 10px; line-height: 1.65; }
.form-status-success { color: #23744f; }
.form-status-success svg { flex: 0 0 auto; }
.form-status-error { color: #a52d24; }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 19px; }
.form-submit { min-width: 185px; min-height: 45px; padding-inline: 16px; border: 0; cursor: pointer; }
.form-submit:disabled { cursor: wait; opacity: .7; }
.form-submit-row > p { max-width: 190px; margin: 0; color: #88888b; font-size: 8px; line-height: 1.7; }
.spin { animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.site-footer { background: #151515; color: white; }
.footer-main { display: grid; grid-template-columns: 1.2fr .65fr 1fr .7fr auto; gap: 40px; padding-block: 58px 45px; }
.brand-light { color: white; }
.footer-about > p { max-width: 250px; margin: 17px 0 0; color: rgba(255,255,255,.53); font-size: 10px; line-height: 1.8; }
.footer-links-group { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links-group h2 { margin: 0 0 8px; color: white; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.footer-links-group > a, .footer-menu a { display: inline-flex; align-items: center; gap: 4px; color: rgba(255,255,255,.6); font-size: 9px; line-height: 1.65; transition: color 160ms ease; }
.footer-links-group > a:hover, .footer-menu a:hover { color: var(--orange); }
.footer-menu { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-menu li { list-style: none; }
.footer-widgets { display: flex; flex-wrap: wrap; gap: 28px; padding-block: 24px; border-top: 1px solid #ffffff21; }
.footer-widget { min-width: 180px; color: rgba(255,255,255,.6); font-size: 10px; line-height: 1.7; }
.footer-widget-title { margin: 0 0 8px; color: white; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.footer-widget ul { margin: 0; padding-left: 16px; }
.footer-top-link { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #ffffff30; border-radius: 50%; color: var(--orange); transform: rotate(-45deg); transition: background 160ms ease, color 160ms ease; }
.footer-top-link:hover { background: var(--orange); color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 16px; border-top: 1px solid #ffffff21; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.47); font-size: 9px; }
.footer-bottom p span { color: var(--orange); }

.reveal { opacity: 1; transform: none; }
.js-reveal-enabled .reveal { opacity: 0; transform: translateY(17px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.65,.25,1); }
.js-reveal-enabled .reveal.is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid #fba302; outline-offset: 3px; }

@media (max-width: 1080px) {
  .primary-navigation { gap: 15px; }
  .primary-menu-list { gap: 15px; }
  .primary-menu-list > li > a { font-size: 10px; }
  .nav-quote { padding-inline: 13px; }
  .about-grid { gap: 55px; }
  .contact-grid { gap: 24px; }
  .footer-main { gap: 30px; }
}

@media (max-width: 820px) {
  .page-container, .nav-wrap { width: min(100% - 44px, 680px); }
  .site-header { height: 76px; }
  .menu-toggle { display: inline-flex; }
  .primary-navigation { position: absolute; top: calc(100% - 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 12px 22px 20px; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 16px 30px #15151512; }
  .primary-navigation.is-open { display: flex; flex-direction: column; }
  .primary-menu-list { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-menu-list > li > a { display: block; padding: 12px 2px; border-bottom: 1px solid #f0f0ee; font-size: 12px; }
  .primary-menu-list > li > a::after { display: none; }
  .primary-navigation .nav-quote { align-self: flex-start; margin-top: 13px; }
  .hero { min-height: max(610px, calc(100svh - 76px)); }
  .hero-copy { width: min(600px, 83%); }
  .hero-copy h1 { font-size: clamp(45px, 8vw, 66px); }
  .hero-description { max-width: 450px; }
  .about-grid, .why-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-visual { width: min(100%, 455px); justify-self: center; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 13px; }
  .section-heading-aside { max-width: 520px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-reveal:last-child { grid-column: 1 / -1; }
  .service-reveal:last-child .service-card { min-height: 245px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-reveal:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .value-reveal:nth-child(4) { border-top: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-details { min-height: 380px; }
  .footer-main { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .footer-top-link { grid-column: 2; grid-row: auto; justify-self: end; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 76px; }
  .page-container, .nav-wrap { width: calc(100% - 36px); }
  .section-space { padding-block: 78px; }
  .brand-symbol { width: 35px; height: 35px; }
  .custom-logo-link .custom-logo { max-height: 35px; }
  .brand-wordmark { font-size: 13px; }
  .hero { min-height: 650px; }
  .hero-slide { background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(12,12,12,.89) 0%, rgba(12,12,12,.69) 58%, rgba(12,12,12,.4) 100%), linear-gradient(0deg, rgba(12,12,12,.6), transparent 38%); }
  .hero-inner { align-items: center; padding-top: 0; padding-bottom: 100px; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: clamp(42px, 12vw, 56px); }
  .hero-description { max-width: 390px; font-size: 12px; }
  .eyebrow { margin-bottom: 16px; font-size: 9px; letter-spacing: .15em; }
  .button { min-height: 45px; padding-inline: 15px; font-size: 10px; }
  .hero-bottom { padding-block: 16px 23px; }
  .scroll-cue { gap: 8px; font-size: 9px; }
  .slide-count { gap: 6px; margin-right: 4px; }
  .slide-count > span { width: 14px; }
  .slide-dots { gap: 1px; margin-right: 3px; }
  .slider-arrow { width: 32px; height: 32px; }
  .about-copy h2, .section-heading-row h2, .values-heading h2, .why-intro h2, .contact-heading h2 { font-size: clamp(33px, 9vw, 42px); }
  .about-grid { gap: 40px; }
  .about-note { right: 0; bottom: 27px; max-width: 255px; padding: 12px 14px; }
  .about-principles { margin-top: 32px; }
  .section-heading-row { margin-bottom: 30px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-reveal:last-child { grid-column: auto; }
  .service-card, .service-reveal:last-child .service-card { min-height: 265px; padding: 23px 22px 20px; }
  .values-heading { margin-bottom: 30px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-reveal + .value-reveal, .value-reveal:nth-child(3), .value-reveal:nth-child(4) { border-top: 1px solid var(--line); border-left: 0; }
  .value-card { min-height: 0; padding: 22px; }
  .value-card h3 { margin-top: 14px; }
  .why-grid { gap: 34px; }
  .why-list-wrap { padding: 25px 22px 21px; }
  .work-empty { grid-template-columns: 1fr; }
  .work-empty-art { padding: 13px; }
  .work-art-frame { min-height: 220px; padding: 18px; }
  .work-empty-copy { padding: 28px 23px 32px; }
  .work-empty-copy h3 { font-size: 29px; }
  .cta-content { min-height: 325px; padding-block: 55px; }
  .cta-content h2 { font-size: 41px; }
  .cta-mark { right: -8px; bottom: 25px; font-size: 132px; }
  .cta-orbit { right: -39%; }
  .cta-orbit-two { right: -20%; }
  .contact-heading { margin-bottom: 29px; }
  .contact-grid { gap: 16px; }
  .contact-details { min-height: 0; padding: 25px 21px; }
  .contact-direct-note { margin-top: 18px; }
  .contact-form-wrap { padding: 23px 19px; }
  .form-fields { grid-template-columns: 1fr; gap: 13px; }
  .form-field-wide { grid-column: auto; }
  .form-submit-row { align-items: flex-start; flex-direction: column; }
  .form-submit-row > p { max-width: none; }
  .form-submit { min-width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 27px 20px; padding-block: 42px 30px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-top-link { grid-column: 2; grid-row: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-reveal-enabled .reveal { opacity: 1; transform: none; }
}
