@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: block; src: url("/assets/fonts/inter-tight-400-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 Tight"; font-style: normal; font-weight: 400; font-display: block; src: url("/assets/fonts/inter-tight-400-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; }
/* ============================================================
   Contact — bernhardromano.com/contact/
   A dark, quiet page: one promise at the top, a numbered form in
   the middle, the facts on the right. Type and spacing follow the
   rest of the site; the scale is viewport-relative so the page
   holds its proportions from a phone to a wide screen.
   ============================================================ */

:root {
  --ink:     #1c1d20;
  --paper:   #f3f0e9;
  --muted:   #9a9b9e;
  --hair:    #3a3b3e;
  --accent:  #3f49de;
  --sans:    "Inter Tight", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.contact-page {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 clamp(15px, 1.12vw, 19px)/1.5 var(--sans);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  padding-top: 0;
  /* the shared header reads these; keep it on the dark page */
  --br-bg: #1c1d20;
  --br-ink: #f3f0e9;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
h1, p { margin: 0; font-weight: 400; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: fixed; z-index: 1000; top: 14px; left: 14px;
  padding: 12px 20px; background: var(--paper); color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

/* ---------------- layout ---------------- */

.contact {
  min-height: 100svh;
  padding: clamp(104px, 11vw, 168px) clamp(20px, 3.45vw, 50px) clamp(24px, 2vw, 40px);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 23vw, 340px);
  column-gap: clamp(32px, 6vw, 96px);
  align-items: start;
  max-width: 1560px; margin-inline: auto;
}

/* ---------------- heading ---------------- */

.contact__head { position: relative; grid-column: 1; }
.contact__title {
  font-size: clamp(40px, 6.1vw, 108px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 400;
}
.contact__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.contact__title .line > span {
  display: block;
  transform: translate3d(0, 110%, 0);
  transition: transform 1.1s var(--ease);
}
.contact__title .line:nth-child(2) > span { transition-delay: 0.08s; }
body.is-ready .contact__title .line > span { transform: none; }

.contact__portrait {
  position: absolute;
  top: clamp(8px, 1.4vw, 24px);
  right: clamp(-12px, -1vw, 0px);
  width: clamp(56px, 7.2vw, 108px);
  height: clamp(56px, 7.2vw, 108px);
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.8s var(--ease) 0.25s, transform 0.9s var(--ease) 0.25s;
}
body.is-ready .contact__portrait { opacity: 1; transform: none; }

.contact__arrow {
  display: block;
  width: clamp(18px, 1.5vw, 24px);
  height: clamp(18px, 1.5vw, 24px);
  margin-top: clamp(40px, 5vw, 78px);
  color: var(--paper);
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  transition: opacity 0.7s var(--ease) 0.5s, transform 0.7s var(--ease) 0.5s;
}
body.is-ready .contact__arrow { opacity: 1; transform: none; }

/* ---------------- form ---------------- */

.form {
  grid-column: 1;
  margin-top: clamp(48px, 7vw, 108px);
  max-width: 54rem;
}
.form__row {
  display: grid;
  grid-template-columns: clamp(42px, 4.4vw, 64px) minmax(0, 1fr);
  align-items: start;
  border-top: 1px solid var(--hair);
  padding: clamp(22px, 2.6vw, 40px) 0 clamp(10px, 1vw, 16px);
}
.form__row:last-of-type { border-bottom: 1px solid var(--hair); }
.form__num {
  font-size: clamp(11px, 0.82vw, 13px);
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-top: 0.55em;
  font-variant-numeric: tabular-nums;
}
.form__field { min-width: 0; }
.form__label {
  display: block;
  font-size: clamp(19px, 1.62vw, 27px);
  letter-spacing: -0.022em;
  line-height: 1.25;
}
.form input,
.form textarea {
  display: block;
  width: 100%;
  margin-top: clamp(10px, 0.9vw, 16px);
  padding: 0 0 clamp(14px, 1.4vw, 22px);
  border: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: clamp(17px, 1.3vw, 22px);
  letter-spacing: -0.018em;
  resize: none;
  overflow: hidden;
}
.form input::placeholder,
.form textarea::placeholder { color: #6e6f73; }
.form input:focus,
.form textarea:focus { outline: none; }
.form__row:focus-within .form__num { color: var(--paper); }
.form__row.is-invalid { border-top-color: #b4504f; }
.form__row.is-invalid input,
.form__row.is-invalid textarea { color: #f0a7a6; }

.form__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(-36px, -3vw, -24px);
  min-height: clamp(132px, 14vw, 208px);
}
.form__send {
  position: relative;
  width: clamp(132px, 14vw, 208px);
  height: clamp(132px, 14vw, 208px);
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: clamp(15px, 1.2vw, 20px);
  letter-spacing: -0.03em;
  display: grid;
  place-items: center;
  transition: background 0.35s var(--ease), transform 0.4s var(--ease);
}
.form__send:hover { background: #2f38c4; }
.form__send:active { transform: scale(0.97); }
.form__send.is-done { background: #2a7d5f; }
.form__note {
  order: -1;
  font-size: clamp(13px, 0.95vw, 16px);
  color: var(--muted);
  max-width: 26ch;
  text-align: right;
}
.form__note a { color: var(--paper); border-bottom: 1px solid #55565a; }
.form__note a:hover { border-bottom-color: var(--paper); }

/* ---------------- details column ---------------- */

.details {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 3.4vw, 54px);
  padding-top: clamp(150px, 19vw, 300px);
}
.details__label {
  font-size: clamp(10px, 0.76vw, 12px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: clamp(12px, 1.2vw, 20px);
}
.details__line {
  display: block;
  font-size: clamp(14px, 1.08vw, 18px);
  letter-spacing: -0.016em;
  line-height: 1.5;
}
a.details__line { position: relative; width: fit-content; }
a.details__line::after {
  content: ""; position: absolute; left: 0; bottom: 1px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
a.details__line:hover::after { transform: scaleX(1); }

/* ---------------- footer meta ---------------- */

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3vw;
  max-width: 1560px;
  margin: clamp(72px, 10vw, 150px) auto 0;
  padding-bottom: clamp(8px, 1vw, 16px);
  font-size: clamp(13px, 1.02vw, 17px);
  letter-spacing: -0.03em;
}
.footer-facts { display: flex; gap: clamp(22px, 4.1vw, 59px); }
.footer-label {
  display: block;
  font-size: clamp(10px, 0.76vw, 12px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: clamp(10px, 1.4vw, 20px);
}
.footer-social-links { display: flex; gap: clamp(16px, 2.8vw, 40px); }
.footer-social-links a { position: relative; }
.footer-social-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.footer-social-links a:hover::after { transform: scaleX(1); }
#local-time { font-variant-numeric: tabular-nums; }

/* ---------------- the header on a dark page ---------------- */

.br-nav .br-link.is-current { opacity: 1; }
.br-nav .br-link.is-current::after { transform: scaleX(1); }

/* ---------------- narrow screens ---------------- */

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .details {
    grid-column: 1;
    grid-row: auto;
    padding-top: clamp(48px, 9vw, 72px);
    gap: 34px;
  }
  .contact__portrait { position: static; display: block; margin-bottom: 22px; width: 64px; height: 64px; }
  .contact__title { font-size: clamp(38px, 10.2vw, 68px); }
  .form__foot { flex-direction: column; align-items: stretch; margin-top: 28px; min-height: 0; }
  .form__note { order: 1; text-align: left; max-width: none; }
  .form__send { width: 100%; height: 64px; border-radius: 100vw; }
  .footer-meta { flex-wrap: wrap; align-items: flex-start; gap: 34px; }
  .footer-facts { width: 100%; justify-content: space-between; }
  .footer-socials { width: 100%; }
  .footer-social-links { justify-content: space-between; }
}

@media (max-width: 760px) {
  .contact { padding-top: 96px; }
  .form__row { grid-template-columns: 34px minmax(0, 1fr); }
  .form input, .form textarea { font-size: 16px; }  /* no zoom-on-focus in iOS */
  .details__line, .footer-meta a { min-height: 44px; display: flex; align-items: center; }
  .details__line { line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  .contact__title .line > span,
  .contact__portrait,
  .contact__arrow { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* ---------- the bar toggle, which the shared shell hides ----------
   site-shell.css disables .br-toggle at every width because the main page
   carries the circular disc instead. This page has no disc, so on phones the
   toggle is the only way into the menu and has to come back. */
@media (max-width: 760px) {
  body.contact-page .br-toggle {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: auto;
    position: relative; border: 0; background: none; color: inherit;
  }
  body.contact-page .br-toggle span {
    position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  }
  body.contact-page .br-toggle span:first-child { top: 18px; }
  body.contact-page .br-toggle span:last-child { bottom: 18px; }
}

.details__line { overflow-wrap: anywhere; min-width: 0; }
