@font-face {
  font-family: "Stationery Serif";
  src: url("assets/fonts/serif.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Stationery Sans";
  src: url("assets/fonts/sans-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Stationery Signature";
  src: url("assets/fonts/signature.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #FDFCF8;
  --gold: #C9A227;
  --ink: #222222;
  --serif: "Stationery Serif", "Bodoni MT", "Didot", Georgia, serif;
  --sans: "Stationery Sans", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
}

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

.identity {
  padding: 4.5rem 1.75rem 4rem;
  border-bottom: 1px solid var(--gold);
}

.identity-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.portrait {
  display: block;
  width: 8.5rem;
  height: 8.5rem;
  margin-bottom: 2.75rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
}

h1 {
  font-size: clamp(2.45rem, 8vw, 4rem);
  line-height: 1.25;
  letter-spacing: 0.055em;
}

.tagline {
  margin-top: 1.5rem;
  font-size: clamp(0.75rem, 2.65vw, 0.875rem);
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.text-link {
  display: inline-block;
  padding: 0 0 0.4rem;
  border: 0;
  border-bottom: 1px solid var(--gold);
  background: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-decoration: none;
  border-radius: 0;
}

.text-link:hover:not(:disabled) {
  border-bottom-color: var(--ink);
}

.consultation-link {
  margin-top: 2.75rem;
}

.content {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3.5rem 1.75rem 1.75rem;
}

.section {
  margin-bottom: 4.5rem;
}

h2 {
  margin-bottom: 1.75rem;
  font-size: 2.125rem;
  letter-spacing: 0.015em;
  line-height: 1.3;
}

h3 {
  margin-bottom: 0.625rem;
  font-size: 1.4375rem;
  line-height: 1.35;
}

ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  gap: 1.125rem;
  padding: 1.65rem 0;
  border-top: 1px solid var(--gold);
}

.service-list li:last-child {
  border-bottom: 1px solid var(--gold);
}

.service-number {
  flex: 0 0 1.6rem;
  padding-top: 0.1rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.8;
}

.service-list p {
  max-width: 32rem;
}

.process-list {
  position: relative;
  margin-left: 0.3rem;
}

/* One uninterrupted line connects the centers of all three markers. */
.process-list::before {
  position: absolute;
  top: 0.55rem;
  bottom: 0;
  left: 0.3rem;
  width: 1px;
  background: var(--gold);
  content: "";
}

.process-list li {
  position: relative;
  padding: 0 0 2.5rem 2.2rem;
}

.process-list li:last-child {
  padding-bottom: 0;
}

/* Mask the tail after the final marker without breaking the connecting line. */
.process-list li:last-child::after {
  position: absolute;
  top: 0.875rem;
  bottom: 0;
  left: 0.3rem;
  width: 1px;
  background: var(--paper);
  content: "";
}

.process-list li::before {
  position: absolute;
  top: 0.25rem;
  left: 0;
  width: 0.625rem;
  height: 0.625rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.step-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  line-height: 1.8;
}

.process-list h3 {
  font-size: 1.375rem;
}

.placeholder-label {
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.015em;
}

.personal-note {
  font-size: 1rem;
  line-height: 2;
}

.signature {
  margin-top: 1.6rem;
  font-family: "Stationery Signature", "Brush Script MT", "Segoe Script", cursive;
  font-style: italic;
  font-size: clamp(2.15rem, 7.5vw, 2.875rem);
  font-weight: 400;
  line-height: 1.5;
}

.note-card {
  padding: 2rem 1.4rem;
  border: 1px solid var(--gold);
}

.note-card h2 {
  margin-bottom: 0.75rem;
}

.contact-intro {
  margin-bottom: 2rem;
}

.field {
  margin-bottom: 1.75rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.035em;
}

input, textarea {
  display: block;
  width: 100%;
  min-height: 2.5rem;
  margin: 0;
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  appearance: none;
}

textarea {
  resize: vertical;
}

input:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.send-link {
  margin-top: 0.25rem;
}

.send-link:disabled {
  cursor: not-allowed;
}

.form-notice {
  margin-top: 0.875rem;
  font-size: 0.6875rem;
  line-height: 1.65;
}

.contact-details {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold);
}

.contact-details p + p {
  margin-top: 0.45rem;
}

.detail-label {
  display: inline-block;
  min-width: 4.25rem;
  font-size: 0.75rem;
}

.contact-placeholder {
  font-size: 0.875rem;
  letter-spacing: 0.035em;
}

.contact {
  margin-bottom: 3rem;
}

.footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold);
  font-size: 0.625rem;
  letter-spacing: 0.02em;
  line-height: 1.8;
}

.footer nav {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.footer a {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

@media (min-width: 48rem) {
  .identity {
    position: fixed;
    inset: 0 auto 0 0;
    display: flex;
    align-items: center;
    width: 38%;
    padding: 3rem clamp(1.75rem, 4vw, 4.5rem);
    overflow-y: auto;
    border-bottom: 0;
    border-right: 1px solid var(--gold);
  }

  .identity-inner {
    width: 100%;
    margin: auto 0;
  }

  .portrait {
    width: 10rem;
    height: 10rem;
    margin-bottom: 3.25rem;
  }

  h1 {
    font-size: clamp(1.75rem, 3.65vw, 4.375rem);
    line-height: 1.28;
    letter-spacing: 0.045em;
  }

  .tagline {
    font-size: clamp(0.5625rem, 0.94vw, 0.875rem);
  }

  .content {
    width: 62%;
    max-width: none;
    margin-left: 38%;
    padding: 4.5rem clamp(2rem, 5.25vw, 6rem) 2rem;
  }

  .section, .footer {
    max-width: 40rem;
    margin-right: auto;
    margin-left: auto;
  }

  .section {
    margin-bottom: 5rem;
  }

  h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  .service-list li {
    gap: 1.75rem;
    padding: 1.75rem 0;
  }

  h3 {
    font-size: 1.5625rem;
  }

  .note-card {
    padding: 2.75rem 2.5rem;
  }

  .contact {
    margin-bottom: 3rem;
  }
}

@media (min-width: 75rem) {
  .footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
  }

  .footer nav {
    margin-top: 0;
  }
}
