/* Fonts: Libre Caslon and Source Sans 3 (SIL Open Font Licence), Latin subset, self-hosted */

@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/libre-caslon-display-400.woff2") format("woff2");
}

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

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

@font-face {
  font-family: "Libre Caslon Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/libre-caslon-text-700.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/source-sans-3-500.woff2") format("woff2");
}

:root {
  --paper: #f4efe7;
  --paper-deep: #ebe4d8;
  --ink: #262523;
  --ink-soft: #57524b;
  --rule: #d6cbbb;
  --slate: #3b3f42;
  --brick: #9c3f26;
  --green: #243129;
  --green-ink: #efe9df;
  --green-soft: #b9bfb2;

  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --sans: "Source Sans 3", "Gill Sans", "Gill Sans MT", Calibri, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

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

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

figure {
  margin: 0;
}

a {
  color: var(--brick);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 8px;
  top: -100px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 10;
}

.skip:focus {
  top: 8px;
}

/* Header */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  height: 34px;
  width: 29px;
  flex: none;
}

.brand__name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9375rem;
}

.site-nav a:hover {
  color: var(--brick);
}

@media (max-width: 640px) {
  .site-nav { display: none; }
}

/* Hero */

.hero {
  position: relative;
}

.hero__image {
  width: 100%;
  height: clamp(340px, 78vh, 500px);
  object-fit: cover;
  object-position: 50% 20%;
  background: var(--paper-deep);
}

.hero__plate-wrap {
  position: relative;
}

.plate {
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--rule);
  padding: 15px 18px;
  margin-top: -74px;
  width: 196px;
  position: relative;
  box-shadow: 0 14px 30px rgba(38, 37, 35, 0.09);
}

.plate__logo {
  width: 158px;
  height: auto;
  mix-blend-mode: multiply;
}

@media (max-width: 640px) {
  .hero__image {
    height: 62svh;
  }
  .plate {
    margin-top: -52px;
    width: 154px;
    padding: 11px 13px;
  }
  .plate__logo {
    width: 126px;
  }
}

/* Intro */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 7vw, 112px);
  padding-block: clamp(56px, 9vw, 120px);
}

.intro__text {
  max-width: 38em;
}

.lead {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  line-height: 1.3;
  margin-bottom: 1.1em;
}

.intro__text p:not(.lead) {
  color: var(--ink-soft);
}

.facts {
  margin: 0;
  border-top: 1px solid var(--ink);
  align-self: start;
}

.facts > div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--rule);
}

.facts dt {
  color: var(--ink-soft);
  font-style: italic;
}

.facts dd {
  margin: 0;
}

@media (max-width: 820px) {
  .intro {
    grid-template-columns: 1fr;
  }
}

/* Wide image */

.wide img {
  width: 100%;
  aspect-ratio: 1585 / 780;
  object-fit: cover;
  background: var(--paper-deep);
}

figcaption {
  margin-top: 10px;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* Gardens */

.gardens {
  padding-block: clamp(64px, 10vw, 136px);
}

.gardens__head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 7vw, 112px);
  align-items: baseline;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.gardens__head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.625rem);
}

.gardens__head p {
  max-width: 34em;
  margin: 0;
  color: var(--ink-soft);
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.gallery__main {
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  object-fit: cover;
  background: var(--paper-deep);
}

.gallery__main img {
  height: 100%;
  min-height: 320px;
}

.gallery figure:not(.gallery__main) img {
  aspect-ratio: 4 / 3;
}

@media (max-width: 820px) {
  .gardens__head,
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery__main {
    grid-row: auto;
  }
  .gallery__main img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* Contact */

.contact {
  background: var(--green);
  color: var(--green-ink);
  padding-block: clamp(64px, 9vw, 120px);
}

.contact__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 7vw, 112px);
}

.contact h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.625rem);
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(239, 233, 223, 0.25);
}

.contact address {
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact a {
  color: var(--green-ink);
  text-decoration-color: rgba(239, 233, 223, 0.45);
}

.contact a:hover {
  text-decoration-color: currentColor;
}

.contact__list {
  margin: 0;
}

.contact__list > div + div {
  margin-top: 18px;
}

.contact__list dt {
  font-style: italic;
  color: var(--green-soft);
  font-size: 0.9375rem;
}

.contact__list dd {
  margin: 0;
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .contact__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact__list dd a[href^="mailto:"] {
    font-size: 1.0625rem;
  }
}

/* Footer */

.site-footer {
  background: var(--green);
  color: var(--green-soft);
  border-top: 1px solid rgba(239, 233, 223, 0.15);
  font-size: 0.875rem;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 24px;
}

.site-footer__inner p {
  margin: 0;
}

.site-footer__mark {
  height: 24px;
  width: 21px;
}
