/* ─── Tokens ─────────────────────────────────────── */
:root {
  --bg:       #F9F6F1;        /* warm parchment */
  --text:     #1A1714;        /* near-black, warm */
  --accent:   #B5813A;        /* aged gold */
  --muted:    #9A9188;        /* warm grey */
  --border:   #E6DDD1;        /* soft divider */
  --serif:    'Crimson Text', Georgia, 'Times New Roman', serif;
  --sans:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── Reset ──────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ─── Base ───────────────────────────────────────── */
html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── Header ─────────────────────────────────────── */
header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2.5rem 3.5rem;
}

.logo {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.6; }

.nav-contact {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-contact:hover { color: var(--text); }

/* ─── Main ───────────────────────────────────────── */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 8rem;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

.headline {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.38;
  color: var(--text);
  margin-bottom: 3rem;
  max-width: 680px;
}

/* Uniitalicise the brand name within the italic heading */
.headline em {
  font-style: normal;
  font-weight: 600;
}

.subline {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

/* ─── CTA button ─────────────────────────────────── */
.cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--text);
  padding: 0.85rem 2.25rem;
  border-radius: 2px;
  transition: background 0.25s, transform 0.15s;
}
.cta:hover {
  background: #3a3330;
  transform: translateY(-1px);
}
.cta:active { transform: translateY(0); }

/* ─── Footer ─────────────────────────────────────── */
footer {
  padding: 2rem 3.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.footer-mark {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--border);
}

/* ─── Contact page ───────────────────────────────── */
.contact-main {
  justify-content: flex-start;
  padding-top: 5rem;
  padding-bottom: 8rem;
}

.contact-heading {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-bottom: 3rem;
}

.contact-form {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder { color: #8A8278; }

.field input:focus,
.field textarea:focus { border-color: var(--muted); }

.contact-form .cta {
  align-self: flex-start;
  cursor: pointer;
  border: none;
  margin-top: 0.5rem;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 600px) {
  header { padding: 1.75rem 1.5rem; }
  main   { padding: 4rem 1.5rem 6rem; }
  footer { padding: 1.75rem 1.5rem; }

  .nav-contact { display: none; }

  .headline {
    font-size: 1.75rem;
    text-align: center;
  }
}
