/* Practice Built — premium calm */
@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-Regular.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-SemiBold.woff) format("woff"); font-weight: 600; font-display: swap; }

:root {
  --ink: #142326;
  --muted: #5a6a6d;
  --deep: #0e2f31;
  --teal: #1f6264;
  --teal-2: #2b7d7a;
  --sea: #8fc9c0;
  --gold: #d9b778;
  --sand: #f6f1e9;
  --paper: #fbf9f5;
  --line: rgba(20, 35, 38, .1);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(14,47,49,.06), 0 12px 32px -12px rgba(14,47,49,.18);
  --shadow-lg: 0 2px 4px rgba(14,47,49,.06), 0 30px 60px -20px rgba(14,47,49,.35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5.2rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; z-index: 50; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s; }
.top.scrolled { background: rgba(251, 249, 245, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: #fff; text-decoration: none; letter-spacing: -.01em; transition: color .4s; }
.brand span { color: var(--sea); }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--sea), var(--teal-2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); position: relative; margin-right: 10px; }
.brand-mark::after { content: ""; position: absolute; inset: 7px 7px 11px; border: 2px solid #fff; border-bottom: 0; border-radius: 2px 2px 0 0; }
.top.scrolled .brand { color: var(--ink); }
.top.scrolled .brand span { color: var(--teal); }
.top nav { display: flex; gap: 28px; align-items: center; }
.top nav a:not(.btn) { color: rgba(255,255,255,.88); text-decoration: none; font-size: .95rem; position: relative; transition: color .3s; }
.top.scrolled nav a:not(.btn) { color: var(--ink); }
.top nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.top nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 760px) { .top nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--teal); color: #fff !important; padding: 15px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 1rem; border: 1.5px solid transparent; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(31, 98, 100, .6); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.btn-glow { background: linear-gradient(135deg, #f1d9a4, var(--gold)); color: var(--deep) !important; box-shadow: 0 10px 30px -10px rgba(217, 183, 120, .7); }
.btn-glow:hover { box-shadow: 0 16px 40px -10px rgba(217, 183, 120, .9); }
.btn-outline-light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); box-shadow: none; }

.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 600; color: var(--teal-2); margin-bottom: 1em; }
.eyebrow-light { color: var(--sea); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 640px; }
.lead-light { color: rgba(255,255,255,.82); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--deep); color: #fff; padding: 120px 0 100px; isolation: isolate; }
.hero-bg { position: absolute; inset: -6% 0 0; z-index: -2; background: linear-gradient(180deg, rgba(14,47,49,.55), rgba(14,47,49,.82) 70%, var(--deep)), url(/images/hero-coast.webp) center/cover no-repeat; transform: scale(1.08); will-change: transform; }
.hero-glow { position: absolute; z-index: -1; inset: -30%; background:
  radial-gradient(40% 35% at 20% 30%, rgba(143, 201, 192, .28), transparent 70%),
  radial-gradient(35% 30% at 80% 70%, rgba(217, 183, 120, .18), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { to { transform: translate3d(6%, -4%, 0) rotate(8deg); } }
.hero-inner { width: 100%; }
.headline { margin-bottom: .45em; }
.headline .accent { font-style: italic; background: linear-gradient(90deg, var(--sea), #e6d2a5); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255,255,255,.45); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Trust strip */
.trust { background: var(--deep); color: #fff; padding: 0 0 72px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); padding-top: 36px; gap: 24px; }
.stat strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--gold); line-height: 1.2; }
.stat span { font-size: .92rem; color: rgba(255,255,255,.7); }
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr 1fr; } }

/* Sections */
.section { padding: 120px 0; }
.grid-3 { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 44px; }
.feature { padding: 32px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature p { color: var(--muted); margin: 0; }
.icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #e6f2ef, #f4ecdc); margin-bottom: 20px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Work showcase */
.work { background: linear-gradient(180deg, var(--paper), var(--sand)); overflow: hidden; }
.work-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.work-copy p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; }
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }
.devices { position: relative; padding: 20px 40px 60px 0; }
.laptop { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.laptop-bar { display: flex; gap: 6px; padding: 10px 14px; background: #f1ede6; border-bottom: 1px solid var(--line); }
.laptop-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d2c6; }
.phone { position: absolute; right: 0; bottom: 0; width: 30%; margin: 0; border-radius: 28px; overflow: hidden; border: 7px solid #10292b; background: #10292b; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 20px; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr; gap: 48px; } .devices { padding-right: 24px; } }

/* Services */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 44px; }
.card { position: relative; padding: 36px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-feature { background: linear-gradient(160deg, var(--deep), var(--teal)); color: #fff; border-color: transparent; }
.card.card-feature p, .card.card-feature li { color: rgba(255,255,255,.82); }
.card-num { display: block; font-family: var(--serif); font-size: .95rem; color: var(--gold); margin-bottom: 18px; letter-spacing: .05em; }
.card p { color: var(--muted); }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li { padding: 9px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.card-feature li { border-color: rgba(255,255,255,.14); }
.perk { margin-top: 28px; padding: 32px 36px; border-radius: var(--radius); background: linear-gradient(120deg, #e8f3f0, #f6eedc); position: relative; overflow: hidden; }
.perk h3 { margin-bottom: .35em; }
.perk p:last-child { margin: 0; color: var(--muted); }

/* Process */
.how { background: var(--deep); color: #fff; position: relative; overflow: hidden; }
.how h2 { max-width: 640px; }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.steps li { padding: 30px 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); counter-increment: step; transition: background .4s, transform .45s var(--ease); }
.steps li:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold); margin-bottom: 18px; }
.steps p { color: rgba(255,255,255,.72); margin: 0; }

/* About */
.about { display: grid; gap: 64px; grid-template-columns: minmax(220px, 380px) 1fr; align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius); background: linear-gradient(135deg, var(--sea), var(--gold)); opacity: .45; z-index: -1; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about p { color: var(--muted); }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; gap: 48px; } .about-photo { max-width: 300px; } }

/* Contact */
.contact { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, var(--deep), #164a4b); color: #fff; text-align: center; padding: 130px 0; }
.contact .hero-glow { opacity: .8; }
.contact .lead { margin: 0 auto 34px; }

.foot { padding: 44px 0; font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.foot .brand { color: var(--ink); font-size: 1.15rem; }
.foot .brand span { color: var(--teal); }
.foot p { margin: 0; }
.fine { font-size: .85rem; }

/* Motion (only when JavaScript is on and the visitor hasn't asked for reduced motion) */
.js-motion .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js-motion .reveal.in { opacity: 1; transform: none; }
.js-motion .hero .reveal { animation: rise 1.1s var(--ease) var(--d, .2s) both; opacity: 1; transform: none; transition: none; }
.js-motion .headline .w { display: inline-block; animation: rise 1.1s var(--ease) both; animation-delay: calc(.12s + var(--i) * .08s); }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.js-motion .float { animation: float 7s ease-in-out infinite; }
.js-motion .float-delay { animation-duration: 6s; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translate3d(0, -12px, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
