:root {
  --primary: #153e3a;
  --primary-deep: #0b2725;
  --accent: #ff7657;
  --accent-soft: #ffd7ce;
  --surface: #f7f3ea;
  --ink: #132120;
  --white: #fffefa;
  --muted: #64706e;
  --line: rgba(19, 33, 32, 0.14);
  --shadow: 0 24px 70px rgba(12, 39, 37, 0.12);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 1000; padding: 12px 18px; background: var(--accent); color: var(--ink); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: white; transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled { background: rgba(11, 39, 37, .94); box-shadow: 0 8px 30px rgba(0,0,0,.12); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: var(--primary-deep); background: var(--accent); border-radius: 10px 3px 10px 3px; transform: rotate(-3deg); }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: .91rem; font-weight: 600; }
.primary-nav a { opacity: .82; transition: opacity .2s, color .2s; }
.primary-nav a:hover, .primary-nav a:focus-visible { opacity: 1; color: var(--accent); }
.nav-cta { margin-left: 8px; }
.menu-button { display: none; margin-left: auto; padding: 8px; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: white; }

@media (hover: hover) and (pointer: fine) {
  body.has-star-cursor,
  body.has-star-cursor a,
  body.has-star-cursor button,
  body.has-star-cursor input,
  body.has-star-cursor textarea,
  body.has-star-cursor select { cursor: none !important; }
}

.northstar-cursor {
  --star-scale: 1;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 22px;
  height: 22px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-60px, -60px, 0) scale(var(--star-scale));
  transition: opacity .18s ease, filter .18s ease;
  filter: drop-shadow(0 0 5px rgba(255, 220, 105, .72));
}

.northstar-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fffbe0 0 22%, #ffe884 40%, #e8b83d 66%, #fff5b1 100%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 39%, 68% 59%, 79% 96%, 50% 73%, 20% 96%, 31% 59%, 2% 39%, 39% 35%);
  animation: northstar-glint 1.7s ease-in-out infinite;
}

.northstar-cursor::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 7px rgba(255, 255, 220, .95);
}

.northstar-cursor.is-visible { opacity: 1; }
.northstar-cursor.is-hovering { --star-scale: 1.22; filter: drop-shadow(0 0 8px rgba(255, 220, 105, .9)); }

.nav-star-orbit {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #ffe783;
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 0 7px rgba(255, 224, 112, .72);
  transition: opacity .14s ease, color .14s ease, text-shadow .14s ease;
}

.nav-star-orbit.is-visible { opacity: 1; }
.nav-star-orbit.is-clicked { color: #fff5bb; text-shadow: 0 0 12px rgba(255, 231, 131, 1); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--primary-deep); background: var(--accent); box-shadow: 0 12px 24px rgba(255, 118, 87, .22); }
.button-primary:hover { box-shadow: 0 16px 30px rgba(255, 118, 87, .34); }
.button-small { min-height: 42px; padding-inline: 19px; color: var(--primary-deep); background: var(--accent); font-size: .86rem; }
.button-ghost { color: white; border-color: rgba(255,255,255,.32); }
.button-ghost:hover { background: rgba(255,255,255,.08); }

.hero { min-height: 800px; position: relative; display: grid; align-items: center; overflow: hidden; color: white; background: var(--primary-deep); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to right, #000, transparent 80%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(12px); }
.hero-glow-one { width: 520px; height: 520px; right: 5%; top: 15%; background: radial-gradient(circle, rgba(45, 125, 115, .72), transparent 65%); }
.hero-glow-two { width: 380px; height: 380px; left: -12%; bottom: -30%; background: radial-gradient(circle, rgba(255, 118, 87, .28), transparent 65%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; padding-top: 112px; padding-bottom: 72px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: "Manrope", sans-serif; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(3.6rem, 7vw, 6.6rem); line-height: .98; letter-spacing: -.07em; }
.hero-lead { max-width: 620px; margin: 0 0 34px; color: rgba(255,255,255,.72); font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.7; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 44px; color: rgba(255,255,255,.62); font-size: .85rem; }
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-visual { position: relative; min-height: 490px; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; top: 20px; left: 20px; }
.orbit-two { width: 315px; height: 315px; top: 78px; left: 78px; border-style: dashed; animation: spin 24s linear infinite; }
.visual-card { position: absolute; border: 1px solid rgba(255,255,255,.2); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.visual-card-main { width: 310px; min-height: 330px; top: 74px; left: 80px; padding: 38px; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); border-radius: 44px 10px 44px 10px; transform: rotate(-4deg); }
.visual-kicker { display: block; color: var(--accent-soft); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.visual-card-main strong { display: block; margin-top: 88px; font-family: "Manrope"; font-size: 3.15rem; letter-spacing: -.06em; }
.visual-card-main p { color: rgba(255,255,255,.63); }
.visual-line { display: block; width: 100%; height: 4px; margin: 16px 0 18px; background: linear-gradient(to right, var(--accent) 0 64%, rgba(255,255,255,.18) 64%); }
.visual-card-note { right: 6px; bottom: 60px; display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: rgba(11,39,37,.72); border-radius: 12px; font-size: .83rem; }
.status-dot { width: 8px; height: 8px; background: #9ce590; border-radius: 50%; box-shadow: 0 0 0 5px rgba(156,229,144,.12); }
.shape { position: absolute; display: block; }
.shape-circle { width: 58px; height: 58px; top: 28px; right: 48px; border: 11px solid var(--accent); border-radius: 50%; }
.shape-cross { left: 33px; bottom: 37px; width: 42px; height: 42px; }
.shape-cross::before, .shape-cross::after { content: ""; position: absolute; inset: 18px 0; height: 6px; background: var(--accent); border-radius: 4px; }
.shape-cross::after { transform: rotate(90deg); }

.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 60px; align-items: end; margin-bottom: 58px; }
.section-heading h2, .about-copy h2, .process-top h2, .contact-copy h2 { max-width: 780px; margin-bottom: 0; font-size: clamp(2.4rem, 4.5vw, 4.3rem); line-height: 1.05; letter-spacing: -.055em; }
.section-heading > p { max-width: 500px; margin: 0; color: var(--muted); line-height: 1.75; }
.services { background: var(--surface); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 360px; padding: 30px; background: rgba(255,255,255,.35); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .25s, background .25s, transform .25s; }
.service-card:hover { z-index: 2; color: white; background: var(--primary); transform: translateY(-6px); box-shadow: var(--shadow); }
.card-top { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }
.card-top b { width: 42px; height: 42px; display: grid; place-items: center; color: var(--primary-deep); background: var(--accent-soft); border-radius: 50%; font-size: 1.2rem; }
.service-card h3 { margin: 68px 0 16px; font-size: 1.65rem; }
.service-card p { min-height: 90px; color: var(--muted); line-height: 1.65; }
.service-card:hover p, .service-card:hover .card-top { color: rgba(255,255,255,.68); }
.service-card a { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; font-size: .9rem; }

.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: 9vw; align-items: center; }
.about-panel { min-height: 580px; position: relative; overflow: hidden; color: white; background: var(--primary); border-radius: 8px 80px 8px 80px; }
.about-pattern { position: absolute; inset: 0; background: radial-gradient(circle at 70% 28%, var(--accent) 0 7%, transparent 7.3%), repeating-radial-gradient(circle at 70% 28%, transparent 0 46px, rgba(255,255,255,.1) 47px 48px); }
.about-panel::after { content: ""; position: absolute; width: 200px; height: 200px; left: -70px; bottom: -70px; background: var(--accent-soft); transform: rotate(35deg); }
.about-number { position: absolute; top: 46px; left: 46px; color: var(--accent-soft); font-family: "Manrope"; font-size: 5rem; font-weight: 800; letter-spacing: -.08em; }
.about-panel p { position: absolute; right: 38px; bottom: 30px; z-index: 1; max-width: 180px; font-family: "Manrope"; font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.about-copy h2 { margin-bottom: 28px; }
.about-lead { margin-bottom: 35px; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.value-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 21px 0; border-top: 1px solid var(--line); }
.value-item > span { color: var(--accent); font-size: .8rem; font-weight: 800; }
.value-item h3 { margin: 0 0 6px; font-size: 1.08rem; }
.value-item p { margin: 0; color: var(--muted); line-height: 1.55; }

.work { color: white; background: var(--primary-deep); }
.work .section-heading > p { color: rgba(255,255,255,.62); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { padding: 12px 12px 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; transition: transform .25s, border .25s; }
.project-card:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.3); }
.project-art { height: 280px; position: relative; display: grid; place-items: center; overflow: hidden; margin-bottom: 25px; border-radius: 12px; }
.project-art span { position: relative; z-index: 1; font-family: "Manrope"; font-size: 7rem; font-weight: 800; }
.project-art i { position: absolute; width: 230px; height: 230px; border: 2px solid currentColor; border-radius: 50%; opacity: .3; }
.project-art i::before, .project-art i::after { content: ""; position: absolute; top: 50%; left: -60px; width: 350px; height: 1px; background: currentColor; transform: rotate(35deg); }
.project-art i::after { transform: rotate(-35deg); }
.project-art b { position: absolute; left: 18px; bottom: 15px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.project-coral { color: var(--primary-deep); background: var(--accent); }
.project-teal { color: white; background: #2d7d73; }
.project-sand { color: var(--primary-deep); background: #dbc89e; }
.project-category { margin: 0 10px 12px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.project-card h3 { margin: 0 10px 12px; font-size: 1.45rem; line-height: 1.25; }
.project-card > p:not(.project-category) { min-height: 74px; margin: 0 10px; color: rgba(255,255,255,.62); line-height: 1.6; }
.project-card > a { display: flex; justify-content: space-between; margin: 22px 10px 0; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.13); font-size: .88rem; font-weight: 700; }

.process { background: var(--surface); }
.process-top { max-width: 760px; margin-bottom: 55px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.process-step { padding: 44px; background: var(--surface); }
.process-step > span { display: inline-grid; width: 46px; height: 46px; place-items: center; color: var(--primary-deep); background: var(--accent-soft); border-radius: 50%; font-size: .78rem; font-weight: 800; }
.process-step h3 { margin: 64px 0 12px; font-size: 1.55rem; }
.process-step p { margin: 0; color: var(--muted); line-height: 1.7; }

.contact { background: var(--white); }
.contact-shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7vw; padding: clamp(38px, 6vw, 82px); color: white; background: var(--primary); border-radius: 10px 70px 10px 70px; box-shadow: var(--shadow); }
.contact-copy h2 { margin-bottom: 25px; }
.contact-copy > p:not(.eyebrow) { max-width: 480px; color: rgba(255,255,255,.67); line-height: 1.75; }
.contact-details { display: grid; gap: 10px; margin-top: 42px; }
.contact-details a { color: var(--accent-soft); font-size: 1.08rem; font-weight: 700; }
.contact-details span { color: rgba(255,255,255,.55); font-size: .9rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 30px; color: var(--ink); background: var(--white); border-radius: 14px; }
.contact-form label { display: grid; gap: 8px; color: var(--primary); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.contact-form label:nth-child(4), .contact-form button, .form-note { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 14px 15px; color: var(--ink); background: var(--surface); border: 1px solid transparent; border-radius: 7px; outline: none; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-note { margin: -5px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.form-note.is-success { color: var(--primary); font-weight: 700; }

.site-footer { padding: 65px 0 32px; color: white; background: #071b19; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: start; }
.brand-footer { margin-bottom: 18px; }
.footer-grid > div > p { max-width: 380px; color: rgba(255,255,255,.5); line-height: 1.6; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 16px 38px; font-size: .85rem; font-weight: 700; }
.footer-nav a:hover { color: var(--accent); }
.copyright { grid-column: 1 / -1; margin: 35px 0 0; padding-top: 24px; color: rgba(255,255,255,.38); border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes northstar-glint {
  0%, 100% { transform: rotate(-5deg) scale(.92); filter: brightness(.96); }
  45% { transform: rotate(4deg) scale(1.08); filter: brightness(1.2); }
  60% { transform: rotate(1deg) scale(1); filter: brightness(1.05); }
}

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

@media (max-width: 980px) {
  .nav-cta { display: none; }
  .menu-button { display: block; }
  .primary-nav { position: absolute; top: 74px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 15px; color: var(--ink); background: var(--white); border-radius: 12px; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 155px; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 70px; }
  .about-panel { min-height: 430px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card > p:not(.project-category) { min-height: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .contact-shell { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --container: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 72px; }
  .brand { font-size: .93rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-grid { padding-top: 130px; gap: 34px; }
  .hero-visual { min-height: 370px; transform: scale(.85); transform-origin: top center; margin-bottom: -50px; }
  .orbit-one { width: 340px; height: 340px; left: calc(50% - 170px); }
  .orbit-two { width: 260px; height: 260px; top: 60px; left: calc(50% - 130px); }
  .visual-card-main { width: 250px; min-height: 275px; top: 52px; left: calc(50% - 125px); padding: 28px; }
  .visual-card-main strong { margin-top: 68px; font-size: 2.4rem; }
  .shape-circle { right: 10px; }
  .shape-cross { left: 8px; }
  .section { padding: 85px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 320px; }
  .about-panel { min-height: 360px; border-radius: 6px 45px 6px 45px; }
  .contact-shell { padding: 34px 20px; border-radius: 8px 42px 8px 42px; }
  .contact-form { grid-template-columns: 1fr; padding: 22px; }
  .contact-form label { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(3, auto); gap: 16px; }
}
