/* Simon Harris, wolf359.ltd. Four pages sharing this one stylesheet (BRIEF D24): a menu on every
   page, a sticky title per area, secondary brand colours inside panels, CSS-only motion. Colours
   are the WOLF359 design system's tokens. Text pairs all pass 4.5:1 (BRIEF D9): light blue is
   used only for lines and markers, never for text. No JavaScript (D11). */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --dark-green: #172f2b;
  --cream: #f6e0b9;
  --mid-green: #4b7b63;
  --light-green: #a2ae84;
  --mid-blue: #105663;
  --light-blue: #56838b;
  --gutter: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--dark-green); color: var(--cream); font-family: "Montserrat", system-ui, sans-serif; font-weight: 300; -webkit-text-size-adjust: 100%; }
h1, h2, h3, h4, p, ul { margin: 0; }
a { color: inherit; }
a:hover { opacity: 0.8; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
img { display: block; }

/* One "Get in touch" button, always on screen (no script).
   Phones and narrower windows: a slim bar along the bottom of the screen. */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; }
.btn { display: block; background: var(--cream); color: var(--dark-green); border-top: 2px solid var(--dark-green); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; text-align: center; padding: 16px 24px; }
.btn:hover { opacity: 1; background: #fff3dc; }
body { padding-bottom: 50px; }
/* Wide screens: a narrow tab on the right edge, its text on two lines, sitting in the margin
   beside the text column (needs about 80px of margin plus breathing room, so from 1400px wide).
   It is held level with the top of the first-screen photo, whatever the window's height: from
   1400px the hero's top padding and type sizes have reached their caps, so that top is fixed. */
@media (min-width: 1400px) {
  .cta-bar { left: auto; bottom: auto; top: 160px; }
  .btn { width: 76px; border: 2px solid var(--dark-green); border-right: 0; padding: 18px 8px; line-height: 18px; }
  body { padding-bottom: 0; }
}

.wrap { max-width: 1280px; margin: 0 auto; width: 100%; padding-left: var(--gutter); padding-right: var(--gutter); }
.band--cream { background: var(--cream); color: var(--dark-green); }
.band--dark { background: var(--dark-green); color: var(--cream); }
.band--blue { background: var(--mid-blue); color: var(--cream); }

.eyebrow { font-size: 14px; line-height: 20px; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: var(--light-green); }
.label { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--light-green); }
.band--cream .eyebrow { font-weight: 500; color: var(--mid-blue); }
.band--cream .label { color: var(--mid-blue); }
.band--blue .eyebrow { color: var(--cream); font-weight: 500; }
.section-title { font-size: clamp(40px, 6vw, 80px); line-height: 1; font-weight: 500; text-transform: uppercase; }
.lead { font-size: 18px; line-height: 30px; font-weight: 300; }
.photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }


/* The menu, on every page: the logo (links home) and the four pages as four equal boxes, square
   and outlined in the brand's light blue; the page being read is filled cream, like the Get in
   touch button. From 900px the boxes sit beside the logo, the bar is 64px tall (14 + 36 + 14) and
   stays at the top of the window. Below that the boxes go under the logo and the bar scrolls
   away: four across from 600px, two by two on phones. */
.site-nav { background: var(--dark-green); z-index: 9; }
.site-nav__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 14px; padding-bottom: 14px; }
.site-nav__logo { height: 32px; width: auto; }
.site-nav nav { flex: 1 1 100%; }
.site-nav__links { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.site-nav__links a { display: flex; align-items: center; justify-content: center; height: 36px; padding: 0 8px; border: 1px solid var(--light-blue); text-decoration: none; text-align: center; line-height: 14px; }
.site-nav__links a:hover { opacity: 1; border-color: var(--cream); }
.site-nav__links a[aria-current="page"] { background: var(--cream); border-color: var(--cream); color: var(--dark-green); }
/* Five items: two by two with the last full width on phones, three over two on tablets, one row
   of equal boxes beside the logo on wide screens (a long label takes two lines in its box). */
.site-nav__links li:last-child { grid-column: 1 / -1; }
@media (min-width: 600px) {
  .site-nav__links { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .site-nav__links li { grid-column: span 2; }
  .site-nav__links li:nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 1100px) {
  .site-nav { position: sticky; top: 0; }
  .site-nav nav { flex: 0 1 auto; }
  .site-nav__links { grid-template-columns: repeat(5, 150px); font-size: 13px; }
  .site-nav__links li, .site-nav__links li:nth-child(n+4) { grid-column: auto; }
}
/* A link to a section stops below the fixed menu, not under it. */
[id] { scroll-margin-top: 80px; }

/* First screen of the home page: the name, the headline and intro, and the photo. From 1400px
   the menu (64px), this top padding (56px) and the photo's 40px offset put the photo's top at
   160px, level with the Get in touch tab. */
.hero { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 88px); }
.hero__text { flex: 999 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.nowrap { white-space: nowrap; }
.hero__name { font-size: clamp(52px, 7vw, 100px); line-height: 0.95; font-weight: 500; letter-spacing: -0.01em; text-transform: uppercase; }
.hero__accent { width: 80px; height: 4px; background: var(--light-blue); margin: 8px 0; transform-origin: left; }
.hero__headline { max-width: 820px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; font-weight: 500; text-wrap: balance; }
.hero__intro { max-width: 800px; }
.hero__photo-wrap { flex: 0 1 240px; max-width: 42%; min-width: 0; position: relative; isolation: isolate; margin-right: 24px; }
.hero__photo-wrap::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; background: var(--mid-blue); z-index: -1; }

/* From 700px the photo sits beside the text, its top level with the top of the name (the eyebrow
   line is 20px plus a 20px gap), so text changes cannot move it or the Get in touch tab. */
@media (min-width: 700px) { .hero { align-items: flex-start; } .hero__photo-wrap { margin-top: 40px; } }
/* Phones: the photo sits small beside the name, so the intro reaches the first screen. */
@media (max-width: 699px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 20px 16px; align-items: start; }
  .hero__text { display: contents; }
  .hero__text > * { grid-column: 1 / -1; }
  .hero__text > .hero__name { grid-column: 1; grid-row: 2; }
  .hero__photo-wrap { grid-column: 2; grid-row: 2 / span 2; max-width: none; margin-right: 10px; }
  .hero__photo-wrap::before { inset: 10px -10px -10px 10px; }
}
/* The four areas on the home page: one column on phones, two on tablets, four across on desktop
   (never three and one). Each title, sub-line and list share rows with their neighbours
   (subgrid), so the sub-lines and the lists start level. Each title links to its detail. */
.offers { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px clamp(28px, 3vw, 40px); }
@media (min-width: 600px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .offers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.offer { min-width: 0; border-top: 4px solid var(--light-blue); padding-top: 24px; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 14px; align-content: start; }
.offer__title { font-size: clamp(22px, 2vw, 26px); line-height: 1.25; font-weight: 500; text-wrap: balance; }
.offer__title a { text-underline-offset: 6px; text-decoration-thickness: 1px; }
.offer__title a:hover { opacity: 1; text-decoration-thickness: 2px; }
.offer__subline { font-size: 18px; line-height: 26px; font-weight: 500; color: var(--light-green); text-wrap: balance; }

/* "Next" at the foot of a page's last section: where the visitor goes from here. */
.next-row { padding-bottom: clamp(64px, 9vw, 120px); }
.next { border-top: 1px solid var(--light-blue); padding-top: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.next a { font-size: clamp(24px, 3vw, 36px); line-height: 1.2; font-weight: 500; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.offer .ticks li::before { background-image: url("assets/mark-o-light-green.svg"); }
.offer .ticks li { text-wrap: pretty; }

/* How I can help */
.help-intro { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-start; }
.help-intro .section-title { flex: 1 1 360px; }
.help-intro__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.help-intro__text p { font-size: 22px; line-height: 34px; }

/* What I do: the page title over the areas, on the first area's band. The first area starts
   closer to it. */
.what-intro { padding-top: clamp(56px, 8vw, 104px); }
#planning .area, #assessment .area { padding-top: clamp(40px, 5vw, 64px); }

/* An area: its title and sub-line on the left (sticky on wide screens), the detail on the right. */
.area { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 72px; }
.area__head { display: flex; flex-direction: column; gap: 20px; }
.area__title { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.05; font-weight: 500; text-wrap: balance; }
.area__subline { font-size: clamp(20px, 2vw, 26px); line-height: 1.3; font-weight: 300; text-wrap: balance; }
.area__head::after { content: ""; width: 80px; height: 4px; background: var(--light-blue); }
.area__body { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.area__setup { font-size: 20px; line-height: 32px; font-weight: 300; }
.area__bring { background: var(--mid-blue); color: var(--cream); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 10px; }
.area__bring .label, .band--cream .area__bring .label { color: var(--cream); }
.area__bring p:last-child { font-size: 20px; line-height: 30px; font-weight: 500; }
.band--dark .area__bring { border: 1px solid var(--light-blue); }
/* "What you get" is shown first, then "What I look at"; both in full (Simon, 2026-11-14). */
.area__lists { display: flex; flex-direction: column; gap: 24px; }
.area__get { order: -1; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 32px); }
.area__look { min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 24px 0; border-top: 1px solid var(--light-blue); border-bottom: 1px solid var(--light-blue); }
.band--cream .area__get { background: var(--dark-green); color: var(--cream); }
.band--cream .area__get .label { color: var(--light-green); }
.band--dark .area__get { background: var(--cream); color: var(--dark-green); }
.band--dark .area__get .label { color: var(--mid-blue); }

@media (min-width: 960px) {
  .area { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .area__head { position: sticky; top: 128px; align-self: start; }
}

.ticks { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 26px; }
.ticks li { display: flex; gap: 14px; }
/* Bullets are the O from the WOLF359 logo (the brand's mark-o artwork, in a brand colour). */
.ticks li::before { content: ""; flex: 0 0 14px; height: 14px; margin-top: 6px; background: url("assets/mark-o-mid-green.svg") center / contain no-repeat; }
.band--dark .area__look .ticks li::before, .band--cream .area__get .ticks li::before { background-image: url("assets/mark-o-light-green.svg"); }
.area__get .ticks { font-weight: 500; }

/* How I work: one mid-blue band holding the page title, the statement and the three
   principles, so they read as one block. */
.approach-pause { padding-top: clamp(56px, 8vw, 104px); display: flex; flex-direction: column; gap: 32px; }
.approach-engage { padding-top: clamp(28px, 3vw, 40px); }
.approach-engage p { max-width: 800px; }
.approach__statement { max-width: 1080px; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.2; font-weight: 300; }
.principles { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(72px, 10vw, 128px); display: flex; flex-wrap: wrap; gap: 48px; }
.principle { flex: 1 1 260px; min-width: 0; border-top: 4px solid var(--light-green); padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.principle h2 { font-size: 24px; line-height: 32px; font-weight: 500; }
.principle p { font-size: 17px; line-height: 28px; }

/* Who I can work with: rows, name left and description right. */
.who { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px); display: flex; flex-direction: column; gap: 48px; }
.who__rows { padding: 0; list-style: none; border-top: 2px solid var(--mid-blue); }
.who__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 48px; padding: 28px 0; border-bottom: 1px solid var(--light-blue); }
.who__row h3 { flex: 1 1 320px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; font-weight: 500; }
.who__row p { flex: 1 1 360px; font-size: 18px; line-height: 28px; color: var(--mid-blue); font-weight: 500; }

/* About me: the page title on its own row (so it comes before the photo on a phone), then the
   photo with an offset colour block and the text beside it, companies below. */
.about > .section-title, .about__next { flex: 1 1 100%; }
.about__next { padding-left: 0; padding-right: 0; padding-bottom: 0; }
.about__next .next { border-top: 0; padding-top: 0; }
.about { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(72px, 9vw, 120px); display: flex; flex-wrap: wrap; gap: clamp(48px, 6vw, 88px); align-items: flex-start; }
.about__photo-wrap { flex: 1 1 280px; max-width: 380px; min-width: 0; position: relative; isolation: isolate; margin-right: 24px; }
.about__photo-wrap::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; background: var(--light-green); z-index: -1; }
.about__text { flex: 999 1 460px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 24px; }
.about__companies { flex: 1 1 100%; border-top: 1px solid var(--light-blue); border-bottom: 1px solid var(--light-blue); padding: 28px 0; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.about__companies p:first-child { font-size: clamp(13px, 1.2vw, 16px); line-height: 1.7; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.about__companies p:last-child { font-size: 16px; line-height: 26px; color: var(--light-green); }

/* Get in touch */
.contact { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); display: flex; flex-direction: column; gap: 28px; }
.contact__title { font-size: clamp(48px, 8vw, 112px); line-height: 1; font-weight: 500; text-transform: uppercase; }
.contact__text { max-width: 780px; font-size: 20px; line-height: 32px; }
.contact__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; font-weight: 500; }
.contact__links a { padding: 8px 0; }
.contact__sep { color: var(--mid-blue); }
/* Narrow screens: one link per line, so no separator is left hanging at a line end. */
@media (max-width: 699px) { .contact__links { flex-direction: column; align-items: flex-start; } .contact__sep { display: none; } }

/* Footer */
/* Logo at 48px tall; the brand asks for clear space of one O-width on
   every side (the O is about 17% of the logo width, so about 32px here); the footer padding and the 48px gap give more. */
.footer { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; }
.footer__logo { height: 48px; width: auto; }
.footer__legal { flex: 1 1 360px; max-width: 760px; font-size: 13px; line-height: 20px; color: var(--light-green); }
.bottom-band { height: 16px; background: var(--mid-green); }

/* Motion. Everything is visible without it; it runs only when the visitor has not asked for
   reduced motion. The first screen builds in on load. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  .load { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .load--1 { animation-delay: 0.1s; }
  .load--2 { animation-delay: 0.25s; }
  .load--3 { animation-delay: 0.6s; }
  .load--4 { animation-delay: 0.75s; }
  .load--5 { animation-delay: 0.95s; }
  .load--6 { animation-delay: 1.05s; }
  .load--7 { animation-delay: 1.15s; }
  .load--8 { animation-delay: 1.25s; }
  .load--photo { animation-delay: 0.45s; }
  .load-bar { animation: grow 0.7s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

  /* Reveal on scroll, CSS only. Browsers without scroll-driven animation simply show the content. */
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
