/* Personal identity: ink, warm paper and typographic contrast. */
:root {
  color-scheme: light;
  --paper: #f6f3ec;
  --ink: #101e35;
  --muted: #626979;
  --line: #dedaca;
  --accent: #d3b77c;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid #c0a269; outline-offset: 5px; }
::selection { background: #d3b77c; color: #101e35; }
.page { max-width: 1180px; margin: auto; padding: 0 64px; }
header { display: flex; align-items: center; gap: 24px; min-height: 112px; font-size: 12px; }
header a { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; }
.wordmark { display: flex; align-items: center; gap: 14px; }
.monogram { color: var(--accent); font: 38px/1 Georgia, serif; letter-spacing: -.07em; }
.monogram > span { font: 22px/1 Arial, sans-serif; vertical-align: top; }
.wordmark-name { font-size: 12px; color: #d6dbe3; }
.location { margin-left: auto; color: #c5cbd5; }
.header-contact { margin-left: 28px; }
.profile-page { background: var(--paper); }
.profile-page header { color: var(--paper); background: var(--ink); position: relative; }
.profile-page header::before, .intro::before {
  content: ''; position: absolute; inset: 0; background: var(--ink); box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); z-index: -1;
}
.profile-page header, .intro { isolation: isolate; }
.intro {
  position: relative; background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 76px;
  align-items: center; padding: 45px 0 64px;
}
.role { display: flex; align-items: center; gap: 12px; color: #c5cbd5; font-size: 12px; margin: 0 0 25px; }
.role::before { content: ""; width: 23px; height: 2px; background: var(--accent); }
h1 { font: 400 clamp(46px, 5.5vw, 68px)/.99 Georgia, 'Times New Roman', serif; letter-spacing: -.045em; margin: 0; }
h1 em { font-weight: 400; color: var(--accent); }
.identity-brands { color: #bac4d2; font-size: 12px; margin: 26px 0 0; }
.identity-brands span { color: var(--accent); padding: 0 10px; }
.connection-label { font-size: 11px; color: var(--accent); display: block; margin-bottom: 20px; }
.intro-detail { background: #192941; padding: 31px; border-radius: 7px; max-width: 410px; }
h1 span { display: block; font: 400 24px/1.4 Arial, sans-serif; letter-spacing: -.025em; margin-top: 20px; }
.introduction { font: 400 25px/1.4 Georgia, serif; margin: 0 0 17px; letter-spacing: -.025em; }
.intro-copy { color: #c5cbd5; font-size: 14px; line-height: 1.75; max-width: 350px; margin: 0 0 27px; }
.intro-actions { display: flex; flex-direction: column; align-items: stretch; gap: 7px; }
.primary {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 40px;
  min-height: 54px; padding: 15px 22px; border-radius: 3px; background: var(--ink); color: var(--paper);
  font-size: 13px; transition: background .2s, color .2s;
}
.intro .primary { background: var(--accent); color: #101e35; min-width: 239px; font-weight: 600; justify-content: center; }
.intro .primary:hover { background: #e2c993; }
.primary:hover { background: #253a59; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; font-size: 12px; }
.intro .text-link { border: 1px solid #3a465b; border-radius: 3px; }
.text-link:hover, footer a:hover, .utilities button:hover { text-decoration: underline; text-underline-offset: 5px; }
h2 { margin: 0; font-size: 13px; font-weight: 400; }
.companies { padding: 39px 0 43px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-heading h2 { color: var(--muted); font-size: 12px; }
.section-heading > span { color: var(--muted); font: italic 16px Georgia, serif; }
.company-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.company { display: flex; justify-content: space-between; gap: 15px; padding: 27px 29px; background: #fffdf8; border-radius: 7px; box-shadow: 0 8px 25px rgb(16 30 53 / .035); transition: background .2s; }
.company:hover { background: #ede7da; }
.company > div { width: 100%; }
.company .company-field { font-size: 11px; color: var(--muted); margin: 0 0 16px; }
.company h3 { font-size: 29px; font-weight: 400; letter-spacing: -.05em; margin: 0 0 14px; }
.company h3 small { font-size: 12px; letter-spacing: 0; }
.company.esthetic h3 { font: italic 32px/1 Georgia, serif; letter-spacing: -.04em; }
.company p { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 0 0 17px; }
.domain { color: var(--muted); font-size: 11px; }
.company-visit { display: block; margin-top: 21px; color: #846535; font-size: 11px; font-weight: 600; }

.company:hover .domain { text-decoration: underline; text-underline-offset: 5px; }
.contact { background: var(--ink); color: var(--paper); border-radius: 8px; padding: 34px 32px 23px; margin-bottom: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; }
.contact h2 { font: 400 29px/1.23 Georgia, serif; letter-spacing: -.025em; }
.contact h2 em { font-weight: 400; color: var(--accent); }
.contact-note { color: #b7c1d0; font-size: 11px; line-height: 1.6; margin-top: 17px; }
.contact-links a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; border-bottom: 1px solid #2a3950; }
.contact-links a:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.detail { font-size: 12px; color: #c5cfde; }
.utilities { grid-column: 2; display: flex; gap: 27px; margin-top: 13px; }
.utilities button { min-height: 44px; padding: 0; background: none; font-size: 12px; color: var(--accent); }
footer { border-top: 1px solid var(--line); padding: 20px 0 29px; display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: var(--muted); }
footer nav { display: flex; gap: 24px; }
footer a, footer > span { display: inline-flex; align-items: center; min-height: 44px; }
.skip { position: absolute; left: 20px; top: -100px; padding: 14px; background: var(--paper); color: var(--ink); z-index: 5; }
.skip:focus { top: 12px; }
dialog { width: min(390px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 0; border-radius: 5px; padding: 25px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgb(25 28 23 / .55); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dialog-heading h2 { font: 20px Georgia, serif; }
#qr-close { width: 44px; height: 44px; flex-shrink: 0; background: none; font-size: 27px; }
dialog p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.qr-frame { padding: 20px; background: white; width: 248px; max-width: 100%; margin: 24px auto; }
#qr-render { width: 208px; max-width: 100%; aspect-ratio: 1; }
#qr-render img, #qr-render canvas { max-width: 100%; height: auto; }
dialog .primary { width: 100%; }
#toast { position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); padding: 14px 20px; border-radius: 3px; max-width: calc(100% - 32px); width: max-content; background: var(--ink); color: var(--paper); font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s; }
#toast.visible { opacity: 1; }
[hidden] { display: none !important; }
.legal { padding: 45px 0 60px; max-width: 680px; }
.legal h1 { font-size: 42px; }
.legal h2 { font-size: 18px; margin-top: 32px; }
.legal p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.legal a { text-decoration: underline; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .page { padding-inline: 28px; }

  header { min-height: 83px; gap: 16px; }
  .wordmark { font-size: 29px; }
  .header-contact { margin-left: 0; font-size: 11px; gap: 9px; }
  .location { font-size: 10px; }
  .intro { grid-template-columns: 1fr; padding: 21px 0 28px; gap: 22px; }
  .intro-detail { background: transparent; padding: 0; max-width: none; }
  .connection-label, .identity-brands { display: none; }
  .wordmark-name { display: none; }
  .role { margin-bottom: 19px; font-size: 11px; }
  h1 { font-size: 49px; line-height: 1.02; }
  h1 br { display: none; }
  h1 em::before { content: ' '; }
  h1 span { font-size: 25px; margin-top: 12px; }
  .introduction { display: none; }
  .intro-copy { font-size: 13px; line-height: 1.65; margin: 0 0 22px; max-width: 370px; }
  .intro-actions { align-items: stretch; gap: 4px; }
  .intro .primary { min-width: 0; min-height: 54px; }
  .text-link { justify-content: center; }
  .companies { padding: 29px 0 30px; }
  .section-heading > span { font-size: 12px; }
  .company-list { grid-template-columns: 1fr; gap: 13px; margin-top: 23px; }
  .company { padding: 23px; }
  .company-visit { display: inline-block; float: right; margin-top: 0; font-size: 10px; }
  .company .company-field { font-size: 10px; margin-bottom: 10px; }
  .company h3 { font-size: 27px; margin-bottom: 10px; }
  .company.esthetic h3 { font-size: 30px; }
  .company p { font-size: 12px; margin-bottom: 11px; max-width: 295px; }
  .desktop-break { display: none; }
  .contact { grid-template-columns: 1fr; padding: 27px 23px 20px; gap: 15px; margin-inline: -10px; }
  .contact h2 { font-size: 29px; }
  .contact-note { margin: 13px 0 0; }
  .contact-links a { min-height: 51px; }
  .utilities { grid-column: auto; margin-top: 0; }
  footer { flex-direction: column; gap: 0; padding: 16px 0 24px; }
  footer > span { min-height: 30px; }
  .legal { padding-top: 25px; }
}
@media (max-width: 390px) {
  .page { padding-inline: 23px; }

  h1 { font-size: 43px; }
  h1 span { font-size: 23px; }
  .intro { padding-top: 22px; gap: 23px; }
  .detail { font-size: 11px; }
  .section-heading > span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
