/* merfonte.com — a domain listing, and nothing else.

   v3 dressed the sale in the skincare brand: the logo lockup with
   "SEA · SOURCE · SCIENCE" under it, sea ripples, a wave divider, two
   chapters arguing the name suits cosmetics. All of that told a visitor
   they had found a cosmetics company. They have not; they have found a
   domain with a price on it. So this stylesheet is written from scratch
   rather than extended — most of what v3 carries has nothing left to
   style. New filename because /assets is served immutable for a year.

   Fonts are the two already self-hosted here. No request leaves the site
   to render text. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-var-latin.woff2') format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/spectral-300-latin.woff2') format('woff2');
  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: 'Spectral';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/spectral-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy:  #152238;
  --gold:  #b08850;
  --gold-lo: #cdae7f;
  --cream: #ece6db;
  --dim:   #8d99ab;
  --hair:  rgba(205, 174, 127, .20);

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --pad:  clamp(1.5rem, 5vw, 4rem);
  --page: 44rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(3.5rem, 12vh, 7rem) var(--pad) clamp(3rem, 8vh, 5rem);
}

a { color: var(--gold-lo); }
a:hover { color: var(--cream); }

.eyebrow {
  margin: 0 0 1.4rem;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* The domain is the product, so it is set as the headline and nothing
   competes with it. It has to survive being read on a phone, hence the
   break opportunity before the dot rather than an overflow. */
.domain {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 9vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f5f0e7;
  word-break: break-word;
}

.price {
  margin: 1.6rem 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 5vw, 2.35rem);
  line-height: 1.2;
  color: var(--gold-lo);
}

.lede {
  margin: 2rem 0 0;
  font-size: 1.0625rem;
  color: #ddd6ca;
}

/* one hairline rule, used everywhere a break is needed */
.rule {
  height: 1px;
  border: 0;
  background: var(--hair);
  margin: clamp(2.4rem, 6vw, 3.4rem) 0;
}

/* term left, value right, one rule per row — the rule belongs to the row,
   not to the cells, or the column gap punches a hole through every line */
dl { margin: 0; }
.row { border-top: 1px solid var(--hair); padding: 1.15rem 0; }
.row:first-child { border-top: 0; padding-top: 0; }
.row:last-child { padding-bottom: 0; }

dt {
  margin: 0 0 .25rem;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
dd { margin: 0; color: #ddd6ca; }

@media (min-width: 34rem) {
  .row {
    display: grid;
    grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
    column-gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: baseline;
  }
  dt { margin: 0; }
}

/* the contact address is the only thing to do on this page, so it is the
   only thing that looks like a button */
.contact { margin: 0; }
.contact a {
  display: inline-block;
  padding: .7rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold-lo);
  text-decoration: none;
  font-size: 0.9375rem;
  letter-spacing: .02em;
  transition: background-color .2s ease, color .2s ease;
}
.contact a:hover { background: var(--gold); color: var(--navy); }

.fine {
  margin: 2.2rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--dim);
}

.foot {
  margin: clamp(3rem, 8vw, 4.5rem) 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--hair);
  font-size: 0.75rem;
  letter-spacing: .04em;
  color: var(--dim);
}
.foot a { color: var(--dim); }
.foot a:hover { color: var(--gold-lo); }

/* ---------- document pages (privacy, 404) ---------- */

.doc h1 {
  margin: 0 0 1.2rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1.1;
  color: #f5f0e7;
}
.doc h2 {
  margin: 2.2rem 0 .5rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.25rem;
  color: #f0eade;
}
.doc p { margin: 0 0 1rem; color: #cfc9be; }
.doc strong { font-weight: 400; color: var(--cream); }
.back {
  margin: 0 0 2rem;
  font-size: 0.6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.nowrap { white-space: nowrap; }
.spaced { margin-top: 2rem; }

/* ---------- offer form ----------
   Added when the mailto link came off. Naming the seller's own inbox on
   this page told a buyer whose it was and that they had moved on, which is
   an argument for a lower offer. The form reaches the same place and says
   none of that, so no address appears anywhere this page can be read from
   — including here. */

.form { margin: 0; }

.field { margin: 0 0 1.3rem; }
.field:last-of-type { margin-bottom: 1.7rem; }

.field label {
  display: block;
  margin-bottom: .4rem;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.field .hint { letter-spacing: .04em; text-transform: none; color: var(--dim); }

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: .6rem .75rem;
  font: inherit;
  font-size: 1rem;
  color: var(--cream);
  background: rgba(0, 0, 0, .18);
  border: 1px solid var(--hair);
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input::placeholder,
.field textarea::placeholder { color: #6b7789; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--gold); }

.form button {
  padding: .7rem 1.4rem;
  font: inherit;
  font-size: 0.9375rem;
  letter-spacing: .02em;
  color: var(--gold-lo);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 0;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.form button:hover { background: var(--gold); color: var(--navy); }
.form button:disabled { color: var(--dim); border-color: var(--hair); background: transparent; cursor: default; }

/* the answer lands where the form was */
.form-note {
  margin: 1.4rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--cream);
}
.form-note.ok { color: var(--gold-lo); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
