:root {
  --ink: #0c1826;
  --ink-soft: #26374a;
  --paper: #f5f7f9;
  --white: #ffffff;
  --gold: #f3b33d;
  --gold-deep: #d18e13;
  --teal: #42d4c8;
  --teal-deep: #168d88;
  --line: #dce3e9;
  --muted: #647589;
  --success: #157347;
  --danger: #b42318;
  --shadow-sm: 0 12px 30px rgba(12, 24, 38, .08);
  --shadow-lg: 0 28px 70px rgba(12, 24, 38, .16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 78px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(12, 24, 38, .94);
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 8px 30px rgba(0,0,0,.14);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(calc(100% - 40px), var(--content));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.03em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--gold), #ffd36e);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(243, 179, 61, .22);
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy small {
  margin-top: .25rem;
  color: rgba(255,255,255,.62);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a {
  position: relative;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 700;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.45rem;
  height: 2px;
  background: var(--gold);
  transition: right .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--white); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.nav-cta {
  padding: .7rem 1rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
}
.nav-cta:hover { background: var(--white); color: var(--ink) !important; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: var(--white);
  cursor: pointer;
}
.menu-toggle svg { width: 23px; height: 23px; margin: auto; }

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 22%, rgba(66,212,200,.22), transparent 28%),
    radial-gradient(circle at 12% 82%, rgba(243,179,61,.16), transparent 31%),
    linear-gradient(135deg, #08131f 0%, #0d2235 52%, #102c3f 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, rgba(0,0,0,.1), black 70%, rgba(0,0,0,.1));
}
.hero-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 150px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6.5rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.2rem;
  color: var(--teal);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 6.6vw, 6.25rem);
  line-height: .98;
  letter-spacing: -.065em;
}
.hero h1 span { color: var(--gold); }
.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 1.6rem 0 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.1rem; }
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 15px 28px rgba(243,179,61,.22);
}
.btn-primary:hover { background: #ffc95e; box-shadow: 0 18px 35px rgba(243,179,61,.31); }
.btn-secondary {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  color: var(--white);
}
.btn-secondary:hover { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #152c42; }
.btn svg { width: 18px; height: 18px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.proof-item { display: flex; align-items: center; gap: .65rem; color: rgba(255,255,255,.72); font-size: .86rem; font-weight: 700; }
.proof-item svg { width: 18px; height: 18px; color: var(--teal); }

.hero-visual { position: relative; min-height: 520px; }
.visual-glow {
  position: absolute;
  width: 370px;
  height: 370px;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(66,212,200,.16);
  filter: blur(42px);
}
.browser-card {
  position: absolute;
  top: 30px;
  right: 0;
  width: min(100%, 510px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}
.browser-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: 0 1rem;
  background: #e9eef2;
}
.browser-dot { width: 9px; height: 9px; border-radius: 50%; background: #aab5bd; }
.browser-address { width: 48%; height: 10px; margin-left: .5rem; border-radius: 999px; background: #ced7de; }
.mock-site { min-height: 355px; background: #fff; color: var(--ink); }
.mock-nav { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 1.3rem; border-bottom: 1px solid #e8edf1; }
.mock-logo { width: 82px; height: 8px; border-radius: 999px; background: var(--ink); }
.mock-links { display: flex; gap: .45rem; }
.mock-links i { width: 28px; height: 5px; border-radius: 99px; background: #bdc8d1; }
.mock-hero { position: relative; height: 155px; padding: 1.8rem; overflow: hidden; color: white; background: linear-gradient(125deg, #0f6671, #0c2737); }
.mock-hero::after { content: ""; position: absolute; width: 165px; height: 165px; right: -35px; top: -30px; border-radius: 50%; background: linear-gradient(145deg, var(--gold), #ffe0a1); opacity: .95; }
.mock-kicker { width: 60px; height: 6px; margin-bottom: .9rem; border-radius: 99px; background: var(--teal); }
.mock-title { width: 48%; height: 13px; margin-bottom: .55rem; border-radius: 99px; background: white; }
.mock-title.short { width: 34%; }
.mock-button { width: 74px; height: 22px; margin-top: 1.1rem; border-radius: 99px; background: var(--gold); }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; padding: 1.2rem; }
.mock-card { height: 100px; padding: .7rem; border: 1px solid #e3e9ee; border-radius: 12px; background: #fafcfd; }
.mock-card::before { content: ""; display: block; height: 50px; margin-bottom: .6rem; border-radius: 7px; background: linear-gradient(135deg, #d7e5e8, #c4d4d8); }
.mock-card::after { content: ""; display: block; width: 62%; height: 6px; border-radius: 99px; background: #95a7b4; }
.code-card {
  position: absolute;
  left: -18px;
  bottom: 26px;
  width: 265px;
  padding: 1.2rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 19px;
  background: rgba(9,24,36,.93);
  box-shadow: 0 20px 45px rgba(0,0,0,.3);
  transform: rotate(-4deg);
  backdrop-filter: blur(14px);
}
.code-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.code-head span { font-size: .72rem; color: rgba(255,255,255,.6); font-weight: 700; }
.code-status { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(66,212,200,.12); }
.code-line { display: flex; gap: .7rem; margin: .55rem 0; }
.code-num { width: 15px; color: rgba(255,255,255,.3); font: .72rem/1.3 monospace; }
.code-text { height: 7px; border-radius: 99px; background: #577083; }
.code-text.gold { background: #d6a23b; }
.code-text.teal { background: #36a99f; }
.floating-badge {
  position: absolute;
  right: -14px;
  bottom: 5px;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  border-radius: 15px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  font-size: .82rem;
  font-weight: 850;
}
.floating-badge svg { width: 21px; height: 21px; color: var(--success); }

.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.section-shell { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }
.section-heading { max-width: 720px; margin-bottom: 3.2rem; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-label {
  display: inline-block;
  margin-bottom: .8rem;
  color: var(--teal-deep);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.05em;
}
.section-heading p { margin: 1rem 0 0; color: var(--muted); font-size: 1.05rem; }

.intro-strip { position: relative; z-index: 4; margin-top: -42px; }
.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.stat { padding: 1.5rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.4rem; letter-spacing: -.03em; }
.stat span { display: block; margin-top: .25rem; color: var(--muted); font-size: .82rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  min-height: 290px;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 25px rgba(12,24,38,.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover { transform: translateY(-7px); border-color: rgba(22,141,136,.38); box-shadow: var(--shadow-sm); }
.icon-box { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: #e9f8f6; color: var(--teal-deep); }
.icon-box svg { width: 25px; height: 25px; }
.service-card:nth-child(2) .icon-box, .service-card:nth-child(5) .icon-box { background: #fff3da; color: var(--gold-deep); }
.service-card h3 { margin: 1.25rem 0 .55rem; font-size: 1.2rem; }
.service-card p { margin: 0; color: var(--muted); }
.service-list { display: grid; gap: .55rem; margin-top: 1.2rem; padding: 0; list-style: none; }
.service-list li { display: flex; gap: .55rem; color: var(--ink-soft); font-size: .88rem; font-weight: 650; }
.service-list li::before { content: "✓"; color: var(--teal-deep); font-weight: 900; }

.projects-section { background: var(--ink); color: var(--white); }
.projects-section .section-label { color: var(--teal); }
.projects-section .section-heading p { color: rgba(255,255,255,.62); }
.projects-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 1.3rem; }
.project-card {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  background: #173248;
  isolation: isolate;
}
.project-card.small { min-height: 420px; }
.project-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.project-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,15,25,.97) 0%, rgba(5,15,25,.25) 74%); }
.art-travel { background: linear-gradient(135deg, #12778c, #0f293c 54%, #db9f31); }
.art-garage { background: linear-gradient(135deg, #26333c, #735327 58%, #d49a31); }
.art-drinks { background: linear-gradient(135deg, #6a243b, #24132f 58%, #d59b35); }
.art-window {
  position: absolute;
  width: 76%;
  height: 68%;
  top: 10%;
  left: 12%;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
  transform: rotate(-2deg);
}
.art-window::before { content: ""; display: block; height: 28px; border-radius: 16px 16px 0 0; background: #dfe7ec; }
.art-window::after { content: ""; position: absolute; inset: 48px 18px 18px; border-radius: 10px; background: linear-gradient(135deg, #d4e6e8, #f1c674); }
.art-panel {
  position: absolute;
  width: 68%;
  height: 72%;
  top: 10%;
  left: 16%;
  border-radius: 18px;
  background: #f7f9fb;
  box-shadow: 0 25px 55px rgba(0,0,0,.28);
  transform: rotate(2deg);
}
.art-panel::before { content: ""; position: absolute; width: 24%; inset: 0 auto 0 0; border-radius: 18px 0 0 18px; background: #101e31; }
.art-panel::after { content: ""; position: absolute; inset: 18px 16px 18px 31%; border-radius: 11px; background: repeating-linear-gradient(to bottom, #dbe4ea 0 11px, transparent 11px 25px); }
.art-device {
  position: absolute;
  width: 56%;
  height: 70%;
  top: 10%;
  left: 22%;
  border: 2px solid rgba(255,255,255,.34);
  border-radius: 28px;
  background: #0d1927;
  box-shadow: 0 26px 50px rgba(0,0,0,.35);
}
.art-device::before { content: ""; position: absolute; width: 40%; height: 6px; top: 15px; left: 30%; border-radius: 99px; background: #354659; }
.art-device::after { content: ""; position: absolute; inset: 48px 20px 20px; border-radius: 18px; background: radial-gradient(circle at center, var(--teal) 0 12%, transparent 13%), linear-gradient(160deg, #15314b, #122336); }
.project-content { width: 100%; padding: 2rem; }
.project-type { display: inline-flex; padding: .36rem .65rem; border-radius: 99px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.74); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-card h3 { margin: .9rem 0 .45rem; font-size: clamp(1.55rem, 2.5vw, 2.3rem); letter-spacing: -.04em; }
.project-card p { max-width: 650px; margin: 0; color: rgba(255,255,255,.68); }
.tech-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.1rem; }
.tech-tags span { padding: .33rem .58rem; border: 1px solid rgba(255,255,255,.17); border-radius: 99px; color: rgba(255,255,255,.76); font-size: .72rem; font-weight: 700; }
.project-link, .project-status { margin-top: 1.15rem; font-size: .8rem; font-weight: 850; }
.project-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold); text-decoration: none; }
.project-link:hover, .project-link:focus-visible { color: #ffd374; }
.project-link svg { width: 17px; height: 17px; transition: transform .2s ease; }
.project-link:hover svg { transform: translateX(3px); }
.project-status { display: inline-flex; align-items: center; gap: .5rem; color: var(--teal); }
.project-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(66,212,200,.12); }
.secondary-projects { display: grid; gap: 1.3rem; }
.secondary-projects .project-card { min-height: 200px; }
.secondary-projects .project-content { padding: 1.5rem; }
.secondary-projects .project-card h3 { font-size: 1.45rem; }

.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 7vw, 6.5rem); }
.about-visual { position: relative; min-height: 520px; }
.about-photo {
  position: absolute;
  inset: 0 12% 0 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #132536;
  box-shadow: var(--shadow-lg);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-note {
  position: absolute;
  right: 0;
  bottom: 42px;
  width: 220px;
  padding: 1.25rem;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.about-note strong { display: block; font-size: 1.15rem; }
.about-note span { display: block; margin-top: .35rem; color: var(--muted); font-size: .82rem; }
.about-copy h2 { margin: 0; font-size: clamp(2.3rem, 4.5vw, 4.1rem); line-height: 1.05; letter-spacing: -.05em; }
.about-copy > p { color: var(--muted); }
.skill-cloud { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.skill-cloud span { padding: .58rem .78rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink-soft); font-size: .84rem; font-weight: 800; }
.about-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.7rem; }
.about-point { display: flex; gap: .75rem; align-items: flex-start; }
.about-point svg { flex: 0 0 21px; width: 21px; height: 21px; margin-top: .15rem; color: var(--teal-deep); }
.about-point strong { display: block; font-size: .92rem; }
.about-point span { display: block; color: var(--muted); font-size: .8rem; }

.process-section { background: #eaf0f4; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: process; }
.process-card { position: relative; padding: 1.6rem; border-radius: var(--radius-md); background: var(--white); counter-increment: process; }
.process-card::before { content: "0" counter(process); display: block; margin-bottom: 2.2rem; color: var(--gold-deep); font-size: .82rem; font-weight: 900; letter-spacing: .12em; }
.process-card::after { content: ""; position: absolute; top: 2.1rem; right: 1.7rem; width: 42px; height: 1px; background: var(--line); }
.process-card h3 { margin: 0 0 .5rem; }
.process-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.confidence-section { background: var(--paper); }
.confidence-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.confidence-intro { padding: clamp(2.3rem, 5vw, 4rem); background: linear-gradient(145deg, var(--teal-deep), #0e575d); }
.confidence-intro .section-label { color: #a7f3ed; }
.confidence-intro h2 { margin: 0; font-size: clamp(2rem, 3.7vw, 3.3rem); line-height: 1.05; letter-spacing: -.05em; }
.confidence-intro p { margin: 1rem 0 0; color: rgba(255,255,255,.75); }
.confidence-points { display: grid; align-content: center; gap: 1.5rem; padding: clamp(2.3rem, 5vw, 4rem); }
.confidence-point { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.confidence-point > svg { width: 22px; height: 22px; margin-top: .15rem; color: var(--gold); }
.confidence-point h3 { margin: 0; font-size: 1rem; }
.confidence-point p { margin: .25rem 0 0; color: rgba(255,255,255,.65); font-size: .9rem; }

.contact-section { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2.5rem, 6vw, 6rem); }
.contact-copy h2 { margin: 0; font-size: clamp(2.4rem, 4.7vw, 4.2rem); line-height: 1.04; letter-spacing: -.055em; }
.contact-copy > p { color: var(--muted); }
.contact-list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-item { display: flex; align-items: center; gap: .9rem; }
.contact-item .icon-box { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; }
.contact-item .icon-box svg { width: 20px; height: 20px; }
.contact-item small { display: block; color: var(--muted); }
.contact-item a, .contact-item strong { text-decoration: none; font-weight: 800; }
.contact-item a:hover { color: var(--teal-deep); }
.contact-form { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 850; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid #cdd8df;
  border-radius: 12px;
  outline: none;
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input { min-height: 50px; padding: 0 .9rem; }
.field textarea { min-height: 145px; padding: .85rem .9rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--teal-deep); box-shadow: 0 0 0 4px rgba(22,141,136,.12); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; }
.form-status { min-height: 1.5em; margin: 0; font-size: .86rem; font-weight: 750; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }
.contact-form button[disabled] { opacity: .65; cursor: wait; transform: none; }

.site-footer { padding: 3.2rem 0 1.6rem; background: #08131f; color: var(--white); }
.footer-top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.11); }
.footer-brand p { max-width: 470px; margin: .9rem 0 0; color: rgba(255,255,255,.52); }
.social-links { display: flex; gap: .65rem; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: rgba(255,255,255,.72); }
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.social-links svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; color: rgba(255,255,255,.46); font-size: .8rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

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

.noscript-message { margin: 7rem auto 2rem; max-width: 700px; padding: 1rem; border: 1px solid #dcb; background: #fff8e7; text-align: center; }

.seo-fallback { min-height: 100vh; padding: 4rem 0; background: var(--ink); color: var(--white); }
.seo-fallback-shell { width: min(calc(100% - 40px), 900px); margin: 0 auto; }
.fallback-brand { margin: 0 0 3rem; color: var(--gold); font-size: 1.4rem; font-weight: 900; letter-spacing: -.04em; }
.fallback-label { color: var(--teal); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.seo-fallback section { padding: 2rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.seo-fallback h1 { max-width: 820px; margin: 0; font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -.06em; }
.seo-fallback h2 { margin: 0 0 .8rem; font-size: clamp(1.6rem, 4vw, 2.5rem); letter-spacing: -.04em; }
.seo-fallback p, .seo-fallback li { color: rgba(255,255,255,.74); }
.seo-fallback a { color: var(--gold); font-weight: 800; }
.seo-fallback ul { display: grid; gap: .45rem; padding-left: 1.25rem; }

@media (max-width: 1000px) {
  .nav-links { gap: 1.05rem; }
  .hero { min-height: auto; }
  .hero-shell { grid-template-columns: 1fr; padding-top: 145px; }
  .hero-copy { max-width: 800px; }
  .hero-visual { max-width: 650px; width: 100%; margin: -1rem auto 0; }
  .intro-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .secondary-projects { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { max-width: 640px; width: 100%; margin-inline: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .confidence-panel, .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-shell { width: min(calc(100% - 28px), var(--content)); min-height: 70px; }
  .brand-copy small { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    position: fixed;
    inset: 70px 14px auto;
    display: grid;
    gap: .25rem;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background: rgba(8,19,31,.98);
    box-shadow: var(--shadow-lg);
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: .8rem .65rem; }
  .nav-links a::after { display: none; }
  .nav-cta { text-align: center; border-radius: 12px; }
  .hero-shell, .section-shell { width: min(calc(100% - 28px), var(--content)); }
  .hero-shell { padding: 125px 0 80px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .hero-visual { min-height: 430px; }
  .browser-card { width: 94%; right: 0; }
  .code-card { width: 220px; left: 0; bottom: 3px; }
  .floating-badge { right: 0; bottom: -8px; }
  .intro-strip { margin-top: -30px; }
  .services-grid, .secondary-projects, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .project-card, .project-card.small { min-height: 380px; }
  .about-visual { min-height: 430px; }
  .about-photo { right: 8%; }
  .about-note { width: 190px; bottom: 28px; }
  .about-points, .process-grid { grid-template-columns: 1fr; }
  .footer-top, .footer-bottom { grid-template-columns: 1fr; display: grid; align-items: start; }
}

@media (max-width: 480px) {
  .section { padding: 4.5rem 0; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { display: grid; gap: .8rem; }
  .hero-visual { min-height: 370px; }
  .browser-card { top: 20px; }
  .mock-site { min-height: 290px; }
  .mock-hero { height: 130px; }
  .mock-grid { padding: .8rem; gap: .4rem; }
  .mock-card { height: 78px; }
  .mock-card::before { height: 36px; }
  .code-card { display: none; }
  .floating-badge { bottom: 3px; font-size: .75rem; }
  .intro-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .about-visual { min-height: 360px; }
  .about-note { right: -3px; width: 175px; }
  .project-content { padding: 1.35rem; }
  .contact-form { padding: 1.2rem; border-radius: 20px; }
}

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