/* Giz AB, giz.se. From the Claude Design file "Giz Website" (15 Nov 2026), with its inline styles
   moved here so the page can run under a Content-Security-Policy without 'unsafe-inline'. */

:root {
  --orange: #ff4800;
  --ink: #1a1a1a;
  --text: #4a4a48;
  --quiet: #6b6a66;
  --eyebrow: #c23700;
  --sand: #f4f3f1;
  --line: #dddbd6;
  --night: #0b0d1a;
  --night-quiet: #a9abb8;
  --night-text: #d4d5de;
  --footer-text: #bdbbb6;
  --gutter: clamp(20px, 5vw, 64px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink);
}

a:hover {
  color: var(--orange);
}

a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

svg {
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.band-inner {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Header */

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.masthead-logo {
  display: block;
  flex: none;
  line-height: 0;
}

.masthead-logo svg {
  width: 112px;
  height: auto;
}

.masthead-nav {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  font-size: 15px;
  font-weight: 500;
  flex-wrap: wrap;
}

.masthead-nav a {
  text-decoration: none;
}

/* Small phones: keep the three links on one line next to the logo. */
@media (max-width: 420px) {
  .masthead {
    gap: 16px;
  }

  .masthead-logo svg {
    width: 88px;
  }

  .masthead-nav {
    gap: 14px;
    font-size: 14px;
  }
}

/* Hero */

/* The section spans the whole window and clips the big mark at the window's edge, never where the
   1280px content box ends. Up to 1700px wide the mark runs off the right edge as in the design;
   from 1700px it sits against the content box and shows whole (no thin sliver cut off between). */
.hero {
  overflow: hidden;
}

.hero-inner {
  position: relative;
  padding-top: clamp(56px, 10vw, 140px);
  padding-bottom: clamp(64px, 10vw, 140px);
}

.hero-mark {
  position: absolute;
  right: -14%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(240px, 42vw, 620px);
  height: auto;
  pointer-events: none;
}

@media (max-width: 719.98px) {
  .hero-mark {
    display: none;
  }
}

@media (min-width: 1280px) and (max-width: 1699.98px) {
  .hero-mark {
    /* As far past the window's edge as it is past the content box's at 1280px. */
    right: calc((1280px - 100vw) / 2 - 14%);
  }
}

.hero-text {
  position: relative;
  max-width: min(760px, 58vw);
  min-width: min(100%, 320px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lead {
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 26px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}

.button-solid {
  background: var(--ink);
  color: #ffffff;
}

.button-solid:hover {
  background: var(--orange);
  color: #ffffff;
}

.button-outline {
  border: 2px solid var(--ink);
}

.button-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* What we do */

.band-sand {
  background: var(--sand);
}

.services {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.services-head p {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 340px;
}

.card-icon {
  width: 44px;
  height: 44px;
}

.card-icon-orange {
  background: var(--orange);
}

.card-icon-ink {
  background: var(--ink);
}

.card-icon-dot {
  border-radius: 50%;
  background: var(--orange);
}

.card-number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--quiet);
}

.card h3 {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card p:not(.card-number) {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}

.card-dark {
  background: var(--night);
  color: #ffffff;
}

.card-dark .card-number {
  color: var(--night-quiet);
}

.card-dark p:not(.card-number) {
  color: var(--night-text);
}

.card-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.card-dark .card-link {
  color: #ffffff;
}

.card-dark .card-link:hover {
  color: var(--orange);
}

/* About */

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 96px);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}

.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-self: start;
  border-top: 2px solid var(--ink);
}

.facts div {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-size: 14px;
  color: var(--quiet);
}

.facts dd {
  font-size: 17px;
  font-weight: 700;
}

/* Contact */

.band-orange {
  background: var(--orange);
  color: var(--ink);
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact h2 {
  max-width: 720px;
  text-wrap: balance;
}

.contact p {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.5;
}

.contact-email {
  align-self: flex-start;
  font-size: clamp(32px, 5.6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 4px solid var(--ink);
  padding-bottom: 6px;
}

.contact-email:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.band-orange a:focus-visible {
  outline-color: var(--ink);
}

/* Footer */

.band-ink {
  background: var(--ink);
  color: var(--footer-text);
}

.footer {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-logo {
  width: 88px;
  height: auto;
}

.footer-facts {
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
}

.footer-facts a {
  color: #ffffff;
}

.footer-facts a:hover {
  color: var(--orange);
}

/* The page that answers addresses that don't exist (404.html). */

.missing {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding-top: clamp(48px, 8vw, 120px);
  padding-bottom: clamp(64px, 10vw, 140px);
}

.missing h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.missing p:not(.eyebrow) {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
}
