/* arthurmarkaryan.com — static stylesheet
   Concept: the wall from the reels. Slate panels, vertical seams, one warm light. */

@font-face {
  font-family: "Baskerville Display";
  src: url("/assets/fonts/baskerville-regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Site";
  src: url("/assets/fonts/inter-regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Site";
  src: url("/assets/fonts/inter-medium.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Site";
  src: url("/assets/fonts/inter-semibold.woff") format("woff");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --wall: #181a1f;
  --panel: #20242a;
  --slate: #26343a;
  --paper: #ece6d8;
  --muted: #a9aaa2;
  --lamp: #f0b982;
  --lamp-deep: #c98a52;
  --seam: rgba(236, 230, 216, 0.075);
  --gutter: clamp(20px, 5vw, 64px);
  --measure: 62ch;
  --display: "Baskerville Display", "Baskerville", "Libre Baskerville", Georgia, "Times New Roman", serif;
  --text: "Inter Site", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background-color: var(--wall);
  /* vertical wall seams */
  background-image:
    linear-gradient(90deg, transparent calc(25% - 1px), var(--seam) calc(25% - 1px), var(--seam) 25%, transparent 25%),
    linear-gradient(90deg, transparent calc(50% - 1px), var(--seam) calc(50% - 1px), var(--seam) 50%, transparent 50%),
    linear-gradient(90deg, transparent calc(75% - 1px), var(--seam) calc(75% - 1px), var(--seam) 75%, transparent 75%);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--lamp-deep); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--lamp); }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--wall); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 10; padding-block: 22px; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.4rem; letter-spacing: 0.01em; text-decoration: none; }
.wordmark .logo { width: 40px; height: 40px; flex: none; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: inline-block; padding: 6px 0; font-size: 0.95rem; font-weight: 500; text-decoration: none; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--paper); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--lamp); text-underline-offset: 0.45em; }
.site-nav .nav-academy a { color: var(--wall); background: var(--paper); padding: 6px 16px; border-radius: 999px; }
.site-nav .nav-academy a:hover { background: var(--lamp); color: var(--wall); }
.site-nav .nav-academy a[aria-current="page"] { background: var(--lamp); text-decoration: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-bottom: clamp(40px, 8vw, 96px); }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 82% 24%, rgba(240, 185, 130, 0.20), rgba(240, 185, 130, 0.05) 45%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
  animation: lamp-on 1800ms ease-out both;
}
.hero-photo {
  position: relative; margin: 0 calc(var(--gutter) * -1);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  animation: lamp-up 1800ms ease-out both;
}
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 20%; max-height: 82vw; }
.hero-copy { position: relative; margin-top: -4vw; }
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3.4rem, 13vw, 9.5rem); line-height: 0.92; letter-spacing: -0.015em;
  margin: 0 0 0.3em;
}
.hero h1 span { display: block; }
.role { font-family: var(--display); font-size: clamp(1.35rem, 3.4vw, 2rem); margin: 0 0 1rem; color: var(--paper); }
.lede { max-width: 40ch; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; color: #d9d3c4; margin: 0 0 1.4rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 1.8rem; }

@keyframes lamp-on { from { opacity: 0; } to { opacity: 1; } }
@keyframes lamp-up { from { filter: brightness(0.5); } to { filter: brightness(1); } }

@media (min-width: 900px) {
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; min-height: min(86vh, 860px); column-gap: 3vw; }
  .hero-photo {
    grid-column: 2; grid-row: 1; margin: 0 calc(var(--gutter) * -1) 0 0; align-self: stretch;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 38%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 70%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to right, transparent 0, #000 38%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 70%, transparent 100%);
            mask-composite: intersect;
  }
  .hero-photo img { height: 100%; max-height: none; aspect-ratio: auto; min-height: 560px; object-position: 38% 18%; }
  .hero-copy { grid-column: 1; grid-row: 1; margin-top: 0; padding-bottom: 8vh; align-self: end; }
  .hero-copy { position: relative; z-index: 2; margin-right: -6vw; }
}

/* ---------- buttons and links ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; background: var(--paper); color: var(--wall); border: 1px solid var(--paper);
  transition: background-color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--lamp); border-color: var(--lamp); }
.link { font-weight: 500; }

/* ---------- sections ---------- */
main > section { padding-block: clamp(48px, 8vw, 104px); }
.page-head { padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(24px, 4vw, 48px); }
.page-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 8vw, 6rem); line-height: 1; letter-spacing: -0.012em; margin: 0 0 0.4em; max-width: 14ch; }
.page-head .lede { max-width: 46ch; }

h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.1; letter-spacing: -0.008em; margin: 0 0 0.6em; }
h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.2; margin: 0 0 0.3em; }
p { margin: 0 0 1.1em; }
.prose { max-width: var(--measure); }
.prose p { color: #ddd7c8; }
.muted { color: var(--muted); }

.split { display: grid; gap: 28px 5vw; }
@media (min-width: 900px) { .split { grid-template-columns: 4fr 8fr; } .split > :first-child { position: sticky; top: 24px; align-self: start; } }

/* ventures / awards entries: plain rows, not cards */
.entries { list-style: none; margin: 0; padding: 0; }
.entries > li { padding-block: 26px; border-top: 1px solid var(--seam); display: grid; gap: 6px 5vw; }
.entries > li:last-child { border-bottom: 1px solid var(--seam); }
.entries .facts { margin: 0; color: var(--muted); font-size: 0.95rem; }
.entries p { margin: 0; max-width: 56ch; color: #ddd7c8; }
@media (min-width: 900px) { .entries > li { grid-template-columns: 4fr 8fr; } }

/* academy band: a lit doorway */
.academy-band { position: relative; background: linear-gradient(100deg, rgba(240,185,130,0.13), rgba(38,52,58,0.55) 38%, rgba(38,52,58,0.35)); }
.academy-band .wrap { display: grid; gap: 20px 5vw; }
@media (min-width: 900px) { .academy-band .wrap { grid-template-columns: 7fr 5fr; align-items: end; } }

/* list with markers that are not numbers */
.plain-list { margin: 0 0 1.4em; padding-left: 1.1em; max-width: var(--measure); }
.plain-list li { margin-bottom: 0.6em; padding-left: 0.3em; }
.plain-list li::marker { color: var(--lamp); }

/* gallery */
.gallery { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.gallery figcaption { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }

/* contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.contact-list li { padding-block: 12px; border-top: 1px solid var(--seam); }
.contact-list li:last-child { border-bottom: 1px solid var(--seam); }
.contact-list .label { display: block; color: var(--muted); font-size: 0.92rem; }

/* placeholders: impossible to miss, easy to find */
mark.todo { background: rgba(240, 185, 130, 0.14); color: var(--lamp); outline: 1px dashed var(--lamp-deep); outline-offset: 2px; padding: 0 4px; border-radius: 2px; font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--seam); padding-block: 36px 48px; margin-top: 24px; color: var(--muted); font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow, .hero-photo { animation: none; }
  .btn { transition: none; }
}

/* ---------- orbit window ---------- */
.porthole { aspect-ratio: 1; width: 100%; max-width: 460px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 70% 30%, rgba(240,185,130,0.16), #14161a 62%);
  box-shadow: 0 0 0 1px rgba(236,230,216,0.18), 0 0 0 10px #1e2227, 0 0 0 11px rgba(236,230,216,0.10), 0 30px 80px rgba(0,0,0,0.5); }
.porthole canvas { width: 100%; height: 100%; display: block; border-radius: 50%; }
.orbit-caption { margin: 34px 0 0; font-size: 0.92rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.orbit-caption #utc { color: var(--paper); margin-left: 10px; }
@media (min-width: 900px) { .orbit-split { grid-template-columns: 5fr 7fr; } }
.nav-login a { color: var(--paper) !important; }
.login-box { max-width: var(--measure); padding: 26px 28px; background: rgba(38,52,58,0.45); border-left: 2px solid var(--lamp); }
.login-box p:last-child { margin-bottom: 0; }

.signal { display: block; width: 100%; max-width: 520px; height: 84px; margin-top: 18px; }

.signature { width: min(300px, 72%); height: auto; margin-top: 22px; opacity: 0.92; }

.venture-fig { margin: 0 0 18px; max-width: 520px; }
.venture-logo { width: 100%; height: auto; background: transparent; }
.venture-fig figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }

.venture-logo.on-light { background: #fff; padding: 10px; }

/* temporary notice while the site is being finished: delete this block and the .build-note line in each page to remove */
.build-note { background: var(--lamp); color: #1b1c20; text-align: center; font-size: 0.875rem; font-weight: 500; line-height: 1.4; padding: 8px 16px; }
