/* Xyron website. Vantage identity, version 1.
   Layout: full-width colour bands around one 70rem column. The cropped eye appears once, in the hero. */

@font-face { font-family: 'Hanken Grotesk'; src: url('../fonts/HankenGrotesk-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('../fonts/AtkinsonHyperlegible-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('../fonts/AtkinsonHyperlegible-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('../fonts/AtkinsonHyperlegible-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --pine: #0F3B2E;
  --fern: #1E6B4F;
  --leaf: #86C5A0;
  --lichen: #C8DA5E;
  --mist: #E4EEE8;
  --paper: #FAFBF9;
  --white: #FFFFFF;
  --ink: #14201B;
  --muted: #4F6258;
  --line: #C9D8CF;
  --display: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;
  --body: 'Atkinson Hyperlegible', Verdana, system-ui, sans-serif;
  --gutter: clamp(1rem, 5vw, 4rem);
  --band: clamp(3.5rem, 8vw, 6.5rem);
  --measure: 70rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.55; }
img, svg { max-width: 100%; }
p { margin: 0; }
a { color: var(--fern); text-underline-offset: 0.2em; }
a:hover { color: var(--pine); }
:focus-visible { outline: 3px solid var(--fern); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; color: var(--pine); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.2rem + 4.2vw, 3.75rem); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; line-height: 1.3; }
.label { font-family: var(--display); font-weight: 700; font-size: 0.8125rem; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fern); }
.lead { font-size: 1.25rem; line-height: 1.5; text-wrap: pretty; }

.wrap { max-width: var(--measure); margin-inline: auto; }
.band { padding-block: var(--band); padding-inline: var(--gutter); }
.band--paper { background: var(--paper); }
.band--mist { background: var(--mist); }
.band--pine { background: var(--pine); color: var(--white); }
.band--pine h2 { color: var(--white); }
.band--pine .label { color: var(--lichen); }
.band--pine :focus-visible, .hero :focus-visible { outline-color: var(--white); }
section[id] { scroll-margin-top: 5.5rem; }

.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 20; padding: 0.75rem 1rem; background: var(--pine); color: var(--white); }
.skip:focus { top: 0.5rem; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); padding-inline: var(--gutter); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.5rem; min-height: 4.5rem; padding-block: 0.5rem; }
.brand { display: inline-flex; align-items: center; min-height: 2.75rem; }
.brand img { display: block; height: 2rem; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0 -0.75rem; padding: 0; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.75rem; color: var(--ink); font-weight: 700; text-decoration: none; }
.nav a:hover { color: var(--fern); text-decoration: underline; text-underline-offset: 0.35em; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--pine); color: var(--white); padding-inline: var(--gutter); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(4rem, 10vw, 8rem); }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.hero h1 { color: var(--white); }
.hero .label { color: var(--lichen); }
.hero .lead { max-width: 34rem; color: var(--mist); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: 0.5rem; }
.hero__more { display: inline-flex; align-items: center; min-height: 3rem; color: var(--white); font-weight: 700; }
.hero__more:hover { color: var(--lichen); }
.hero__eye { position: relative; min-height: 18rem; }
.hero__eye svg { position: absolute; left: 0; top: 50%; width: max(44rem, 46vw); height: max(44rem, 46vw); max-width: none; transform: translateY(-40%); }

.btn { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.5rem; font-family: var(--display); font-weight: 700; font-size: 1rem; text-decoration: none; }
.btn--accent { background: var(--lichen); color: var(--pine); }
.btn--accent:hover { background: var(--white); color: var(--pine); }

/* Introduction */
.intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.sectors { display: flex; flex-direction: column; gap: 0.75rem; }
.sectors ul { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.sectors li { display: flex; align-items: center; gap: 0.75rem; font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--pine); }
.sectors li::before { content: ''; flex: none; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--fern); }

/* What we do */
.stack { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3rem); }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0.75rem clamp(2rem, 6vw, 6rem); padding-block: 2rem; border-top: 1px solid var(--line); }
.row:last-child { padding-bottom: 0; }
.row p { max-width: 38rem; }

/* How we work */
.values { display: flex; flex-direction: column; gap: 1.25rem; max-width: 48rem; }
.values h2 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.25rem); line-height: 1.05; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: 2.5rem clamp(2rem, 4vw, 3.5rem); margin: 0; padding: 0; list-style: none; }
.services li { display: flex; flex-direction: column; gap: 0.625rem; min-width: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: end; }
.contact__text { display: flex; flex-direction: column; gap: 1rem; }
.contact__text p:last-child { color: var(--mist); }
.contact__list { display: flex; flex-direction: column; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.contact__list li { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.contact__list a { font-family: var(--display); font-weight: 700; font-size: clamp(1.375rem, 1rem + 1.6vw, 1.875rem); line-height: 1.2; color: var(--white); text-decoration-color: var(--lichen); text-decoration-thickness: 2px; text-underline-offset: 0.25em; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--lichen); }

/* Footer */
.site-footer { padding-block: 2.5rem; padding-inline: var(--gutter); background: var(--white); color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.5rem 3rem; }
.site-footer img { display: block; height: 1.75rem; width: auto; }
.site-footer__legal { display: flex; flex-direction: column; gap: 0.25rem; max-width: 34rem; }
.site-footer__links { display: flex; flex-direction: column; gap: 0.25rem; }
.site-footer__links a { font-size: 1rem; font-weight: 700; }

/* Plain text pages, such as the 404 page */
.prose { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; max-width: 40rem; }

/* Page heading band and long-form text, used by the privacy policy */
.page-head { background: var(--pine); color: var(--white); padding-inline: var(--gutter); padding-block: clamp(3rem, 7vw, 5rem); }
.page-head .wrap { display: flex; flex-direction: column; gap: 1rem; }
.page-head h1 { color: var(--white); font-size: clamp(2rem, 1.2rem + 3vw, 3rem); }
.page-head .lead { color: var(--mist); }
.page-head :focus-visible { outline-color: var(--white); }
.policy { display: flex; flex-direction: column; gap: 1rem; max-width: 44rem; }
.policy h2 { margin-top: 1.5rem; font-size: 1.5rem; line-height: 1.2; }
.policy p { text-wrap: pretty; overflow-wrap: anywhere; }

@media (max-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: 0; }
  .hero__eye { min-height: 0; height: 10rem; }
  .hero__eye svg { left: auto; right: calc(-1 * var(--gutter) - 5rem); top: 0; width: 24rem; height: 24rem; transform: none; }
  .intro__grid, .row, .contact { grid-template-columns: minmax(0, 1fr); }
  .contact { align-items: start; }
}
