:root {
  --paper: #FAF7F2;
  --navy: #14213D;
  --accent: #B5653A;
  --accent-dark: #8F4A26;
  --border: #E7E0D6;
  --white: #FFFFFF;
  --muted: #596172;
  --tint: #F0E8DD;
  --tint-marine: #E3ECEB;
  --tint-health: #E9EBDD;
  --on-navy: #D9DFEA;
  --shadow-color: #14213D0C;
  --shadow-strong: #14213D17;
  --shadow-stack: #14213D24;
  --focus: #8F4A26;
  --radius: 12px;
  --shadow: 0 8px 28px var(--shadow-color);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--accent) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--navy); font: 400 1rem/1.75 'Manrope', sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--navy); color: var(--paper); }
a { color: inherit; text-underline-offset: .25em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
button, input { caret-color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 4.7vw, 3.9rem); line-height: 1.12; font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3.1vw, 2.65rem); line-height: 1.2; letter-spacing: -.035em; font-weight: 800; }
h3 { font-size: 1.15rem; line-height: 1.4; letter-spacing: -.02em; font-weight: 800; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: 76px; scroll-margin-top: 100px; }
.section h2 { margin-bottom: 36px; }
.quiet { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 20px; background: var(--navy); color: var(--white); z-index: 100; transform: translateY(-160%); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }
.header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--border); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 6px 22px var(--shadow-strong); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; font-weight: 800; font-size: 1.15rem; letter-spacing: -.035em; }
.logo svg { width: 30px; height: 30px; fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.logo .roof { stroke: var(--accent); }
nav { display: none; gap: 26px; margin-left: auto; }
nav a { text-decoration: none; font-size: .875rem; font-weight: 600; }
nav a:hover, .back-link:hover { color: var(--accent-dark); }
.button { min-height: 48px; padding: 12px 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--accent-dark); color: var(--white); border: 1px solid transparent; text-decoration: none; font-size: .875rem; line-height: 1.5; font-weight: 800; text-align: center; transition: background .2s, transform .25s var(--ease); }
.button:hover { background: var(--navy); transform: translateY(-2px); }
.button-outline { background: transparent; border-color: var(--border); color: var(--navy); }
.button-outline:hover { background: var(--tint); color: var(--navy); border-color: var(--navy); }
.header-cta { min-height: 42px; padding: 10px 15px; font-size: .8rem; white-space: nowrap; }
.hero { padding-block: 65px 48px; display: grid; gap: 44px; align-items: center; }
.eyebrow { margin-bottom: 22px; color: var(--accent-dark); font-size: .75rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero h1 { max-width: 540px; }
.hero-subline { margin-top: 25px; color: var(--muted); max-width: 450px; font-size: 1.05rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { font-size: .8rem; margin-top: 16px; }
.hero-showcase { position: relative; width: 100%; height: clamp(280px, 65vw, 440px); isolation: isolate; }
.browser { position: absolute; width: 80%; max-width: 400px; overflow: hidden; border-radius: 10px; background: var(--white); box-shadow: 0 14px 38px var(--shadow-stack); }
.browser-bar { min-height: 32px; display: flex; align-items: center; gap: 16px; padding: 6px 12px; background: var(--white); color: var(--muted); font-size: .7rem; border-bottom: 1px solid var(--border); }
.browser-dots { display: flex; gap: 4px; }
.browser-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--border); }
.browser-1 { top: 0; left: 1%; transform: rotate(-5deg); }
.browser-2 { top: 20%; right: 0; transform: rotate(5deg); }
.browser-3 { bottom: 0; left: 4%; transform: rotate(-2deg); }
.shot { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.image-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; color: var(--navy); }
.image-fallback::before { content: ''; width: 38px; height: 25px; margin-bottom: 16px; border-block: 2px solid var(--accent-dark); background: linear-gradient(var(--accent-dark), var(--accent-dark)) center / 100% 2px no-repeat; opacity: .55; }
.image-fallback strong { font-size: clamp(.85rem, 2vw, 1.25rem); font-weight: 800; letter-spacing: -.025em; }
.image-fallback span { font-size: .75rem; margin-top: 3px; color: var(--muted); }
.browser .image-fallback strong { font-size: 1rem; }
.browser .image-fallback::before { margin-bottom: 12px; }
.work { border-top: 1px solid var(--border); }
.section-intro { max-width: 670px; }
.section-intro h2 { margin-bottom: 14px; }
.section-intro p { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 29px 28px; }
.filters button { border: 1px solid var(--border); background: transparent; border-radius: 50px; padding: 8px 15px; min-height: 42px; color: var(--muted); font-size: .8rem; font-weight: 600; transition: background .2s, color .2s; }
.filters button:hover { background: var(--tint); color: var(--navy); }
.filters button[aria-pressed="true"] { color: var(--white); background: var(--navy); border-color: var(--navy); }
.project-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-content: start; margin-top: 28px; }
.project-card { border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.project-card:hover, .project-card:focus-within { transform: translateY(-5px); box-shadow: 0 14px 34px var(--shadow-strong); }
.project-image img { transition: transform 1.1s var(--ease); }
.project-card:hover img, .project-card:focus-within img { transform: scale(1.035); }
.project-image:focus-visible { outline-offset: -5px; }
.project-content { display: flex; flex-direction: column; flex: 1; padding: 24px; align-items: flex-start; }
.tag { display: inline-block; border-radius: 50px; padding: 3px 9px; color: var(--accent-dark); background: var(--paper); font-size: .7rem; font-weight: 600; margin-bottom: 12px; }
.project-content h3 { font-size: 1.1rem; }
.domain { font-size: .75rem; color: var(--muted); margin-top: 3px; }
.project-description { font-size: .875rem; color: var(--muted); line-height: 1.75; margin-block: 14px 20px; }
.visit { margin-top: auto; color: var(--accent-dark); font-size: .8rem; font-weight: 800; text-decoration: none; padding-block: 5px; }
.visit:hover { text-decoration: underline; }
[data-category="Marine"] .shot, .browser-2 .shot, .browser-3 .shot { background: var(--tint-marine); }
[data-category="Health & wellness"] .shot { background: var(--tint-health); }
.service-grid, .price-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.service-card { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.service-icon { width: 32px; height: 32px; stroke: var(--accent-dark); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 24px; }
.service-card p { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.pricing { background: var(--tint); }
.price-grid { gap: 24px; margin-top: 48px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.price-card.popular { outline: 2px solid var(--accent-dark); }
.popular-pill { position: absolute; top: -16px; left: 24px; padding: 5px 13px; border-radius: 50px; color: var(--white); background: var(--accent-dark); font-size: .75rem; line-height: 1.6; font-weight: 800; }
.price { font-size: 2.35rem; line-height: 1.25; letter-spacing: -.04em; font-weight: 800; margin-top: 20px; }
.price-card ul { list-style: none; padding: 0; margin-block: 26px 32px; }
.price-card li { display: flex; gap: 10px; font-size: .85rem; color: var(--muted); padding-block: 6px; }
.price-card li::before { content: ''; flex: 0 0 10px; height: 6px; border-left: 1.5px solid var(--accent-dark); border-bottom: 1.5px solid var(--accent-dark); transform: rotate(-45deg); margin-top: 8px; }
.price-card .button { margin-top: auto; }
.pricing-note { font-size: .8rem; text-align: center; margin-top: 27px; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 32px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--tint); color: var(--accent-dark); border-radius: 50%; font-size: .875rem; font-weight: 800; margin-bottom: 22px; }
.steps h3 { max-width: 300px; }
.steps p { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.how-note { margin-top: 35px; padding-top: 27px; border-top: 1px solid var(--border); font-size: .875rem; color: var(--muted); max-width: 760px; }
.contact { background: var(--navy); color: var(--paper); padding-block: 64px; }
.contact-inner { display: grid; gap: 32px; }
.contact h2 { max-width: 580px; margin-bottom: 18px; }
.contact p { color: var(--on-navy); max-width: 520px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.email-cta { padding-inline: 36px; background: var(--accent-dark); font-size: 1rem; min-height: 52px; }
.email-cta:hover { background: var(--accent-dark); }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.email-row a { font-size: .875rem; text-decoration: none; }
.email-row a:hover { text-decoration: underline; }
.copy-email { font-size: .75rem; min-height: 40px; border: 1px solid var(--on-navy); color: var(--paper); background: transparent; border-radius: 5px; padding: 6px 10px; }
.copy-email:hover { background: var(--paper); color: var(--navy); }
.copy-status { font-size: .75rem; color: var(--on-navy); min-height: 22px; margin-top: 4px; }
.contact :focus-visible { outline-color: var(--paper); }
.footer { padding-block: 30px; font-size: .8rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; }
.footer-row > div { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { text-decoration: underline; }
.footer-note { color: var(--muted); font-size: .75rem; margin-top: 10px; }
.privacy { max-width: 800px; padding-block: 72px 110px; min-height: calc(100vh - 230px); }
.privacy h1 { font-size: 3rem; }
.privacy p { margin-top: 24px; }
.privacy .updated { margin-top: 12px; color: var(--muted); font-size: .875rem; margin-bottom: 40px; }
.privacy a { color: var(--accent-dark); }
.back-link { font-size: .875rem; }
.reveal-in { animation: reveal .65s var(--ease) both; }
@keyframes reveal { from { opacity: .5; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 600px) {
  .container { width: min(1120px, calc(100% - 64px)); }
  .hero { padding-block: 76px 64px; }
  .hero-showcase { max-width: 550px; margin-inline: auto; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .service-card { padding: 24px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}
@media (min-width: 960px) {
  nav { display: flex; }
  .section { padding-block: 88px; }
  .hero { grid-template-columns: 1.08fr 1fr; gap: 58px; min-height: 625px; padding-block: 80px; }
  .hero-showcase { height: 420px; margin: 0; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding-inline: 18px; }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid, .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .service-card { padding: 30px; }
  .contact-inner { grid-template-columns: 1.4fr 1fr; gap: 65px; align-items: center; }
  .contact-actions { align-items: flex-start; }
}
@media (max-width: 399px) {
  .header-inner { gap: 10px; min-height: 72px; }
  .logo { font-size: .95rem; gap: 6px; }
  .logo svg { width: 25px; height: 25px; }
  .header-cta { padding-inline: 10px; font-size: .7rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .project-card:hover, .project-card:focus-within, .project-card:hover img, .project-card:focus-within img, .button:hover { transform: none; }
}
