:root {
  --snow: #f6f4ef;      /* page */
  --sand: #e8dfcf;      /* beach */
  --fjord: #2f5d7c;     /* deep blue */
  --sky: #a9c4d6;       /* light blue */
  --pine: #3e6b55;      /* forest green */
  --moss: #8fae96;      /* light green */
  --ink: #1f2a30;
  --muted: #5b6870;
  --radius: 14px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--snow); color: var(--ink); font: 17px/1.65 "Manrope", system-ui, sans-serif; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 300; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; font-weight: 500; }
p { margin: 0 0 1em; }
a { color: var(--fjord); }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pine); font-weight: 600; margin-bottom: 1rem; }
.btn { display: inline-block; padding: .85em 1.6em; border-radius: 999px; background: var(--fjord); color: #fff; text-decoration: none; font-weight: 600; transition: background .2s; }
.btn:hover, .btn:focus-visible { background: var(--pine); color: #fff; }
.btn.ghost { background: transparent; color: var(--fjord); box-shadow: inset 0 0 0 1.5px var(--fjord); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: var(--fjord); color: #fff; }
section { padding: clamp(64px, 10vw, 120px) 0; scroll-margin-top: 72px; } /* 72px = sticky header */

/* header */
header { position: sticky; top: 0; z-index: 10; background: rgba(246,244,239,.9); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(31,42,48,.06); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: "Fraunces", serif; font-size: 1.5rem; text-decoration: none; color: var(--ink); }
.logo span { color: var(--pine); }
nav { display: flex; gap: 28px; align-items: center; }
nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
nav a:hover { color: var(--pine); }
@media (max-width: 760px) { header nav a:not(.btn) { display: none; } }

/* hero */
.hero { padding: 0; }
/* text aligned with the page, photo runs to the right edge at full screen height (suits a tall portrait photo) */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); max-width: none; padding: 0 0 0 max(24px, calc((100% - var(--max)) / 2 + 24px)); }
.hero-grid > :first-child { align-self: center; padding: clamp(48px, 8vw, 96px) 0; }
.hero-grid > :last-child { min-height: min(calc(100vh - 72px), 900px); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding: 0 24px clamp(48px, 8vw, 96px); gap: 0; }
  .hero-grid > :last-child { min-height: 0; aspect-ratio: 4/5; }
  .hero-img { border-radius: var(--radius); }
}
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2rem; }

/* approach */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .about .portrait { order: 2; } } /* mobile: text first, so hero photo and portrait are not back to back */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 22px 0 22px 64px; border-top: 1px solid rgba(31,42,48,.1); position: relative; }
.steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 20px; font-family: "Fraunces", serif; font-size: 1.6rem; color: var(--moss); }
.steps strong { display: block; font-weight: 600; }


/* services */
.services { background: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--snow); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .art { width: 100%; height: 200px; object-fit: cover; }
.card .body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card .body p { color: var(--muted); flex: 1; }
.card .for { font-size: .85rem; color: var(--pine); font-weight: 600; }


/* about */
.about { background: #efe8dc; } /* warm sand, so it reads as its own block after the hero */
.portrait { aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(160deg, var(--sky), var(--moss)); display: grid; place-items: center; color: #fff; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }

/* contact */
.contact { background: linear-gradient(rgba(36,74,99,.78), rgba(36,74,99,.85)), url('images/contact-fjord.jpg') center/cover, var(--fjord); color: #fff; text-align: center; min-height: calc(100vh - 72px); display: grid; align-content: center; } /* fills the screen when "Let's talk" is clicked */
.contact p { color: rgba(255,255,255,.8); max-width: 32em; margin: 0 auto 2rem; }
.contact .btn { background: #fff; color: var(--fjord); }
.contact .btn:hover { background: var(--sand); }
footer { background: #244a63; color: rgba(255,255,255,.7); font-size: .85rem; padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: inherit; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.in { opacity: 1; transform: none; }
}


/* topic lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; font-size: .95rem; }
.ticks li { padding: 4px 0 4px 26px; position: relative; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--pine); font-weight: 600; }
.card h4 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 1.4em 0 .4em; }

/* who I work with */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr; } }
.who > div { border-top: 2px solid var(--moss); padding-top: 20px; }
.who p { color: var(--muted); }

/* why me */
.why { background: var(--fjord); color: #fff; }
.why .eyebrow { color: var(--moss); }
.why .ticks { font-size: 1.05rem; columns: 2; column-gap: 48px; margin-top: 32px; }
.why .ticks li { break-inside: avoid; padding: 10px 0 10px 30px; border-top: 1px solid rgba(255,255,255,.15); }
.why .ticks li::before { color: var(--moss); top: 10px; }
@media (max-width: 700px) { .why .ticks { columns: 1; } }

/* language bar above the header (scrolls away; header stays sticky) */
.langbar { background: #ebe7de; }
.langbar .wrap { display: flex; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.pill { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid rgba(31,42,48,.14); border-radius: 999px; background: #fff; }
.pill a { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; font-size: .75rem; letter-spacing: .06em; font-weight: 500; color: var(--muted); text-decoration: none; }
.pill a:hover { color: var(--ink); background: var(--snow); }
.pill a[aria-current] { background: #e9efe9; color: var(--ink); }
.pill img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 .5px rgba(0,0,0,.15); }
