:root {
  --white: #ffffff;
  --off: #f3f4f6;
  --ink: #101316;
  --mid: #54585e;
  --sub: #8b9098;
  --silver: #cfd5db;
  --silver-lt: #dee2e7;
  --red: #8b1116;
  --red2: #c81e25;
  --red3: #e02128;
  --tint: #fde8e9;
  --brd: rgba(16, 19, 22, 0.12);
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
:focus-visible { outline: 2px solid var(--red3); outline-offset: 3px; }

/* Underline link, Ogilvy style */
.ul { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); padding-bottom: 1px; }
.ul:hover, .ul:focus-visible { background-size: 100% 1px; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 40px; color: var(--ink); transition: color 0.35s ease, background-color 0.35s ease, border-color 0.35s ease; border-bottom: 1px solid transparent; }
.nav-left { display: flex; gap: 22px; font-size: 15px; }
.nav-right { display: flex; justify-content: flex-end; font-size: 15px; }
.wordmark { font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: -0.01em; opacity: 0; transform: translateY(-6px); transition: opacity 0.4s ease, transform 0.5s var(--ease); pointer-events: none; white-space: nowrap; }
.nav.show-mark .wordmark { opacity: 1; transform: none; pointer-events: auto; }
.nav.on-red { color: #fff; }
.nav.solid { background: #fff; border-bottom-color: var(--brd); }
.nav.solid .wordmark { color: var(--red2); }

/* Pill button */
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ink); font-size: 15px; font-weight: 500; transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s var(--ease); }
.pill:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.pill:active { transform: scale(0.97); }
.pill svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.pill:hover svg { transform: translateX(3px); }


/* Form */
.form-card { position: relative; background: #fff; border: 1px solid var(--brd); border-radius: 20px; padding: 36px; }
.form-card h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; letter-spacing: -0.01em; }
.form-card .hint { color: var(--mid); font-size: 15px; margin: 4px 0 24px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
.field label, .field .legend { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--off); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px; transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; -webkit-appearance: none; appearance: none; }
.field input:hover, .field textarea:hover { border-color: var(--brd); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--red2); box-shadow: 0 0 0 4px rgba(224, 33, 40, 0.14); }
.field textarea { min-height: 120px; resize: vertical; }
.field.invalid input, .field.invalid textarea { border-color: #dc2626; background: #fef2f2; }
.err { display: none; color: #b91c1c; font-size: 13px; margin-top: 6px; }
.field.invalid .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--brd); font-size: 14px; color: var(--mid); cursor: pointer; user-select: none; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.3s var(--ease); }
.chip span:hover { border-color: var(--ink); color: var(--ink); }
.chip span:active { transform: scale(0.95); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red3); outline-offset: 3px; }
.send { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; min-height: 56px; margin-top: 8px; border-radius: 999px; background: var(--red2); color: #fff; font-size: 16px; font-weight: 500; transition: background-color 0.25s ease, transform 0.35s var(--ease), box-shadow 0.35s var(--ease); box-shadow: 0 10px 26px -12px rgba(200, 30, 37, 0.6); }
.send:hover { background: var(--red); transform: translateY(-2px); }
.send:active { transform: scale(0.98); }
.send[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.send svg { width: 15px; height: 15px; }
.fine { text-align: center; font-size: 13px; color: var(--sub); margin-top: 14px; }
.hp { position: absolute; left: -9999px; }
.success { display: none; text-align: center; padding: 60px 10px; }
.success .check { width: 68px; height: 68px; border-radius: 50%; background: var(--tint); color: var(--red2); display: grid; place-items: center; margin: 0 auto 20px; }
.success .check svg { width: 32px; height: 32px; }
.success h3 { margin-bottom: 6px; }
.success p { color: var(--mid); }
.form-card.sent form { display: none; }
.form-card.sent .success { display: flex; flex-direction: column; justify-content: center; height: 100%; }

/* Footer */
footer { padding: 32px 0 36px; border-top: 1px solid var(--brd); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--mid); }
.foot-left { display: flex; align-items: center; gap: 18px; }
.foot-left img { height: 60px; width: auto; }
.foot-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.icons { display: flex; gap: 10px; }
.icon-link { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--brd); color: var(--ink); transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s var(--ease); }
.icon-link:hover { background: var(--red2); border-color: var(--red2); color: #fff; transform: translateY(-3px); }
.icon-link svg { width: 19px; height: 19px; }
.made { display: inline-flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--sub); padding: 6px 4px; transition: color 0.2s ease; }
.made img { position: relative; top: 0.07em; height: 0.88em; width: auto; filter: grayscale(1); opacity: 0.55; transition: filter 0.3s ease, opacity 0.3s ease, transform 0.35s var(--ease); }
.made:hover { color: var(--mid); }
.made:hover img { filter: none; opacity: 1; transform: translateY(-2px); }

/* Reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 0 16px; }
  .nav-left { gap: 14px; font-size: 14px; }
  .nav-right { font-size: 14px; }
  .wordmark { font-size: 20px; }
  .form-card { padding: 24px 18px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
}
