:root {
  color-scheme: light;
  --bg: #edece9;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #4b4a47;
  --line: #77756f;
  --gutter: 16px;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.25rem, 3.6vw + 1rem, 4rem); line-height: 1.06; }
h2 { font-size: clamp(2.25rem, 4vw + 1rem, 4.5rem); line-height: 1; margin-bottom: 0.5em; }
h3 { font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem); line-height: 1.2; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px;
  font-size: 0.9375rem;
}
.wordmark { font-weight: 600; text-decoration: none; letter-spacing: 0.01em; }
.site-header nav { display: flex; gap: 20px; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }

/* Hero */
.hero {
  display: grid;
  gap: 48px;
  align-items: center;
  padding-block: 64px 96px;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.25fr 1fr; padding-block: 120px 160px; }
}

/* A glass ball on a dark surface, drawn in CSS so the page carries no stock image. */
.orb {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 3 / 4;
  justify-self: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, #d9d9d8 0%, #c4c5c4 58%, #2b2b2b 58.4%, #121212 78%, #1d1d1d 100%);
}
.orb__ball {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 66%;
  aspect-ratio: 1;
  translate: -50% -62%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 24%, rgba(255, 255, 255, 0.95) 0 1.6%, rgba(255, 255, 255, 0) 3.2%),
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.55) 0 6%, rgba(255, 255, 255, 0) 16%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 56%, rgba(0, 0, 0, 0.35) 66%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(180deg, #b4b5b4 0%, #6c6c6b 38%, #e9e9e8 44%, #f4f4f3 72%, #bdbdbc 100%);
  box-shadow: 0 26px 24px -18px rgba(0, 0, 0, 0.75);
}
.orb__ball::after {
  /* the reflection on the surface */
  content: "";
  position: absolute;
  left: 8%;
  top: 101%;
  width: 84%;
  height: 52%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 70%);
}

/* About */
.about {
  display: grid;
  gap: 40px;
  padding-block: 32px 96px;
}
@media (min-width: 900px) {
  .about { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-bottom: 140px; }
}
.about__photo { width: 100%; max-width: 520px; }
.about__text p { font-size: clamp(1.125rem, 0.6vw + 1rem, 1.375rem); line-height: 1.45; max-width: 34em; }
.about__text h3 { margin-top: 1.6em; }
.background { margin: 0.8em 0 0; padding-left: 1.1em; color: var(--muted); }
.background li { margin-block: 0.25em; }

/* Focus areas */
.focus { background: var(--surface); padding-block: 96px 112px; }
.focus__grid { display: grid; gap: 40px 64px; margin-top: 16px; }
@media (min-width: 768px) { .focus__grid { grid-template-columns: 1fr 1fr; } }
.focus__grid p { color: var(--muted); margin: 0.5em 0 0; max-width: 30em; }

/* Contact */
.contact {
  display: grid;
  gap: 32px;
  padding-block: 96px 112px;
}
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; } }
.contact__intro p { font-size: 1.25rem; margin: 0 0 0.6em; }
.socials { font-size: 1rem !important; }

.form { display: grid; gap: 6px; max-width: 560px; }
.form label { font-weight: 500; margin-top: 12px; }
.form input,
.form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
}
.form textarea { resize: vertical; min-height: 9rem; }
.form input:focus-visible,
.form textarea:focus-visible { outline-offset: 1px; }
.form .cf-turnstile { margin-top: 18px; min-height: 65px; }
.form button {
  justify-self: start;
  margin-top: 12px;
  font: inherit;
  font-weight: 500;
  color: #ffffff;
  background: var(--ink);
  border: 0;
  border-radius: 2px;
  padding: 14px 28px;
  cursor: pointer;
}
.form button:hover { background: #333333; }
.fineprint { color: var(--muted); font-size: 0.9375rem; margin: 10px 0 0; }

/* Off-screen rather than display:none, so form-filling bots still find it. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { padding-block: 0 48px; color: var(--muted); font-size: 0.9375rem; }
.site-footer p { margin: 0; padding-top: 32px; border-top: 1px solid #d3d1cc; }

/* Message pages: sent, not sent, not found */
.message { padding-block: 96px 160px; max-width: 760px; }
.message p { font-size: 1.25rem; max-width: 32em; }
