:root {
  --paper: #f5f2ec;
  --ink: #20363c;
  --teal: #277369;
  --warm: #c9674b;
  --line: #cbd3ce;
  --white: #fffefa
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  line-height: 1.6
}

a {
  color: inherit;
  text-decoration: none
}

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

img {
  display: block;
  max-width: 100%;
  height: auto
}

h1,h2,h3,h4,p,figure {
  margin: 0
}

.site-header,main {
  max-width: 1500px;
  margin: auto
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  padding: 24px 4.4% 30px;
  position: relative
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 4.4%;
  right: 4.4%;
  border-bottom: 1px solid var(--line)
}

.brand {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase
}

.site-header nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  text-transform: uppercase
}

.site-header a:hover,.text-link:hover,.more a:hover {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 5px
}

.intro {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  gap: 4%;
  padding: 60px 0 76px 4.4%;
  align-items: start
}

.intro-copy {
  padding-right: 4px
}

.eyebrow,.blurb h2 {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.4
}

.intro h1 {
  max-width: 650px;
  font-size: clamp(36px,4.2vw,58px);
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: 24px 0 38px
}

.blurb {
  margin-top: 22px
}

.blurb h2 {
  margin-bottom: 10px
}

.blurb p {
  font-size: 17px;
  line-height: 1.6
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 52px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 40px;
  background: var(--ink);
  color: white
}

.button:hover {
  background: var(--teal)
}

.text-link {
  color: var(--teal)
}

.portfolio-visual {
  padding-top: 6px
}

.portfolio-visual>img {
  width: 100%;
  aspect-ratio: 1300/876;
  object-fit: cover
}

.portfolio-visual figcaption {
  padding: 12px 22px 0 2px;
  font-size: 11px;
  line-height: 1.5
}

.portfolio-visual figcaption>div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px;
  margin-bottom: 6px
}

.portfolio-visual strong {
  color: var(--teal);
  font-size: 10px;
  text-transform: uppercase
}

.process {
  border-top: 1px solid #e3e7e2;
  padding: 52px 4.4% 0
}

.warm {
  color: var(--warm)
}

.process>h2 {
  font-family: Georgia,'Times New Roman',serif;
  font-size: clamp(28px,3vw,42px);
  font-weight: 400;
  line-height: 1.25;
  margin: 24px 0 18px
}

.process-intro {
  font-size: 18px;
  line-height: 1.65;
  max-width: 1350px
}

.process-grid {
  display: grid;
  grid-template-columns: .85fr 1fr 1.1fr;
  gap: 18px;
  margin-top: 44px
}

.process-card {
  background: var(--white);
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative
}

.process-card:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -13px;
  top: 46%;
  color: var(--warm);
  font-size: 26px;
  z-index: 1
}

.process-card h3 {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 24px;
  line-height: 1.4
}

.process-card h3 span {
  margin-right: 8px
}

.artifact {
  background: #f7f7f4;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px
}

.artifact img {
  width: 100%;
  object-fit: contain;
  max-height: 350px
}

.artifact.sketches {
  min-height: 410px
}

.artifact.sketches img {
  width: auto;
  max-height: 385px
}

.artifact-caption {
  margin-top: auto;
  padding-top: 24px
}

.process-card:not(:first-child) .artifact-caption {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 130px
}

.artifact-caption h4 {
  font-size: 13px;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 10px
}

.artifact-caption p {
  font-size: 15px;
  line-height: 1.65
}

.detail-note {
  margin-top: 36px;
  padding: 24px;
  background: #17343c;
  color: var(--paper)
}

.detail-note h3 {
  font-size: 13px;
  text-transform: uppercase;
  color: #a3c5bc;
  margin-bottom: 14px
}

.detail-note p {
  font-size: 20px;
  line-height: 1.65
}

.more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 4.4% 64px;
  font-size: 17px
}

.more a {
  color: var(--teal);
  font-weight: 700
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  background: var(--ink);
  color: white;
  padding: 12px;
  z-index: 10
}

.skip-link:focus {
  top: 12px
}

@media(min-width:1500px) {
  .intro h1 {
    font-size: 58px
  }
}

@media(max-width:1000px) {
  .intro {
    gap: 3%;
    padding-top: 42px
  }
  .intro h1 {
    font-size: 40px
  }
  .blurb p {
    font-size: 15px
  }
  .intro-actions {
    margin-top: 30px;
    gap: 20px
  }
  .portfolio-visual figcaption>div {
    grid-template-columns: 1fr;
    gap: 1px
  }
  .process-card {
    padding: 16px
  }
  .artifact {
    min-height: 210px;
    padding: 10px
  }
  .artifact.sketches {
    min-height: 350px
  }
  .process-card:not(:first-child) .artifact-caption {
    padding-top: 105px
  }
  .detail-note p {
    font-size: 18px
  }
}

@media(max-width:700px) {
  .site-header {
    align-items: flex-start;
    padding: 22px 6%
  }
  .brand {
    max-width: 200px;
    font-size: 15px
  }
  .site-header nav {
    gap: 14px;
    font-size: 12px;
    flex-wrap: wrap;
    justify-content: flex-end
  }
  .intro {
    grid-template-columns: 1fr;
    padding: 38px 6% 44px;
    gap: 36px
  }
  .intro h1 {
    font-size: clamp(36px,9vw,52px);
    margin-bottom: 30px
  }
  .blurb p {
    font-size: 16px
  }
  .portfolio-visual {
    padding: 0
  }
  .portfolio-visual figcaption>div {
    grid-template-columns: 76px 1fr;
    gap: 8px
  }
  .process {
    padding: 38px 6% 0
  }
  .process-intro {
    font-size: 16px
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px
  }
  .process-card {
    padding: 22px
  }
  .process-card:not(:last-child)::after {
    content: "↓";
    top: auto;
    bottom: -26px;
    left: 50%;
    right: auto;
    font-size: 21px
  }
  .artifact {
    min-height: 0;
    padding: 20px
  }
  .artifact img {
    max-height: 300px
  }
  .artifact.sketches {
    min-height: 0
  }
  .artifact.sketches img {
    max-height: 370px
  }
  .process-card:not(:first-child) .artifact-caption {
    padding-top: 22px;
    margin-top: 22px
  }
  .artifact-caption {
    margin-top: 0
  }
  .detail-note {
    padding: 22px
  }
  .detail-note p {
    font-size: 17px
  }
  .more {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 6% 45px;
    font-size: 16px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}
