/* Giant IT Solutions website styles.
   Colors come from the logo. No build step and no outside services. */

@font-face {
  font-family: "Source Serif";
  src: url("assets/source-serif.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geologica";
  src: url("assets/geologica.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Exact colors from the logo */
  --ink: #14100f;
  --grey: #5f605d;
  --teal: #6a8993;
  --bronze: #987757;
  --sky: #67bbde;
  --amber: #df954b;
  /* Quiet tints for text and backgrounds */
  --text: #4a4c4b;
  --mist: #f1f3f3;
  --white: #ffffff;
  --line: #d9dddd;
  --on-dark: #e4e6e5;
  --on-dark-soft: #e4e6e5;
  --rule: linear-gradient(90deg, var(--sky), var(--grey) 50%, var(--amber));
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --sans: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --wide: 1240px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 320;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

h1, h2, h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  font-weight: 370;
  line-height: 1.08;
  letter-spacing: -0.016em;
}

h3 { font-size: 1.5rem; line-height: 1.22; letter-spacing: -0.006em; }

p { text-wrap: pretty; }

a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--bronze); }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 3px; }

.wrap { width: min(100%, calc(var(--wide) + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
}
.skip:focus { top: 12px; }

/* Header */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 26px;
}
.brand { display: block; line-height: 0; }
.brand img { height: 74px; width: auto; }
.site-nav ul { display: flex; gap: 6px 34px; }
.site-nav a { color: var(--ink); font-size: 0.9375rem; font-weight: 340; text-decoration: none; }
.site-nav a:hover { color: var(--bronze); text-decoration: underline; }

/* Hero: the logo's layout at page scale. Five marks, then the words, then the rule. */
.hero { position: relative; overflow: hidden; background: var(--white); text-align: center; }
.arc-stage {
  position: relative;
  width: min(100%, 1600px);
  width: min(100%, 1600px, 160svh);
  margin-inline: auto;
  animation: spread 1.6s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}
.arc { display: block; width: 100%; height: auto; }
.marks { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
@keyframes spread {
  from { clip-path: circle(0% at 50% 28%); }
  to { clip-path: circle(120% at 50% 28%); }
}
.hero-copy { position: relative; margin-top: clamp(-96px, -4.5vw, -16px); padding-bottom: clamp(56px, 6vw, 88px); }
.hero h1 {
  max-width: 17em;
  margin-inline: auto;
  font-size: clamp(2.6rem, 5.2vw, 4.75rem);
  font-weight: 360;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero h1::after {
  content: "";
  display: block;
  width: min(100%, 12.6em);
  height: 2px;
  margin: 0.42em auto 0;
  background: var(--rule);
}
.hero p { margin: 20px auto 0; max-width: 72ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
.hero .actions { justify-content: center; }
.button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.button:hover { background: var(--grey); color: var(--white); }

/* Sections */
.band { padding-block: clamp(72px, 10vw, 136px); }
.band-mist { background: var(--mist); }
.band-dark { background: var(--ink); color: var(--on-dark); }
.band-dark h2, .band-dark h3 { color: var(--white); }

.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(32px, 6vw, 96px); align-items: start; }
.section-head p { padding-top: 6px; }
.section-head h2 { max-width: 15em; }
.section-head p { max-width: 42ch; }

.band-statement { padding-bottom: 0; }
.statement {
  max-width: 24em;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 350;
  line-height: 1.2;
  letter-spacing: -0.012em;
}

/* Process: the same ground, seen from the side. */
.band-process { position: relative; overflow: hidden; padding-top: clamp(72px, 9vw, 120px); }
.rollers { position: absolute; left: 0; pointer-events: none; }
.band-process .section-head, .band-process .stages { position: relative; z-index: 1; }
.is-rolling .profile-marks { display: none; }
.profile { display: block; width: 100%; height: auto; margin-top: clamp(32px, 4vw, 64px); overflow: visible; }
.stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 40px;
  margin-top: 34px;
  counter-reset: stage;
}
.stages li { counter-increment: stage; }
.stages h3::before {
  content: counter(stage);
  display: block;
  margin-bottom: 6px;
  color: var(--grey);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0;
}
.stages p { margin-top: 10px; font-size: 1rem; }

/* Services and principles */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.split h2 { position: sticky; top: 40px; }
.services > div { padding-block: 26px; border-top: 1px solid var(--line); }
.services > div:last-child { padding-bottom: 0; }
.services > div:first-child { border-top: 0; padding-top: 4px; }
.services dt { color: var(--ink); font-family: var(--serif); font-size: 1.5rem; line-height: 1.22; letter-spacing: -0.006em; }
.services dd { margin-top: 8px; max-width: 56ch; font-size: 1rem; }

/* Enablement */
.enable-copy p { max-width: 58ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }
.enable-copy p + p { margin-top: 18px; color: var(--ink); }

/* Examples */
.examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 5vw, 72px) clamp(40px, 7vw, 112px);
  margin-top: clamp(44px, 6vw, 76px);
}
.examples article { padding-top: 22px; border-top: 1px solid var(--grey); }
.examples h3 { font-size: 1.75rem; }
.examples dl { margin-top: 18px; }
.examples dt { color: var(--on-dark-soft); font-size: 0.9375rem; font-weight: 340; }
.examples dd { margin-top: 2px; font-size: 1.0625rem; color: var(--white); font-weight: 300; }
.examples dd + dt { margin-top: 16px; }

/* Ways to start: each step up asks for more, and gives more. */
.band-start { padding-bottom: 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  margin-top: clamp(44px, 6vw, 76px);
}
.step { padding: 34px clamp(24px, 3vw, 40px) 40px; border-radius: 22px 22px 0 0; }
.step h3 { font-size: 1.75rem; }
.step p { margin-top: 12px; }
.step ul { margin-top: 20px; font-size: 1rem; }
.step li + li { margin-top: 5px; }
.step { position: relative; color: var(--ink); }
.step-1 { background: var(--teal); }
.step-2 { padding-top: 92px; background: var(--bronze); }
.step-3 { padding-top: 150px; background: var(--grey); color: var(--white); }
.step-3 h3 { color: var(--white); }

/* Panels lift a little under the mouse. The strip below keeps them on the ground. */
.band-principles { position: relative; z-index: 1; }
@media (hover: hover) and (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  .step { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .step:hover { transform: translateY(-10px); }
  .step::after { content: ""; position: absolute; inset: 100% 0 auto; height: 12px; background: inherit; }
}

/* Contact: the giant stone, up close */
.stone-ground { background: var(--mist); }
.band-contact {
  position: relative;
  padding-top: clamp(110px, 14vw, 210px);
  background: var(--grey);
  border-radius: 50% 50% 0 0 / clamp(40px, 9vw, 150px) clamp(40px, 9vw, 150px) 0 0;
}
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px clamp(32px, 6vw, 96px); align-items: end; }
.contact h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 360; line-height: 1.04; letter-spacing: -0.02em; }
.contact-lead { margin-top: 22px; max-width: 46ch; }
.contact-list > div + div { margin-top: 20px; }
.contact-list dt { color: var(--on-dark-soft); font-size: 0.9375rem; }
.contact-list dd { margin-top: 1px; color: var(--white); overflow-wrap: anywhere; }
.contact-list a { color: var(--white); }
.contact-list a:hover { color: var(--amber); }
.band-contact .button { background: var(--white); color: var(--ink); }
.band-contact .button:hover { background: var(--amber); color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-soft); font-size: 0.9375rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 26px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--amber); }

/* Plain text pages */
.page { padding-block: clamp(44px, 6vw, 80px) clamp(72px, 9vw, 120px); }
.page h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 340; line-height: 1.06; letter-spacing: -0.018em; }
.page h2 { margin-top: 40px; font-size: 1.625rem; font-weight: 400; letter-spacing: -0.006em; }
.page p { margin-top: 12px; max-width: 66ch; }
.page .updated { margin-top: 14px; font-size: 0.9375rem; }

/* Tablets */
@media (max-width: 1040px) {
  .site-nav li:not(.nav-contact) { display: none; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .band-process .stages { margin-top: 44px; }
  .split, .section-head, .contact { grid-template-columns: minmax(0, 1fr); }
  .split h2 { position: static; }
  .section-head { align-items: start; }
}

@media (max-width: 860px) {
  .arc-stage { width: 100%; }
  .hero-copy { margin-top: -6px; }
  .examples { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step-2, .step-3 { padding-top: 34px; border-radius: 22px; }
  .step-3 { border-radius: 22px 22px 0 0; }
}

@media (max-width: 720px) {
  .profile { margin-top: 84px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 2.25rem; }
  .brand img { height: 60px; }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .site-header .wrap { padding-block: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arc-stage { animation: none; }
  .button { transition: none; }
}

@media print {
  .arc-stage, .skip, .site-nav { display: none; }
  .band-dark, .step, .site-footer { background: none; color: #000; }
  .band-dark h2, .band-dark h3, .step-3 h3, .examples dd, .contact-list dd, .contact-list a { color: #000; }
}
