/* Example website: Harbor Lane Advisory, a made up consultant. Shared by every page of this example. */
:root {
  --ink: #14213d;
  --ink-soft: #46536b;
  --paper: #fbf9f4;
  --sand: #f1ebdd;
  --line: #e2dccb;
  --teal: #0f766e;
  --teal-dark: #0b5a54;
  --gold: #c8932f;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 33, 61, .10);
  --bar-h: 34px;
  --head-h: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + var(--head-h) + 12px); }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* The example bar stays on screen so nobody mistakes this for a real business */
.example-bar { position: sticky; top: 0; z-index: 60; height: var(--bar-h); background: var(--ink); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 12px; letter-spacing: .01em; }
.example-bar b { color: var(--gold); font-weight: 600; margin-right: 6px; }

/* Header and menu */
.site-head { position: sticky; top: var(--bar-h); z-index: 50; background: rgba(251, 249, 244, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-in { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.brand svg { flex: none; }
.brand small { display: block; font-family: 'Inter', system-ui, sans-serif; font-weight: 500; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.1; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; color: var(--ink-soft); transition: background .2s, color .2s; }
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--sand); }
.nav a.cta { background: var(--teal); color: #fff; margin-left: 6px; padding: 9px 16px; }
.nav a.cta:hover { background: var(--teal-dark); }
.menu-btn { display: none; align-items: center; gap: 9px; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: .95rem; color: #fff; background: var(--ink); padding: 10px 16px 10px 14px; border-radius: 999px; }
.menu-btn .bars { width: 18px; height: 12px; position: relative; }
.menu-btn .bars i { position: absolute; left: 0; right: 0; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s, top .25s; }
.menu-btn .bars i:nth-child(1) { top: 0; }
.menu-btn .bars i:nth-child(2) { top: 5px; }
.menu-btn .bars i:nth-child(3) { top: 10px; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(3) { top: 5px; transform: rotate(-45deg); }
.menu-btn.hint { animation: pulse 1.8s ease-out 1.2s 3; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(15, 118, 110, .55); } 70% { box-shadow: 0 0 0 14px rgba(15, 118, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(15, 118, 110, 0); } }

/* Phone menu: a clear panel with every page, big to tap */
.panel { display: none; }
@media (max-width: 860px) {
  :root { --head-h: 62px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; background: var(--teal); }
  .panel { display: block; position: fixed; left: 0; right: 0; top: calc(var(--bar-h) + var(--head-h)); bottom: 0; background: var(--paper); z-index: 45; padding: 18px 20px 28px; overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .panel.open { opacity: 1; transform: none; visibility: visible; }
  .panel p.lead { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 4px 0 10px; }
  .panel a { display: flex; align-items: center; justify-content: space-between; text-decoration: none; font-family: 'Fraunces', Georgia, serif; font-size: 1.55rem; padding: 15px 4px; border-bottom: 1px solid var(--line); }
  .panel a::after { content: '\203A'; color: var(--teal); font-size: 1.6rem; }
  .panel a[aria-current="page"] { color: var(--teal); }
  .panel a.cta { margin-top: 18px; justify-content: center; background: var(--teal); color: #fff; border-radius: 999px; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 1.05rem; border: 0; padding: 16px; }
  .panel a.cta::after { content: none; }
  body.menu-open { overflow: hidden; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; transition: transform .2s, background .2s, box-shadow .2s; }
.btn.primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(15, 118, 110, .28); }
.btn.primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn.ghost { border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Hero: words left, picture right */
.hero { padding: 56px 0 72px; background: radial-gradient(900px 400px at 85% -10%, #e5f1ee 0%, rgba(229, 241, 238, 0) 70%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.hero p.big { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.hero-pic { position: relative; }
.hero-pic img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.float-card { position: absolute; left: -22px; bottom: 28px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; max-width: 250px; font-size: .9rem; line-height: 1.35; }
.float-card .dot { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #e5f1ee; color: var(--teal); display: grid; place-items: center; }
.float-card b { display: block; font-size: .95rem; }
.fine-note { font-size: .85rem; color: var(--ink-soft); margin-top: 18px; }

/* Sections */
section { padding: 72px 0; }
.sec-head { max-width: 40em; margin-bottom: 36px; }
.sec-head p { color: var(--ink-soft); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border-radius: 22px; padding: 30px 28px 32px; color: #fff; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card:nth-child(1) { background: var(--teal); }
.card:nth-child(2) { background: var(--ink); }
.card:nth-child(3) { background: #a8741c; }
.card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, .09); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.card h3 { color: #fff; }
.card p { color: rgba(255, 255, 255, .88); margin: 0; }
/* Steps: big numbers on a coloured band, no boxes */
.band { background: var(--teal-dark); color: #fff; }
.band .eyebrow { color: var(--gold); }
.band .sec-head p { color: #cfe5e1; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: s; }
.step { position: relative; padding: 22px 0 0; border-top: 2px solid rgba(255, 255, 255, .28); }
.step::before { counter-increment: s; content: '0' counter(s); display: block; font-family: 'Fraunces', Georgia, serif; font-size: 3.4rem; line-height: 1; color: var(--gold); margin-bottom: 14px; }
.step h3 { color: #fff; }
.step p { color: #d6e8e5; margin: 0; }

/* Page links as picture cards: shows visitors there are more pages */
.explore { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; text-decoration: none; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; z-index: -2; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 33, 61, .88) 0%, rgba(20, 33, 61, .15) 60%); z-index: -1; }
.tile:hover img { transform: scale(1.06); }
.tile span { position: absolute; left: 16px; right: 16px; bottom: 16px; font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; line-height: 1.2; }
.tile span small { display: block; font-family: 'Inter', system-ui, sans-serif; font-size: .8rem; opacity: .85; margin-top: 4px; }

.cta-band { background: var(--ink); color: #fff; text-align: center; border-radius: 26px; padding: 56px 24px; }
.cta-band p { color: #cfd6e4; max-width: 34em; margin: 0 auto 24px; }
.cta-sec { padding-top: 0; }

/* Footer */
.foot { background: var(--sand); padding: 44px 0 28px; border-top: 1px solid var(--line); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h4 { margin: 0 0 10px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.foot a { display: block; text-decoration: none; padding: 4px 0; color: var(--ink); }
.foot a:hover { color: var(--teal); }
.foot .notice { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .85rem; }

/* Scroll animations: only when scripts run, so nothing stays hidden without them */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.left { transform: translateX(-30px); }
.js .reveal.right { transform: translateX(30px); }
.js .reveal.left.in, .js .reveal.right.in { transform: none; }
.hero .eyebrow, .hero h1, .hero p.big, .hero .btns, .hero .fine-note { animation: rise .8s ease both; }
.hero h1 { animation-delay: .1s; }
.hero p.big { animation-delay: .2s; }
.hero .btns { animation-delay: .3s; }
.hero .fine-note { animation-delay: .4s; }
.hero-pic { animation: rise 1s ease .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .hero * , .hero-pic, .menu-btn.hint { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Tablet and phone */
@media (max-width: 980px) {
  .explore { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { padding: 32px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-pic { order: 2; }
  .float-card { left: 12px; bottom: 12px; }
  section { padding: 52px 0; }
  .cards3, .steps { grid-template-columns: 1fr; }
  .explore { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .btns .btn { flex: 1 1 100%; }
}
@media (max-width: 420px) {
  .example-bar { font-size: 12px; }
  .explore { gap: 12px; }
  .tile span { font-size: 1.1rem; left: 12px; right: 12px; bottom: 12px; }
}

/* Inner pages */
.band h2 { color: #fff; }
.page-hero { padding: 52px 0 24px; background: radial-gradient(800px 360px at 10% -20%, #e5f1ee 0%, rgba(229, 241, 238, 0) 70%), var(--paper); }
.page-hero p.big { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split.flip { grid-template-columns: .95fr 1.05fr; }
.split.flip .pic { order: -1; }
.pic img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.split p { color: var(--ink-soft); }
.split h2 + p { margin-top: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value { padding-top: 18px; border-top: 4px solid var(--teal); }
.value:nth-child(2) { border-color: var(--gold); }
.value:nth-child(3) { border-color: var(--ink); }
.value p { color: var(--ink-soft); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips span { background: #e5f1ee; color: var(--teal-dark); font-weight: 500; font-size: .95rem; padding: 9px 16px; border-radius: 999px; }
.chips span:nth-child(3n+2) { background: #f6ead2; color: #7a5410; }
.chips span:nth-child(3n) { background: #dde3f0; color: var(--ink); }
.tint { background: var(--sand); }
@media (max-width: 860px) {
  .split, .split.flip { grid-template-columns: 1fr; gap: 28px; }
  .split.flip .pic { order: 0; }
  .values { grid-template-columns: 1fr; gap: 22px; }
  .page-hero { padding: 32px 0 8px; }
}
@media (max-width: 520px) {
  :root { --bar-h: 46px; }
  .example-bar { line-height: 1.3; }
}
