/*
Theme Name: Scoltock Enterprises
Theme URI: https://scoltock.com/
Author: Scoltock Enterprises Ltd
Author URI: https://scoltock.com/
Description: A bespoke company and heritage theme for Scoltock Enterprises Ltd.
Version: 1.2.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: scoltock-enterprises
*/

:root {
  --ink: #101816;
  --ink-soft: #263430;
  --forest: #132d29;
  --forest-deep: #081714;
  --sea: #1f6a63;
  --copper: #c87845;
  --gold: #dda96b;
  --parchment: #f3ede1;
  --paper: #fbf8f1;
  --mist: #d9e3df;
  --line: rgba(16, 24, 22, 0.16);
  --white-line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(6, 20, 17, 0.15);
  --radius: 1.25rem;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 76rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--copper);
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  color: var(--forest-deep);
  background: var(--gold);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--forest-deep);
  background: var(--paper);
  border-radius: 0.35rem;
  box-shadow: var(--shadow);
  transform: translateY(-180%);
}

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

.site-shell {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: #fff;
}

body:not(.home) .site-header {
  background: var(--forest-deep);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.25rem;
  border-bottom: 1px solid var(--white-line);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: 0.025em;
}

.primary-nav ul,
.fallback-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid var(--white-line);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  margin: auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-lines::before {
  transform: translateY(-0.35rem);
}

.nav-toggle-lines::after {
  transform: translateY(0.35rem);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(58rem, 100svh);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 38%, rgba(55, 142, 130, 0.26), transparent 29rem),
    linear-gradient(135deg, var(--forest-deep), var(--forest) 58%, #153c36);
  place-items: center;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 49.7%, rgba(255, 255, 255, 0.055) 49.8% 50%, transparent 50.1%),
    linear-gradient(60deg, transparent 0 49.7%, rgba(255, 255, 255, 0.035) 49.8% 50%, transparent 50.1%);
  background-size: 7rem 12rem;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.hero::after {
  position: absolute;
  right: -12vw;
  bottom: -36vw;
  width: 70vw;
  height: 70vw;
  max-width: 62rem;
  max-height: 62rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 8vw rgba(255, 255, 255, 0.018),
    0 0 0 17vw rgba(255, 255, 255, 0.012);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.35rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.95;
}

.hero-lede {
  max-width: 39rem;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.03rem, 1.7vw, 1.22rem);
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--forest-deep);
  background: var(--gold);
}

.button-primary:hover {
  background: #edbd82;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
}

.button-secondary:hover {
  border-color: #fff;
}

.hero-vessel {
  position: relative;
  width: min(38rem, 46vw);
  margin-inline: auto;
  overflow: hidden;
  background: #07110f;
  border: 1px solid rgba(221, 169, 107, 0.28);
  border-radius: 50% 50% 1.25rem 1.25rem;
  box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, 0.38);
}

.hero-vessel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 12, 10, 0.82), transparent 48%);
  content: "";
  pointer-events: none;
}

.hero-vessel img {
  width: 100%;
  min-height: 35rem;
  object-fit: cover;
  object-position: 61% center;
}

.hero-vessel figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.5rem 2rem 1.7rem;
  color: var(--parchment);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.hero-vessel figcaption span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading h2,
.content-page h1,
.post-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-heading p {
  max-width: 39rem;
  margin: 0;
  color: #50605b;
  font-size: 1.08rem;
}

.story-prologue {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.story-prologue::before {
  position: absolute;
  top: -18rem;
  left: -20rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(31, 106, 99, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(31, 106, 99, 0.025), 0 0 0 12rem rgba(31, 106, 99, 0.018);
  content: "";
}

.story-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8rem, 0.35fr) minmax(0, 1.65fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.story-marker {
  display: flex;
  min-height: 29rem;
  align-items: center;
  flex-direction: column;
  color: var(--forest);
}

.story-marker-year,
.story-marker-word {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.story-marker-line {
  width: 1px;
  flex: 1;
  margin-block: 1.25rem;
  background: linear-gradient(to bottom, var(--copper), var(--sea));
}

.story-copy h2 {
  max-width: 15ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 1;
}

.story-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 58rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.story-columns p {
  margin: 0;
  color: #50605b;
}

.story-columns p:first-child::first-letter {
  float: left;
  margin: 0.1rem 0.5rem 0 0;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 0.78;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.story-link::after {
  content: "\2193";
  font-size: 1rem;
  transition: transform 180ms ease;
}

.story-link:hover::after {
  transform: translateY(0.2rem);
}

.ventures {
  background: var(--parchment);
}

.venture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.venture-card {
  position: relative;
  display: flex;
  min-height: 29rem;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 3.25rem);
  color: #fff;
  background: var(--forest);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(19, 45, 41, 0.11);
}

.venture-card::after {
  position: absolute;
  right: -5rem;
  bottom: -6rem;
  width: 19rem;
  height: 19rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0.025), 0 0 0 6rem rgba(255, 255, 255, 0.018);
  content: "";
}

.venture-card:nth-child(2) {
  color: var(--forest-deep);
  background: var(--gold);
}

.venture-card:nth-child(2)::after {
  border-color: rgba(8, 23, 20, 0.18);
  box-shadow: 0 0 0 3rem rgba(8, 23, 20, 0.035), 0 0 0 6rem rgba(8, 23, 20, 0.025);
}

.venture-number {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.venture-card:nth-child(2) .venture-number {
  color: var(--forest);
}

.venture-copy {
  position: relative;
  z-index: 1;
}

.venture-card h3 {
  max-width: 10ch;
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.venture-card p {
  max-width: 31rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.venture-card:nth-child(2) p {
  color: rgba(8, 23, 20, 0.72);
}

.venture-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.venture-link::after {
  font-size: 1.2rem;
  content: "\2197";
  transition: transform 180ms ease;
}

.venture-link:hover::after {
  transform: translate(0.2rem, -0.2rem);
}

.company-note {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(2rem, 8vw, 8rem);
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.company-note-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.company-note p {
  max-width: 50rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.history {
  color: #fff;
  background: var(--forest-deep);
}

.history .section-heading p {
  color: rgba(255, 255, 255, 0.66);
}

.journey {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: -1.5rem 0 0;
  padding: 1.15rem 0;
  border-top: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
  color: var(--parchment);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journey i {
  position: relative;
  height: 1px;
  flex: 1;
  background: rgba(221, 169, 107, 0.4);
}

.journey i::after {
  position: absolute;
  top: -0.2rem;
  right: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  content: "";
  transform: rotate(45deg);
}

.journey-note {
  margin: 0.75rem 0 clamp(3rem, 6vw, 5rem);
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.76rem;
}

.history-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.history-intro {
  position: sticky;
  top: 3rem;
}

.history-intro blockquote {
  margin: 0;
  padding: 0;
  color: var(--parchment);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.history-intro p {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline::before {
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: 0.34rem;
  width: 1px;
  background: rgba(221, 169, 107, 0.35);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 0 0 3.8rem 2.4rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  position: absolute;
  top: 0.35rem;
  left: 0;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--gold);
  border: 3px solid var(--forest-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold);
  content: "";
}

.timeline-date {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.timeline-copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.timeline-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

.custodian {
  position: relative;
  overflow: hidden;
  background: var(--gold);
}

.custodian::after {
  position: absolute;
  top: -16rem;
  right: -13rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(8, 23, 20, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(8, 23, 20, 0.025), 0 0 0 12rem rgba(8, 23, 20, 0.02);
  content: "";
}

.custodian-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(2rem, 8vw, 8rem);
}

.custodian h2 {
  max-width: 15ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.custodian .eyebrow {
  color: var(--forest-deep);
}

.custodian-copy p {
  max-width: 43rem;
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.custodian-copy p + p {
  margin-top: 1.4rem;
}

.contact {
  color: #fff;
  background: var(--forest);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.contact h2 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.contact-copy p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.66);
}

.contact-link {
  display: inline-block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  text-decoration: none;
  word-break: break-word;
}

.contact-link::after {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 180ms ease;
}

.contact-link:hover::after {
  transform: scaleX(1);
}

.site-footer {
  color: rgba(255, 255, 255, 0.58);
  background: var(--forest-deep);
}

.footer-inner {
  display: flex;
  min-height: 7rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.78rem;
}

.footer-line {
  color: var(--parchment);
  font-family: var(--serif);
  font-size: 1rem;
}

.content-main {
  min-height: 70vh;
  padding-top: 10rem;
  padding-bottom: 6rem;
  background: var(--parchment);
}

.content-main + .site-footer {
  margin-top: 0;
}

.content-page,
.post-card {
  width: min(calc(100% - 2.5rem), 52rem);
  margin-inline: auto;
}

.content-page > *,
.post-card > * {
  max-width: 100%;
}

.content-page h1,
.post-card h2 {
  margin-bottom: 2rem;
}

.content-page a,
.post-card a {
  color: var(--sea);
}

.content-page img {
  border-radius: 0.75rem;
}

.entry-meta {
  margin-bottom: 1rem;
  color: #60706b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-card + .post-card {
  margin-top: 5rem;
  padding-top: 5rem;
  border-top: 1px solid var(--line);
}

.pagination {
  width: min(calc(100% - 2.5rem), 52rem);
  margin: 4rem auto 0;
}

@media (max-width: 850px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .nav-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .primary-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: grid;
    padding: 7rem 1.5rem 3rem;
    background: rgba(8, 23, 20, 0.98);
    opacity: 0;
    place-items: center;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav ul,
  .fallback-menu {
    flex-direction: column;
    gap: 1.8rem;
  }

  .primary-nav a {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 10rem;
    padding-bottom: 5rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-vessel {
    width: min(38rem, 100%);
    margin: 0;
  }

  .section-heading,
  .company-note,
  .history-grid,
  .custodian-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 2rem;
  }

  .history-intro {
    position: static;
  }

}

@media (max-width: 650px) {
  .site-shell {
    width: min(calc(100% - 1.5rem), var(--content));
  }

  .header-inner {
    min-height: 5.25rem;
  }

  .hero-inner {
    padding-top: 8.5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .venture-grid {
    grid-template-columns: 1fr;
  }

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

  .story-marker {
    min-height: auto;
    align-items: center;
    flex-direction: row;
  }

  .story-marker-year,
  .story-marker-word {
    writing-mode: horizontal-tb;
  }

  .story-marker-line {
    width: auto;
    height: 1px;
    margin: 0 1rem;
  }

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

  .hero-vessel img {
    min-height: 25rem;
  }

  .journey {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .journey i {
    width: 1px;
    height: 1.3rem;
    flex: none;
    margin-left: 0.25rem;
  }

  .journey i::after {
    top: auto;
    right: -0.18rem;
    bottom: 0;
    transform: rotate(135deg);
  }

  .venture-card {
    min-height: 24rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 2rem;
  }
}

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

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