:root {
  --ink: #123b44;
  --ink-soft: #49676d;
  --deep: #062e3b;
  --deepest: #031f2a;
  --aqua: #71d6c3;
  --aqua-light: #c3f2e8;
  --coral: #de7058;
  --coral-dark: #b84e45;
  --sun: #f4c878;
  --sand: #f4efe3;
  --cream: #fffaf0;
  --white: #ffffff;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1240px;
  --side-pad: clamp(1.25rem, 5vw, 5rem);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: inherit;
}

svg {
  display: block;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
  border-radius: 0.2rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--deepest);
  background: var(--sun);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  width: min(100%, calc(var(--max-width) + (2 * var(--side-pad))));
  align-items: center;
  justify-content: space-between;
  padding: 1.65rem var(--side-pad);
  color: var(--white);
  transform: translateX(-50%);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  line-height: 1.08;
  text-decoration: none;
}

.brand-mark > img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark strong {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-mark small {
  margin-top: 0.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.8rem);
}

nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: var(--sun);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover {
  color: var(--white);
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(900px, 100svh);
  align-items: center;
  overflow: hidden;
  padding: 8rem max(var(--side-pad), calc((100vw - var(--max-width)) / 2)) 5.5rem;
  color: var(--white);
  background: var(--deepest);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 31, 42, 0.94) 0%, rgba(3, 31, 42, 0.8) 32%, rgba(3, 31, 42, 0.2) 68%, transparent 84%),
    linear-gradient(0deg, rgba(3, 31, 42, 0.35), transparent 35%);
  content: "";
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(50%, 650px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.4rem;
  color: var(--aqua);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.eyebrow--dark {
  color: var(--coral-dark);
}

.eyebrow--aqua {
  color: var(--aqua);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.03;
}

h1 {
  max-width: 750px;
  margin-bottom: 1.6rem;
  font-size: clamp(3.3rem, 6vw, 6.7rem);
  letter-spacing: -0.055em;
}

h1 em,
h2 em {
  color: var(--sun);
  font-weight: 500;
}

.hero__intro {
  max-width: 550px;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 0.9rem 1.45rem;
  border: 1px solid var(--coral);
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 12px 30px rgba(1, 24, 32, 0.2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button:hover {
  border-color: #ec866f;
  background: #ec866f;
  transform: translateY(-2px);
}

.text-link {
  padding-block: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.text-link:hover {
  border-color: var(--aqua);
  color: var(--white);
}

.hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: max(var(--side-pad), calc((100vw - var(--max-width)) / 2));
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__scroll svg {
  width: 1rem;
  fill: none;
  stroke: var(--aqua);
  stroke-linecap: round;
}

.section {
  position: relative;
  max-width: calc(var(--max-width) + (2 * var(--side-pad)));
  margin-inline: auto;
  padding: clamp(5.5rem, 10vw, 9rem) var(--side-pad);
}

.section__number {
  position: absolute;
  top: clamp(5.5rem, 10vw, 9rem);
  left: 1.2rem;
  color: rgba(18, 59, 68, 0.2);
  font-family: var(--serif);
  font-size: 0.75rem;
  writing-mode: vertical-rl;
}

.section__number::after {
  display: inline-block;
  width: 1px;
  height: 3rem;
  margin-top: 0.7rem;
  background: currentColor;
  content: "";
}

.story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.story h2,
.values h2 {
  max-width: 550px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -0.045em;
}

.story h2 em,
.values h2 em {
  color: var(--coral);
}

.story__body {
  max-width: 650px;
  padding-top: 2.8rem;
  color: var(--ink-soft);
}

.story__lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.45;
}

.found-objects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 3rem;
}

.found-object {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.found-object svg {
  width: 100%;
  max-width: 5.5rem;
  aspect-ratio: 1;
  padding: 0.9rem;
  border: 1px solid #ddd5c6;
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.found-object:hover svg {
  transform: rotate(4deg) translateY(-3px);
}

.found-object--shell svg {
  color: var(--coral-dark);
  background: #f5ddcf;
}

.found-object--stone svg {
  color: #237773;
  background: #d6ebe5;
}

.found-object--coral svg {
  color: #ba604c;
  background: #f8e8cf;
}

.found-object--star svg {
  color: #9d7536;
  background: #f8e8b8;
}

.project {
  display: grid;
  max-width: none;
  min-height: 760px;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 8rem);
  padding-inline: max(var(--side-pad), calc((100vw - var(--max-width)) / 2));
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 25% 50%, rgba(36, 128, 126, 0.28), transparent 34%),
    var(--deep);
}

.project__watermark {
  position: absolute;
  right: -0.05em;
  bottom: -0.2em;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--serif);
  font-size: clamp(7rem, 18vw, 17rem);
  line-height: 0.8;
  white-space: nowrap;
}

.section__number--light {
  left: max(1.2rem, calc((100vw - var(--max-width)) / 2 - 3.5rem));
  color: rgba(255, 255, 255, 0.22);
}

.project__visual {
  position: relative;
  width: min(100%, 540px);
  justify-self: center;
}

.project__visual::before {
  position: absolute;
  inset: 8% -8%;
  z-index: 0;
  border-radius: 50%;
  background: rgba(113, 214, 195, 0.08);
  box-shadow: 0 0 80px rgba(113, 214, 195, 0.09);
  content: "";
}

.project__visual > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(195, 242, 232, 0.18);
  border-radius: 2rem;
  box-shadow: 0 28px 70px rgba(1, 24, 32, 0.42);
}

.project__content {
  position: relative;
  z-index: 2;
  max-width: 570px;
}

.project h2 {
  margin-bottom: 0.9rem;
  color: var(--white);
  font-size: clamp(3.1rem, 6vw, 6rem);
  letter-spacing: -0.05em;
}

.project__descriptor {
  margin-bottom: 2rem;
  color: var(--sun);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project__content > p:not(.eyebrow, .project__descriptor) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.project__note {
  display: flex;
  max-width: 500px;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 500;
}

.project__note svg {
  width: 2.8rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--aqua);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.values {
  padding-bottom: clamp(6rem, 11vw, 10rem);
}

.values__intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  column-gap: clamp(3rem, 9vw, 9rem);
}

.values__intro .eyebrow {
  grid-column: 1 / -1;
}

.values__intro > p:last-child {
  margin-bottom: 0.3rem;
  color: var(--ink-soft);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 5rem;
  border-top: 1px solid #d8d1c4;
  border-bottom: 1px solid #d8d1c4;
}

.value-card {
  position: relative;
  min-height: 330px;
  padding: 2rem clamp(1.2rem, 2.5vw, 2rem);
  border-right: 1px solid #d8d1c4;
  transition:
    color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.value-card:last-child {
  border-right: 0;
}

.value-card:hover {
  color: var(--white);
  background: var(--deep);
  transform: translateY(-0.5rem);
}

.value-card__index {
  display: block;
  margin-bottom: 2.2rem;
  color: var(--coral-dark);
  font-family: var(--serif);
  font-size: 0.72rem;
}

.value-card svg {
  width: 4.2rem;
  height: 4.2rem;
  margin-bottom: 2rem;
  fill: none;
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.value-card h3 {
  margin-bottom: 0.8rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
}

.value-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.value-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.closing {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  padding: 7rem var(--side-pad);
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(113, 214, 195, 0.16), transparent 33%),
    var(--coral-dark);
}

.closing::before,
.closing::after {
  position: absolute;
  width: 28rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.closing::before {
  top: -13rem;
  left: -10rem;
}

.closing::after {
  right: -10rem;
  bottom: -15rem;
}

.closing .eyebrow {
  position: relative;
  z-index: 2;
  color: var(--sun);
}

.closing h2 {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 2.2rem;
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -0.05em;
}

.button--light {
  position: relative;
  z-index: 2;
  border-color: var(--white);
  color: var(--deep);
  background: var(--white);
  box-shadow: none;
}

.button--light:hover {
  border-color: var(--sun);
  background: var(--sun);
}

.closing__objects span {
  position: absolute;
  z-index: 1;
  display: block;
}

.closing__shell {
  top: 20%;
  left: 12%;
  width: 4rem;
  height: 3rem;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 90% 10% 80% 20%;
  transform: rotate(-20deg);
}

.closing__stone {
  right: 12%;
  bottom: 23%;
  width: 3rem;
  height: 3.7rem;
  border: 2px solid rgba(255, 255, 255, 0.23);
  border-radius: 52% 48% 62% 38%;
  transform: rotate(30deg);
}

.closing__star {
  top: 18%;
  right: 20%;
  color: rgba(244, 200, 120, 0.7);
  font-size: 2rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2.2rem var(--side-pad);
  color: rgba(255, 255, 255, 0.68);
  background: var(--deepest);
  font-size: 0.77rem;
}

.brand-mark--footer {
  color: var(--white);
}

.brand-mark--footer > img {
  width: 2.3rem;
  height: 2.3rem;
}

.brand-mark--footer strong {
  font-size: 0.95rem;
}

footer p {
  margin: 0;
  text-align: center;
}

.footer__domain {
  justify-self: end;
  color: var(--aqua);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.values__grid .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.values__grid .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.values__grid .reveal:nth-child(4) {
  transition-delay: 240ms;
}

@media (max-width: 1050px) {
  .project {
    gap: 2rem;
  }

  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-card:nth-child(2) {
    border-right: 0;
  }

  .value-card:nth-child(-n + 2) {
    border-bottom: 1px solid #d8d1c4;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding-top: 1.2rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.68rem;
  }

  nav a:first-child {
    display: none;
  }

  .hero {
    min-height: auto;
    align-items: stretch;
    flex-direction: column;
    padding-top: 9rem;
    padding-bottom: 0;
  }

  .hero__content {
    width: auto;
    min-width: 0;
    max-width: 620px;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(3, 31, 42, 0.65) 0%,
      rgba(3, 31, 42, 0) 45%,
      rgba(3, 31, 42, 0.25) 100%
    );
  }

  .hero__art {
    position: relative;
    inset: auto;
    width: 100vw;
    flex: 0 0 auto;
    margin: 2.5rem calc(50% - 50vw) 0;
  }

  .hero__art img {
    height: auto;
  }

  .hero__scroll {
    display: none;
  }

  .story,
  .values__intro {
    grid-template-columns: 1fr;
  }

  .story {
    gap: 1.5rem;
  }

  .story__body {
    padding-top: 0;
  }

  .project {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 6rem;
    padding-bottom: 7rem;
  }

  .project__visual {
    max-width: 440px;
  }

  .project__content {
    justify-self: center;
  }

  .values__intro > p:last-child {
    max-width: 600px;
    margin-top: 2rem;
  }

  .values__grid {
    margin-top: 3.5rem;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  footer > p:not(.footer__domain) {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
  }

  .brand-mark > img {
    width: 2.35rem;
    height: 2.35rem;
  }

  .brand-mark strong {
    font-size: 0.92rem;
  }

  .brand-mark small {
    font-size: 0.58rem;
  }

  nav {
    padding-top: 0.3rem;
  }

  nav a {
    max-width: 5rem;
    line-height: 1.4;
    text-align: right;
  }

  nav a:last-child {
    display: none;
  }

  .hero {
    padding-top: 8rem;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 3.55rem);
  }

  h1 em {
    display: block;
    font-size: 0.78em;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .section__number {
    display: none;
  }

  .section {
    padding-block: 5.5rem;
  }

  .story h2,
  .values h2 {
    font-size: 2.8rem;
  }

  .found-objects {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem 0.8rem;
  }

  .project {
    display: flex;
    padding-block: 5.5rem 6rem;
    flex-direction: column;
  }

  .project__visual {
    order: 2;
    margin-bottom: -3rem;
  }

  .project__content {
    order: 1;
  }

  .project h2 {
    font-size: 3.5rem;
  }

  .project__watermark {
    display: none;
  }

  .values__grid {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .value-card,
  .value-card:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #d8d1c4;
  }

  .value-card:hover {
    transform: none;
  }

  .closing {
    min-height: 460px;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer__domain {
    justify-self: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
