:root {
  --background: #0E0E10;
  --ivory: #F3EDE2;
  --brass: #C6A15B;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--background);
  color: var(--ivory);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--brass);
  content: "";
  opacity: 0.14;
  pointer-events: none;
}

::selection {
  background: var(--brass);
  color: var(--background);
}

img {
  display: block;
  width: 100%;
}

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

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

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 7.5vw, 7.8rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.85rem);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 20px clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--brass);
}

.brand,
.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.monogram {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-family: "Playfair Display", serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.brand-name,
.hero-brand > span:last-child {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 46px);
}

.nav a,
.footer-links a {
  position: relative;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav a::after,
.footer-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--brass);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

section {
  position: relative;
}

.refusal-section,
.prices-section,
.steps-section,
.services-section,
.contact-section {
  padding: clamp(84px, 11vw, 170px) clamp(24px, 7vw, 110px);
}

.section-label,
.row-kicker,
.service-code,
.step-word,
.contact-label {
  color: var(--brass);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.refusal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  gap: clamp(50px, 9vw, 150px);
  align-items: end;
  margin-top: clamp(36px, 7vw, 90px);
}

.refusal-copy {
  position: relative;
}

.refusal-copy h1 {
  max-width: 900px;
  margin-bottom: 42px;
}

.pull-mark {
  position: absolute;
  top: -90px;
  right: 0;
  margin: 0;
  color: var(--brass);
  font-family: "Playfair Display", serif;
  font-size: clamp(5rem, 13vw, 12rem);
  line-height: 1;
  opacity: 0.08;
  pointer-events: none;
}

.lead {
  max-width: 760px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.45;
}

.refusal-copy > p:not(.pull-mark):not(.lead) {
  max-width: 640px;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--brass);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.ghost-link span {
  color: var(--brass);
  transition: transform 180ms ease;
}

.ghost-link:hover span,
.ghost-link:focus-visible span {
  transform: translateX(6px);
}

.work-frame,
.hero-photo {
  margin: 0;
  border: 1px solid var(--brass);
}

.work-frame {
  padding: 12px;
}

.work-frame img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  opacity: 0.75;
}

figcaption {
  padding: 14px 4px 2px;
  color: var(--brass);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.prices-section,
.services-section,
.contact-section {
  border-top: 1px solid var(--brass);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(38px, 8vw, 120px);
  align-items: end;
  margin-bottom: clamp(54px, 8vw, 110px);
}

.section-heading .section-label {
  margin-bottom: 20px;
}

.section-intro {
  max-width: 520px;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.price-list,
.service-list {
  border-top: 1px solid var(--brass);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  min-height: 132px;
  padding: 26px 0;
  border-bottom: 1px solid var(--brass);
}

.price-row h3 {
  margin: 8px 0 0;
}

.price {
  color: var(--brass);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-turn {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.page-turn > span {
  color: var(--brass);
}

.page-turn a {
  border-bottom: 1px solid var(--brass);
}

.hero {
  display: grid;
  min-height: 100svh;
  padding: clamp(24px, 4vw, 58px) clamp(24px, 6vw, 96px) clamp(60px, 7vw, 100px);
  overflow: hidden;
}

.hero-brand {
  align-self: start;
  justify-self: start;
  z-index: 2;
}

.hero-motif {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--brass);
  font-family: "Playfair Display", serif;
  font-size: clamp(16rem, 46vw, 48rem);
  line-height: 0.75;
  opacity: 0.035;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.hero-content {
  z-index: 1;
  align-self: center;
  max-width: 980px;
  padding: 90px 0 30px;
}

.hero-content h1 {
  margin: 18px 0 34px;
  font-size: clamp(3.3rem, 7.7vw, 8.5rem);
}

.hero-limit {
  max-width: 690px;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
}

.hero-photo {
  position: absolute;
  right: clamp(24px, 5vw, 80px);
  bottom: clamp(24px, 4vw, 60px);
  width: clamp(180px, 22vw, 340px);
  padding: 9px;
  opacity: 0.52;
}

.hero-photo img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
}

.hero-photo figcaption {
  padding-bottom: 0;
}

.steps-section {
  border-top: 1px solid var(--brass);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}

.step {
  min-height: 330px;
  padding: clamp(30px, 4vw, 64px);
}

.step + .step {
  border-left: 1px solid var(--brass);
}

.step h3 {
  margin: 70px 0 24px;
}

.step p {
  max-width: 360px;
  margin-bottom: 0;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(90px, 0.18fr) minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 78px);
  align-items: center;
  min-height: 164px;
  padding: 28px 0;
  border-bottom: 1px solid var(--brass);
}

.service-row h3 {
  margin-bottom: 10px;
}

.service-row p {
  max-width: 620px;
  margin-bottom: 0;
}

.contact-section {
  padding-bottom: 36px;
  overflow: hidden;
}

.contact-monogram {
  position: absolute;
  top: 60px;
  right: -40px;
  color: var(--brass);
  font-family: "Playfair Display", serif;
  font-size: clamp(12rem, 30vw, 32rem);
  line-height: 1;
  opacity: 0.04;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.42fr);
  gap: clamp(50px, 10vw, 160px);
  align-items: start;
}

.contact-grid h2 {
  max-width: 820px;
  margin-top: 22px;
}

.contact-details {
  padding-top: 26px;
  border-top: 1px solid var(--brass);
  font-style: normal;
}

.contact-details p {
  margin: 12px 0 34px;
  font-size: 1.08rem;
}

.phone {
  display: inline-block;
  margin-top: 12px;
  border-bottom: 1px solid var(--brass);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
}

.privacy-policy {
  max-width: 900px;
  margin-top: clamp(90px, 13vw, 180px);
  padding: clamp(28px, 5vw, 58px) 0;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}

.privacy-policy h3 {
  margin: 20px 0 28px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.privacy-policy p:last-child {
  margin-bottom: 0;
}

.footer {
  display: grid;
  grid-template-columns: auto auto minmax(250px, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding-top: 36px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer > p {
  max-width: 470px;
  margin: 0 0 0 auto;
  font-size: 0.8rem;
  text-align: right;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 6px;
}

@media (max-width: 900px) {
  .refusal-grid,
  .section-heading,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .work-frame {
    max-width: 560px;
  }

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

  .step {
    min-height: 0;
  }

  .step + .step {
    border-top: 1px solid var(--brass);
    border-left: 0;
  }

  .step h3 {
    margin-top: 40px;
  }

  .service-row {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .service-row .price {
    grid-column: 2;
    text-align: left;
  }

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

  .footer > p {
    margin-left: 0;
    text-align: left;
  }
}

@media (max-width: 660px) {
  .topbar {
    align-items: flex-start;
    min-height: 0;
  }

  .brand-name {
    display: none;
  }

  .nav {
    max-width: 220px;
    gap: 14px 20px;
  }

  .nav a {
    font-size: 0.61rem;
  }

  .refusal-section,
  .prices-section,
  .steps-section,
  .services-section,
  .contact-section {
    padding-right: 24px;
    padding-left: 24px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .price-row .price {
    text-align: left;
  }

  .page-turn {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 940px;
  }

  .hero-content {
    align-self: start;
    padding-top: 100px;
  }

  .hero-photo {
    right: 24px;
    bottom: 34px;
    width: calc(100% - 48px);
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 36px 0;
  }

  .service-row .price {
    grid-column: 1;
  }

  .footer-brand .brand-name {
    display: inline;
  }
}

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

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

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