@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("/fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("/fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f5ee;
  --ink: #1b2620;
  --green: #21402f;
  --muted: #666b62;
  --hair: rgba(27, 38, 32, 0.24);
  --text: "Libre Caslon Text", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --display: "Cormorant Garamond", "Libre Caslon Text", Georgia, serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* Page */

.page {
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(1.8rem, 5vw, 3.6rem) clamp(1.1rem, 5vw, 3rem) clamp(2rem, 5vw, 3.5rem);
}

/* Wordmark */

.wordmark { text-align: center; }

.wordmark-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.wordmark-name::before,
.wordmark-name::after {
  content: "";
  flex: 0 1 4.5rem;
  height: 1px;
  background: var(--hair);
}

.wordmark-name span { padding-left: 0.34em; }

.wordmark-place {
  margin: 0.25rem 0 0;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Framed photographs */

.frame {
  max-width: 52rem;
  margin: clamp(1.6rem, 4vw, 2.6rem) auto 0;
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 45%;
  padding: clamp(0.35rem, 1vw, 0.6rem);
  background: #fff;
  border: 1px solid var(--hair);
}

.frame figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
}

.frame-small {
  max-width: 38rem;
  margin-top: clamp(2.6rem, 6vw, 4rem);
}

/* Headline */

h1 {
  max-width: 13em;
  margin: clamp(1.6rem, 4.5vw, 3rem) auto 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.012em;
  text-align: center;
  text-wrap: balance;
  color: var(--green);
}

h1.is-long {
  max-width: 17em;
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  line-height: 1.06;
}

.standfirst {
  max-width: 34rem;
  margin: clamp(0.9rem, 2vw, 1.3rem) auto 0;
  text-align: center;
  font-style: italic;
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: balance;
}

/* Ornament */

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: clamp(1.8rem, 4vw, 2.8rem) auto;
}

.ornament::before,
.ornament::after {
  content: "";
  width: 3.5rem;
  height: 1px;
  background: var(--hair);
}

.ornament span {
  width: 7px;
  height: 7px;
  background: var(--green);
  transform: rotate(45deg);
}

/* The letter */

.letter {
  max-width: 33rem;
  margin: 0 auto;
}

.letter p {
  margin: 0 0 1.15em;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.letter p:first-child::first-letter {
  float: left;
  margin: 0.06em 0.09em 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 4.9em;
  line-height: 0.74;
  color: var(--green);
}

/* Signature */

.sign {
  max-width: 33rem;
  margin: clamp(1.4rem, 3vw, 2rem) auto 0;
}

.signature {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 2.7rem;
  line-height: 1.1;
  color: var(--green);
}

.sign-role {
  margin: 0.15rem 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.sign-mail {
  margin: 0.7rem 0 0;
  font-size: 1.08rem;
}

.sign-mail a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--hair);
}

.sign-mail a:hover { text-decoration-color: var(--green); }

/* Tariff */

.tariff {
  max-width: 40rem;
  margin: clamp(2.6rem, 6vw, 4rem) auto 0;
  padding: clamp(1.4rem, 3vw, 2rem) 0 clamp(1.2rem, 3vw, 1.8rem);
  border-top: 3px double var(--hair);
  border-bottom: 3px double var(--hair);
}

.tariff h2 {
  margin: 0 0 1.1rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  padding-left: 0.34em;
}

.row {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.row-name { font-size: 1.12rem; }

.row-leader {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1px dotted rgba(27, 38, 32, 0.45);
  transform: translateY(-0.28em);
}

.row-price {
  font-family: var(--display);
  font-weight: 500;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--green);
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}

.row-price small {
  font-family: var(--text);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--muted);
}

.row-price-word { font-style: italic; }

.row-desc {
  max-width: 31rem;
  margin: 0.2rem 0 0;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.place {
  margin: 1.7rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hair);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
  text-wrap: balance;
}

.place-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Closing contact line */

.closing {
  max-width: 34rem;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  text-align: center;
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.5;
}

.closing a {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 5.4vw, 2.6rem);
  line-height: 1.15;
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}

.standfirst a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

/* Fine print */

.fine {
  margin-top: clamp(2rem, 5vw, 3rem);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.fine p { margin: 0; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .row { flex-wrap: wrap; }
  .row-price { font-size: 1.8rem; }
  .letter p:first-child::first-letter { font-size: 4.3em; }
}
