/* ==========================================================================
   FFFF/F — FFFFslashF.com
   Brand: Maroon #6D1B2F · Gold #D8B25C · Cream #E8DDC4 · Ink #1A1A1A · Paper #FAF8F4
   Type: EB Garamond (display) · Helvetica (working sans)
   ========================================================================== */

:root {
  --maroon: #6D1B2F;
  --maroon-deep: #591626;
  --gold: #D8B25C;
  --gold-soft: rgba(216, 178, 92, 0.55);
  --gold-hairline: rgba(216, 178, 92, 0.35);
  --cream: #E8DDC4;
  --cream-soft: rgba(232, 221, 196, 0.82);
  --ink: #1A1A1A;
  --paper: #FAF8F4;
  --error-tint: #EFC1A4;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* eb-garamond-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/eb-garamond-v33-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/eb-garamond-v33-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/eb-garamond-v33-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-500italic - latin */
@font-face {
  font-display: swap;
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/eb-garamond-v33-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/eb-garamond-v33-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-600italic - latin */
@font-face {
  font-display: swap;
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/eb-garamond-v33-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/eb-garamond-v33-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-700italic - latin */
@font-face {
  font-display: swap;
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/eb-garamond-v33-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.plaque-page {
  background: var(--maroon);
  color: var(--cream);
  color-scheme: dark;
}

body.doc-page {
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}

::selection { background: var(--gold); color: var(--maroon); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
body.doc-page main :focus-visible { outline-color: var(--maroon); }

/* Links */
.plaque-page a {
  color: var(--cream-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-soft);
}
.plaque-page a:hover { color: var(--cream); text-decoration-color: var(--gold); }

.doc-page main a { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }
.doc-page main a:hover { color: var(--maroon-deep); }

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  background: var(--gold);
  color: var(--maroon) !important;
  padding: 14px 18px;
  font: 700 11px/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   The Plaque (index)
   ========================================================================== */

.frame {
  margin: clamp(12px, 2.5vw, 26px);
  border: 2px solid var(--gold);
  padding: 7px;
}

.frame-inner {
  border: 1px solid var(--gold-soft);
  padding: 0 clamp(20px, 5vw, 60px);
  min-height: calc(100dvh - 2 * clamp(12px, 2.5vw, 26px) - 22px);
  display: flex;
  flex-direction: column;
}

.plaque {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(56px, 9vh, 96px) 0 0;
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.plaque > .eyebrow { margin-bottom: clamp(28px, 5vh, 44px); }

.crest {
  width: clamp(168px, 32vw, 250px);
  height: auto;
  display: block;
}

.wordmark {
  margin: 26px 0 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(58px, 12vw, 104px);
  line-height: 1;
  color: var(--cream);
}

.rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 10px;
}
.rule .line { width: clamp(48px, 9vw, 84px); height: 1px; background: var(--gold); }
.rule .diamond { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

.est {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  color: var(--gold);
}

.statement {
  margin: 38px 0 0;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(232, 221, 196, 0.92);
}

/* Correspondence */
.correspondence {
  margin-top: clamp(64px, 10vh, 92px);
  width: min(460px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.correspondence .eyebrow { font-size: 10px; letter-spacing: 0.28em; margin-bottom: 14px; }

.correspondence h2 {
  margin: 0 0 40px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 34px);
  line-height: 1.2;
  color: var(--cream);
}

.correspondence form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  text-align: left;
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(216, 178, 92, 0.7);
  border-radius: 0;
  padding: 10px 2px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--cream);
}

.field input:focus-visible,
.field textarea:focus-visible { outline-offset: 6px; border-bottom-color: var(--gold); }

.field textarea { resize: vertical; min-height: 112px; }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-bottom: 2px solid var(--error-tint); }

.field-error { margin: 0; font-size: 13px; line-height: 1.5; color: var(--error-tint); }

.submit {
  align-self: center;
  margin-top: 4px;
  min-height: 48px;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--gold);
  padding: 15px 34px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.submit:hover:not(:disabled),
.submit:focus-visible { background: var(--gold); color: var(--maroon); }
.submit:disabled { opacity: 0.65; cursor: default; }

.status {
  margin: 22px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  min-height: 1.6em;
  max-width: 380px;
}
.status.is-error { color: var(--error-tint); }
.status.is-success { color: var(--cream); }

.form-note {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--cream-soft);
  max-width: 380px;
}

/* Honeypot — visually removed, out of tab order */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Colophon (index footer, inside the frame) */
.colophon {
  margin-top: clamp(64px, 10vh, 88px);
  border-top: 1px solid var(--gold-hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  padding: 16px clamp(4px, 1.5vw, 12px) 18px;
  width: 100%;
}

.colophon p { margin: 0; }

.colophon,
.colophon a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.colophon .office { color: var(--cream-soft); }
.colophon nav { display: flex; align-items: center; gap: 24px; }
.colophon a { display: inline-block; padding: 8px 0; }
.colophon .site { color: var(--gold); }

.colophon-right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }

@media (max-width: 640px) {
  .colophon { flex-direction: column; justify-content: center; text-align: center; padding-bottom: 24px; }
  .colophon-right { flex-direction: column; gap: 4px; }
}

/* ==========================================================================
   Document pages (privacy, terms)
   ========================================================================== */

.doc-header {
  background: var(--maroon);
  border-bottom: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
}

.doc-header .lockup {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.doc-header .lockup img { width: 46px; height: 46px; display: block; }

.doc-header .lockup-text { display: flex; flex-direction: column; gap: 2px; }

.doc-header .lockup-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  color: var(--cream);
}

.doc-header .lockup-sub {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.doc-header .home-link {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  padding: 12px 0;
}
.doc-header .home-link:hover { color: var(--gold); }

.doc-main {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 84px) clamp(20px, 5vw, 40px) clamp(56px, 9vh, 96px);
}

.doc-main .eyebrow { color: var(--maroon); margin-bottom: 16px; }

.doc-title {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 48px);
  line-height: 1.1;
  color: var(--ink);
}

.doc-rule { width: 64px; height: 1px; background: var(--gold); border: 0; margin: 0 0 22px; }

.doc-updated {
  margin: 0 0 40px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--maroon);
}

.doc-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 64ch;
}

.notice {
  border: 1px solid rgba(26, 26, 26, 0.25);
  background: #FFFFFF;
  padding: 24px 28px;
}
.notice p { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(26, 26, 26, 0.8); }

/* Doc footer — full-width maroon bar */
.doc-colophon {
  background: var(--maroon);
  border-top: 1px solid var(--gold);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  padding: 16px clamp(16px, 4vw, 40px) 18px;
}

.doc-colophon p { margin: 0; }

.doc-colophon,
.doc-colophon a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.doc-colophon .office { color: var(--cream-soft); }
.doc-colophon nav { display: flex; align-items: center; gap: 24px; }
.doc-colophon a {
  display: inline-block;
  padding: 8px 0;
  color: var(--cream-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-soft);
}
.doc-colophon a:hover { color: var(--cream); text-decoration-color: var(--gold); }
.doc-colophon a[aria-current="page"] { color: var(--cream); }
.doc-colophon .site { color: var(--gold); }

@media (max-width: 640px) {
  .doc-header { flex-direction: column; align-items: flex-start; gap: 4px; }
  .doc-colophon { flex-direction: column; justify-content: center; text-align: center; }
  .doc-colophon nav { justify-content: center; }
}
