:root {
  --ink: #25242b;
  --paper: #fffaf1;
  --white: #ffffff;
  --blue: #008dbb;
  --deep-blue: #2853a0;
  --orange: #f35b0b;
  --yellow: #f7af00;
  --green: #79bf00;
  --dark-green: #008f37;
  --purple: #623194;
  --line: rgba(37,36,43,.15);
  --shadow: 0 24px 60px rgba(37,36,43,.09);
  --radius: 28px;
  --sans: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 120px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-150%); background: var(--ink); color: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(255,250,241,.88); backdrop-filter: blur(15px); border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(37,36,43,.05); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 205px; flex: 0 0 auto; }
.brand img, .footer-brand img { width: 100%; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { text-decoration: none; font-size: .88rem; font-weight: 800; }
.main-nav a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta { background: var(--ink); color: white; padding: 11px 18px; border-radius: 999px; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.hero { position: relative; min-height: 850px; padding: 190px 0 55px; background: radial-gradient(circle at 80% 25%, rgba(247,175,0,.09), transparent 24%), var(--paper); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.eyebrow, .kicker, .section-label { text-transform: uppercase; letter-spacing: .13em; font-size: .73rem; font-weight: 900; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 11px; height: 11px; background: var(--orange); border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.045em; line-height: .98; }
h1 { margin: 28px 0; font-size: clamp(4rem, 7vw, 6.6rem); }
h1 em, .attitude h2 em { position: relative; color: var(--orange); font-style: normal; }
h1 em::after { content: ""; position: absolute; left: 1%; right: -3%; bottom: -5px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20'%3E%3Cpath d='M3 14c45-11 103-8 194-10' fill='none' stroke='%23f35b0b' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.hero-lead { max-width: 640px; font-size: 1.17rem; line-height: 1.75; color: #55535a; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 15px 22px; border-radius: 999px; text-decoration: none; font-weight: 900; }
.button-primary { background: var(--ink); color: white; box-shadow: 0 12px 25px rgba(37,36,43,.16); }
.button span { transition: transform .2s; }
.button:hover span { transform: translateX(4px); }
.text-link { font-weight: 900; text-underline-offset: 6px; }
.hero-art { position: relative; min-height: 520px; }
.path-card { position: absolute; inset: 25px 30px 20px 60px; background: var(--deep-blue); border-radius: 48% 52% 45% 55% / 58% 43% 57% 42%; transform: rotate(3deg); color: white; box-shadow: var(--shadow); }
.path-card p { position: absolute; z-index: 2; left: 19%; bottom: 16%; font-size: clamp(1.45rem, 2.3vw, 2.15rem); line-height: 1.4; transform: rotate(-3deg); }
.path-line { position: absolute; left: 26%; top: 2%; width: 47%; height: 70%; border: 7px dashed rgba(255,255,255,.8); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(24deg); }
.path-dot { position: absolute; z-index: 3; width: 28px; height: 28px; background: var(--yellow); border: 6px solid white; border-radius: 50%; }
.dot-a { top: 10%; left: 34%; }.dot-b { top: 31%; right: 18%; background: var(--orange); }
.sun { position: absolute; right: 0; top: 0; width: 150px; height: 150px; background: var(--yellow); border-radius: 50%; }
.scribble { position: absolute; z-index: 5; right: 0; bottom: 0; width: 180px; fill: none; stroke: var(--orange); stroke-width: 8; stroke-linecap: round; }
.hero-orbit { position: absolute; border-radius: 50%; filter: blur(.2px); }
.orbit-two { width: 20px; height: 20px; background: var(--purple); right: 3vw; top: 65%; }
.trust-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); }
.trust-row span { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.mark { width: 14px; height: 14px; border-radius: 5px 50% 50%; transform: rotate(35deg); }
.mark-blue { background: var(--blue); }.mark-orange { background: var(--orange); }.mark-green { background: var(--green); }.mark-purple { background: var(--purple); }

.intro { background: white; }
.intro-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 70px; }
.section-label { color: var(--orange); }
.kicker { color: var(--deep-blue); }
.intro h2, .section-head h2, .attitude h2, .contact h2 { margin: 18px 0 34px; font-size: clamp(2.7rem,5vw,4.8rem); }
.intro h2 span { color: var(--deep-blue); }
.intro-copy > p:not(.kicker) { max-width: 820px; color: #5d5a62; font-size: 1.03rem; }
.intro-copy .large-copy { color: var(--ink); font-size: 1.28rem; line-height: 1.7; }
.intro-image { margin-top: 70px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-image img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center; }
.values-strip { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 55px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.values-strip div { position: relative; padding: 28px; border-right: 1px solid var(--line); }
.values-strip div:last-child { border: 0; }
.values-strip span { display: block; margin-bottom: 24px; color: var(--orange); font-size: .73rem; font-weight: 900; }
.values-strip strong { display: block; font-size: 1.05rem; }
.values-strip small { color: #77737c; }

.services { background: #f4f0e8; }
.section-head { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; margin-bottom: 55px; }
.section-head p:last-child { max-width: 450px; color: #615e65; font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card { position: relative; padding: 42px; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgba(37,36,43,.05); transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card::before { content: ""; position: absolute; width: 230px; height: 230px; right: -80px; top: -80px; border-radius: 50%; opacity: .11; }
.card-orange::before { background: var(--orange); }.card-blue::before { background: var(--blue); }
.service-meta { display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 900; }
.service-icon { width: 75px; margin: 50px 0 28px; }
.service-icon svg { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.card-orange .service-icon { color: var(--orange); }.card-blue .service-icon { color: var(--blue); }
.service-card h3 { font-size: 2rem; line-height: 1.18; letter-spacing: -.03em; }
.service-card p { color: #605d65; }
.service-card ul { list-style: none; padding: 0; margin: 28px 0 35px; border-top: 1px solid var(--line); }
.service-card li { padding: 10px 0 10px 23px; border-bottom: 1px solid var(--line); position: relative; }
.service-card li::before { content: "•"; position: absolute; left: 2px; color: var(--green); font-size: 1.5rem; line-height: 1; }
.service-card > a { font-weight: 900; text-decoration: none; }
.service-card > a span { margin-left: 10px; }

.attitude { color: white; background: var(--ink); }
.attitude-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.attitude h2 { margin-top: 25px; }
.attitude h2 em { color: var(--yellow); }
.attitude-title > p:not(.section-label) { color: #c4c1c8; }
.attitude-quote { margin-top: 55px; padding: 25px; border-left: 4px solid var(--orange); color: #dedbe0; font-size: 1.12rem; }
.principle { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.principle:first-child { padding-top: 0; }
.principle > span { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; background: var(--orange); font-weight: 900; }
.principle:nth-child(2) > span { background: var(--blue); }.principle:nth-child(3) > span { background: var(--green); }.principle:nth-child(4) > span { background: var(--purple); }
.principle h3 { margin-bottom: 7px; font-size: 1.35rem; }
.principle p { margin: 0; color: #bdbac1; }

.process { background: var(--yellow); }
.process .section-label { color: var(--ink); }
.process-list { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.process-list li { padding: 28px 24px 0 0; }
.process-list li > span { display: grid; place-items: center; width: 44px; height: 44px; margin-top: -51px; margin-bottom: 28px; border-radius: 50%; color: white; background: var(--ink); font-weight: 900; }
.process-list h3 { font-size: 1.2rem; }
.process-list p { font-size: .92rem; }

.career { background: white; }
.career-card { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: start; gap: 65px; padding: 70px; color: white; background: var(--purple); border-radius: 42px; overflow: hidden; }
.career-copy, .career-visual { position: relative; z-index: 2; }
.career-copy { grid-column: 2; grid-row: 1; }
.section-label.light { color: #d7ff72; }
.career h2 { margin: 22px 0; font-size: clamp(3rem,5vw,5.2rem); line-height: .98; letter-spacing: -.05em; }
.career-copy p:not(.section-label) { max-width: 600px; color: #e7dff0; font-size: 1.05rem; }
.button-light { margin-top: 20px; color: var(--ink); background: white; }
.career-visual { grid-column: 1; grid-row: 1; align-self: start; }
.career-image { margin: 0; overflow: hidden; border: 7px solid rgba(255,255,255,.15); border-radius: 28px; box-shadow: 0 24px 55px rgba(28,8,49,.3); transform: rotate(1.5deg); }
.career-image img { width: 100%; height: clamp(210px, 17vw, 280px); object-fit: cover; object-position: center; }
.career-points { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; margin-top: 22px; }
.career-points span { font-size: .84rem; font-weight: 800; }
.career-bubbles { position: absolute; inset: 0; pointer-events: none; }
.career-bubbles i { position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.career-bubbles i:nth-child(1){ width:260px;height:260px;right:-70px;top:-90px }.career-bubbles i:nth-child(2){ width:130px;height:130px;right:160px;top:-50px }.career-bubbles i:nth-child(3){ width:70px;height:70px;left:45%;top:30px;background:var(--orange) }.career-bubbles i:nth-child(4){ width:35px;height:35px;left:52%;top:115px;background:var(--yellow) }

.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.contact-copy > p:last-child { max-width: 520px; color: #605d65; font-size: 1.05rem; }
.contact-panel { padding: 50px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-kicker { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.mail-link { display: flex; justify-content: space-between; align-items: flex-start; padding: 25px 0 38px; font-size: clamp(1.55rem,3.2vw,2.75rem); font-weight: 900; line-height: 1.2; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid var(--line); }
.mail-link span { color: var(--orange); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 30px; }
.contact-details small { display: block; margin-bottom: 7px; color: #807c84; text-transform: uppercase; letter-spacing: .09em; font-weight: 900; }
.contact-details strong { font-size: 1rem; }

.site-footer { padding: 70px 0 24px; color: white; background: var(--ink); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; align-items: start; padding-bottom: 60px; }
.footer-brand { width: 230px; padding: 9px; background: white; border-radius: 10px; }
.footer-main p { color: #c7c4ca; font-size: 1.05rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.footer-links a, .footer-legal a { color: #dfdce2; text-underline-offset: 4px; }
.footer-legal { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); color: #9d9aa1; font-size: .76rem; }
.footer-legal span:last-child { display: flex; gap: 22px; }

.legal-page { background: white; }
.legal-main { min-height: 70vh; padding: 160px 0 100px; }
.legal-wrap { width: min(820px, calc(100% - 40px)); margin: auto; }
.legal-wrap h1 { font-size: clamp(3rem,8vw,5.5rem); }
.legal-wrap h2 { margin-top: 45px; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.2; }
.legal-wrap h3 { margin-top: 28px; }
.legal-wrap h4 { margin: 24px 0 8px; font-size: 1rem; line-height: 1.35; }
.legal-wrap p, .legal-wrap li { color: #55525a; }
.legal-wrap li { margin-bottom: 10px; }
.legal-wrap a { color: var(--deep-blue); }
.legal-back { display: inline-block; margin-bottom: 30px; color: var(--orange); font-weight: 900; text-underline-offset: 5px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .section { padding: 90px 0; }
  .nav-toggle { display: block; z-index: 2; }
  .main-nav { position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 26px; background: var(--paper); transform: translateX(100%); transition: transform .3s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.35rem; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 150px; }
  .hero-grid, .intro-grid, .attitude-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 460px; }
  .intro-grid { gap: 30px; }
  .intro-image { margin-top: 50px; }
  .section-head { grid-template-columns: 1fr; gap: 0; }
  .process-list { grid-template-columns: 1fr 1fr; row-gap: 65px; }
  .career-card { grid-template-columns: 1fr; gap: 50px; padding: 50px; }
  .career-copy, .career-visual { grid-column: 1; grid-row: auto; }
  .career-visual { width: 100%; margin-top: 0; }
  .career-image img { height: auto; aspect-ratio: 4 / 3; }
}

@media (max-width: 650px) {
  .shell { width: min(100% - 28px, 1180px); }
  .brand { width: 175px; }
  .hero { min-height: auto; padding-bottom: 40px; }
  h1 { font-size: clamp(3.4rem,17vw,5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-art { min-height: 380px; }
  .path-card { inset: 30px 5px 10px 10px; }
  .sun { width: 100px; height: 100px; }
  .scribble { width: 120px; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .intro h2, .section-head h2, .attitude h2, .contact h2 { font-size: 2.7rem; }
  .values-strip, .service-grid { grid-template-columns: 1fr; }
  .intro-image img { aspect-ratio: 4 / 3; object-position: 68% center; }
  .values-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card { padding: 30px 24px; }
  .attitude-grid { gap: 60px; }
  .process-list { grid-template-columns: 1fr; gap: 60px; }
  .career-card { width: min(100% - 28px, 1180px); padding: 40px 25px; border-radius: 30px; }
  .contact-panel { padding: 30px 24px; }
  .contact-details, .footer-main { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
}

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