:root {
  --navy: #14264a;
  --navy-deep: #0b1630;
  --clay: #c46a3b;
  --clay-dark: #a95a30;
  --clay-light: #f29a68;
  --ink: #1b2236;
  --muted: #566078;
  --line: #e3e8f1;
  --soft: #f4f6fb;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(20, 38, 74, .08);
  --shadow-lg: 0 24px 60px rgba(20, 38, 74, .18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 112px 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3rem); font-weight: 800; margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--clay); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--clay); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--clay); color: var(--white);
  font: inherit; font-weight: 700; font-size: 1.05rem;
  padding: 17px 34px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 8px 22px rgba(196, 106, 59, .35);
}
.btn:hover { background: var(--clay-dark); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible {
  outline: 3px solid var(--clay); outline-offset: 3px;
}

/* Logo: Seamless Tech + Works (italic, accent color) */
.logo { text-decoration: none; display: inline-block; line-height: 1; color: var(--navy); white-space: nowrap; }
.logo .l1 { font-weight: 800; letter-spacing: -0.02em; }
.logo .l2 { font-weight: 700; font-style: italic; color: var(--clay); letter-spacing: -0.02em; }

/* Header */
header {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
header .logo { font-size: 1.4rem; padding: 10px 0; }
nav ul { list-style: none; display: flex; gap: 34px; align-items: center; }
nav a { text-decoration: none; font-weight: 600; color: var(--navy); font-size: 1rem; }
nav a:hover { color: var(--clay); }
nav .btn { padding: 11px 24px; font-size: 0.95rem; color: var(--white); box-shadow: none; }
nav .btn:hover { color: var(--white); }
.menu-toggle {
  display: none; background: none; border: 2px solid var(--navy); color: var(--navy);
  font: inherit; font-weight: 700; font-size: 0.95rem; padding: 8px 18px; border-radius: 999px; cursor: pointer;
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white); padding: 128px 0 120px;
  background:
    radial-gradient(circle at 88% 8%, rgba(196,106,59,.35), transparent 42%),
    radial-gradient(circle at 6% 95%, rgba(90,130,230,.28), transparent 48%),
    linear-gradient(160deg, #1a3160 0%, var(--navy) 45%, var(--navy-deep) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 80%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 80%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero .logo { color: var(--white); font-size: clamp(2.6rem, 7vw, 4.6rem); margin-bottom: 30px; }
.hero .logo .l2 { color: var(--clay-light); }
.hero h1 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 600; color: var(--white);
  max-width: 600px; margin-bottom: 18px; letter-spacing: -0.01em; line-height: 1.3;
}
.hero p { font-size: 1.2rem; color: #c9d3ea; max-width: 560px; margin-bottom: 42px; }

/* Hero visual: stylized browser window */
.mock {
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg);
  transform: rotate(-2.5deg); overflow: hidden; border: 1px solid rgba(255,255,255,.4);
}
.mock-bar { display: flex; gap: 7px; padding: 14px 16px; background: #eef1f7; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #cfd6e4; display: block; }
.mock-bar i:first-child { background: var(--clay-light); }
.mock-body { padding: 22px; }
.m-hero { height: 110px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), #2c4a8a); margin-bottom: 18px; position: relative; }
.m-hero::after { content: ""; position: absolute; left: 18px; bottom: 18px; width: 90px; height: 24px; border-radius: 999px; background: var(--clay); }
.m-line { height: 12px; border-radius: 6px; background: #e5eaf3; margin-bottom: 10px; }
.w70 { width: 70%; } .w50 { width: 50%; }
.m-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.m-box { height: 64px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); }
.m-box:nth-child(2) { background: #fbeee6; border-color: #f3d9c8; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; align-items: stretch; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px; background: var(--white);
  display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon {
  width: 56px; height: 56px; border-radius: 16px; background: #fbeee6; color: var(--clay);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.55rem; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 1.03rem; }
.card.featured {
  background: linear-gradient(165deg, #1c3669, var(--navy) 55%, var(--navy-deep));
  border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-14px);
}
.card.featured:hover { transform: translateY(-18px); }
.card.featured h3 { color: var(--white); }
.card.featured p { color: #c9d3ea; }
.card.featured .icon { background: var(--clay); color: var(--white); }
.badge {
  position: absolute; top: -15px; right: 28px; background: var(--clay); color: var(--white);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; box-shadow: 0 6px 16px rgba(196,106,59,.4);
}

/* Work */
.work { background: var(--soft); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.work-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shot {
  aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e6ecf8, #d3dcf0);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  font-size: 0.95rem; font-weight: 500; border-bottom: 1px solid var(--line);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-body { padding: 26px 28px 30px; }
.work-body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.work-body a { color: var(--clay); font-weight: 700; text-decoration: none; word-break: break-word; }
.work-body a:hover { text-decoration: underline; }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.about h2 { margin-bottom: 0; }
.about p { margin-bottom: 22px; color: var(--ink); }
.about-text { border-left: 3px solid var(--clay); padding-left: 36px; }

/* Contact */
.contact {
  color: var(--white);
  background:
    radial-gradient(circle at 95% 0%, rgba(196,106,59,.3), transparent 40%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.contact h2 { color: var(--white); }
.contact .lead { color: #c9d3ea; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.form-card { background: var(--white); color: var(--ink); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.98rem; color: var(--navy); }
input[type="text"], input[type="tel"], input[type="email"], input[type="url"] {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 15px 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink);
  transition: border-color .15s, background .15s;
}
input:focus { border-color: var(--clay); background: var(--white); outline: none; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 18px; font-weight: 600; min-height: 1.5em; color: var(--navy); }
.form-card .btn { width: 100%; justify-content: center; }

/* Footer */
footer { background: var(--navy-deep); color: #9fb0d3; text-align: center; padding: 34px 24px; font-size: 0.95rem; }
footer .logo { font-size: 1rem; color: var(--white); }
footer .logo .l2 { color: var(--clay-light); }

/* Responsive */
@media (max-width: 960px) {
  .services-grid, .work-grid { grid-template-columns: 1fr; }
  .card.featured, .card.featured:hover { transform: none; }
  section { padding: 76px 0; }
  .hero { padding: 80px 0 76px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .mock { display: none; }
  .about-text { padding-left: 24px; }
  .form-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .menu-toggle { display: block; }
  nav ul {
    display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--white);
    flex-direction: column; gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
    align-items: stretch;
  }
  nav ul.open { display: flex; }
  nav li a { display: block; padding: 14px 0; font-size: 1.1rem; }
  nav li:last-child { padding-top: 10px; }
  nav .btn { justify-content: center; padding: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .work-card, .btn .arrow { transition: none; }
}
