:root {
  --wine: #701a38;
  --wine-dark: #3f0c20;
  --blush: #f3c9d6;
  --lilac: #d8d2ff;
  --ink: #171216;
  --paper: #fffdfd;
  --mist: #f3f1f4;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 15px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-180%);
}

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

.site-header {
  display: grid;
  min-height: 104px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  padding: 18px clamp(24px, 5vw, 80px);
  background: var(--paper);
  border-bottom: 1px solid rgba(23, 18, 22, 0.16);
}

.wordmark {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 0.9;
}

.wordmark small {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
}

nav a,
.header-link {
  font-size: 14px;
  font-weight: 600;
}

nav a {
  border-bottom: 1px solid transparent;
}

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

.header-link {
  justify-self: end;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--wine);
  color: var(--paper);
}

.header-link:hover {
  background: var(--wine-dark);
}

.hero {
  display: grid;
  min-height: calc(100vh - 104px);
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(64px, 8vw, 125px) clamp(28px, 6vw, 96px) clamp(58px, 7vw, 100px);
}

.intro-line {
  max-width: 390px;
  margin: 0;
  color: var(--wine);
  font-size: 15px;
  font-weight: 600;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 900px;
  margin: clamp(70px, 9vw, 140px) 0;
  color: var(--wine);
  font-size: clamp(68px, 8vw, 130px);
  letter-spacing: -0.045em;
}

.hero-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}

.hero-footer p {
  max-width: 580px;
  margin: 0;
  color: #61565b;
  font-size: clamp(17px, 1.4vw, 21px);
}

.hero-footer a {
  padding-bottom: 5px;
  border-bottom: 2px solid var(--wine);
  color: var(--wine);
  font-weight: 700;
  white-space: nowrap;
}

.hero-gallery {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: var(--blush);
}

.gallery-label,
.gallery-caption {
  position: absolute;
  z-index: 4;
  font-size: 13px;
  font-weight: 700;
}

.gallery-label {
  top: 30px;
  right: 34px;
}

.gallery-caption {
  right: 34px;
  bottom: 34px;
  padding: 14px 18px;
  background: var(--paper);
  color: var(--wine);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.05;
}

.gallery-frame {
  position: absolute;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  border: 13px solid var(--paper);
  box-shadow: 0 24px 60px rgba(63, 12, 32, 0.16);
}

.gallery-frame span {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1;
}

.frame-a {
  width: 63%;
  height: 56%;
  left: 9%;
  top: 12%;
  z-index: 1;
  background: var(--wine);
  color: var(--paper);
  transform: rotate(-4deg);
}

.frame-b {
  width: 55%;
  height: 49%;
  right: 7%;
  bottom: 10%;
  z-index: 2;
  justify-content: flex-end;
  background: var(--lilac);
  color: var(--ink);
  transform: rotate(5deg);
}

.gallery-disc {
  position: absolute;
  z-index: 3;
  top: 43%;
  left: 42%;
  width: 150px;
  height: 150px;
  border: 30px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.running-line {
  overflow: hidden;
  background: var(--wine);
  color: var(--paper);
}

.running-line > div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 34px;
  min-height: 78px;
  padding: 0 34px;
  animation: drift 22s linear infinite;
}

.running-line span {
  font-family: var(--serif);
  font-size: 25px;
}

.running-line i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blush);
}

@keyframes drift {
  to { transform: translateX(-28%); }
}

.company {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.58fr;
  gap: clamp(34px, 6vw, 100px);
  padding: clamp(100px, 13vw, 190px) clamp(24px, 6vw, 104px);
  background: var(--paper);
}

.company-title > p,
.section-header > p,
.approach-heading > p,
.contact-intro > p {
  margin-bottom: 28px;
  color: var(--wine);
  font-size: 14px;
  font-weight: 700;
}

.company-title h2,
.section-header h2,
.approach-heading h2,
.contact-intro h2 {
  margin: 0;
  font-size: clamp(46px, 6vw, 88px);
  letter-spacing: -0.035em;
}

.company-copy {
  align-self: end;
}

.company-copy .lead {
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.18;
}

.company-copy p:last-child {
  margin-bottom: 0;
  color: #61565b;
  font-size: 17px;
}

.company aside {
  align-self: end;
  padding: 26px 0 0;
  border-top: 8px solid var(--blush);
}

.company aside span {
  display: block;
  margin-bottom: 13px;
  color: #786c72;
  font-size: 13px;
}

.company aside strong {
  font-family: var(--serif);
  font-size: clamp(23px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.15;
}

.services {
  padding: clamp(95px, 11vw, 165px) clamp(24px, 6vw, 104px);
  background: var(--mist);
}

.section-header {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 48px;
  margin-bottom: clamp(60px, 8vw, 112px);
}

.section-header h2 {
  max-width: 930px;
}

.service-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(23, 18, 22, 0.18);
  background: var(--paper);
}

.service-rail article {
  min-height: 480px;
  padding: clamp(28px, 4vw, 58px);
  border-right: 1px solid rgba(23, 18, 22, 0.18);
}

.service-rail article:last-child {
  border-right: 0;
}

.service-marker {
  height: 130px;
  margin-bottom: 70px;
}

.marker-one {
  width: 55px;
  border-radius: 999px;
  background: var(--wine);
  transform: rotate(25deg);
}

.marker-two {
  width: 130px;
  border: 28px solid var(--lilac);
  border-radius: 50%;
}

.marker-three {
  width: 130px;
  background: linear-gradient(135deg, var(--blush) 50%, var(--wine) 50%);
}

.service-rail h3 {
  margin-bottom: 24px;
  color: var(--wine);
  font-size: clamp(30px, 3vw, 42px);
}

.service-rail p {
  max-width: 390px;
  margin-bottom: 0;
  color: #62575c;
}

.approach {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(60px, 10vw, 160px);
  padding: clamp(100px, 13vw, 190px) clamp(24px, 6vw, 104px);
  background: var(--wine-dark);
  color: var(--paper);
}

.approach-heading > p {
  color: var(--blush);
}

.approach-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.approach-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 38px 0 42px;
  border-top: 1px solid rgba(255, 253, 253, 0.28);
}

.approach-list li:last-child {
  border-bottom: 1px solid rgba(255, 253, 253, 0.28);
}

.approach-list > li > span {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 50%;
  background: var(--blush);
  color: var(--wine-dark);
  font-weight: 700;
}

.approach-list h3 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3vw, 44px);
}

.approach-list p {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(255, 253, 253, 0.72);
}

.contact {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  padding: clamp(100px, 12vw, 175px) clamp(24px, 6vw, 104px);
  background: var(--blush);
}

.contact-intro > p {
  color: var(--wine-dark);
}

.contact-intro h2 {
  max-width: 760px;
  color: var(--wine);
}

.contact-details {
  align-self: end;
}

.contact-details a {
  display: block;
  padding: 25px 0 27px;
  border-top: 1px solid rgba(63, 12, 32, 0.3);
}

.contact-details a:last-child {
  border-bottom: 1px solid rgba(63, 12, 32, 0.3);
}

.contact-details span {
  display: block;
  margin-bottom: 8px;
  color: rgba(63, 12, 32, 0.65);
  font-size: 13px;
}

.contact-details strong {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 400;
  overflow-wrap: anywhere;
}

.contact-details a:hover strong {
  color: var(--wine);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px clamp(24px, 6vw, 104px);
  background: var(--ink);
  color: rgba(255, 253, 253, 0.72);
  font-size: 13px;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--paper);
  font-weight: 700;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

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

  .hero-gallery {
    min-height: 600px;
  }

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

  .company aside {
    grid-column: 2;
  }

  .service-rail {
    grid-template-columns: 1fr;
  }

  .service-rail article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 18, 22, 0.18);
  }

  .service-rail article:last-child {
    border-bottom: 0;
  }

  .service-marker {
    height: 100px;
    margin-bottom: 42px;
  }

  .approach,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 88px;
    padding: 16px 20px;
  }

  .header-link {
    padding: 9px 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 64px 22px 70px;
  }

  h1 {
    margin: 70px 0;
    font-size: clamp(60px, 19vw, 88px);
  }

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

  .hero-footer a {
    width: max-content;
  }

  .hero-gallery {
    min-height: 470px;
  }

  .gallery-frame {
    padding: 18px;
    border-width: 8px;
  }

  .gallery-disc {
    width: 100px;
    height: 100px;
    border-width: 20px;
  }

  .gallery-caption {
    right: 18px;
    bottom: 20px;
  }

  .company,
  .section-header {
    grid-template-columns: 1fr;
  }

  .company aside {
    grid-column: auto;
  }

  .service-rail article {
    padding: 38px 28px 44px;
  }

  .approach-list li {
    grid-template-columns: 54px 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .running-line > div {
    animation: none;
  }
}
