/* Tone — base */

/* EB Garamond — SIL Open Font License (fonts/OFL.txt) */
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #231815;
  --ink-sub: #666;
  --field: #f2f2f2;
  --paper: #fff;

  --serif: "EB Garamond", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

h1, h2, p, figure { margin: 0; }
h1, h2 { font-weight: 400; }
img, svg, canvas { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }

a { color: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.screen-reader-text,
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Header */
.site-header { padding-top: 38px; }

.site-logo {
  display: block;
  width: 197px;
  margin-inline: auto;
  transition: opacity .3s;
}
.site-logo img { width: 100%; }
.site-logo:hover { opacity: .6; }

/* Type */
.f-heading { font-size: 41.4px; line-height: 29px; letter-spacing: .01em; }
.f-label   { font-size: 17px;   letter-spacing: .12em; }
.f-send    { font-size: 42.3px; line-height: 30px; }
.f-thanks  { font-size: 43.9px; line-height: 1; }

@media (max-width: 600px) {
  .site-header { padding-top: 28px; }
  .site-logo { width: 140px; }

  .f-heading { font-size: 30px; line-height: 22px; }
  .f-label   { font-size: 13px; }
  .f-send    { font-size: 31px; line-height: 24px; }
  .f-thanks  { font-size: 31px; }
}
