:root {
  --navy: #102a43;
  --navy-deep: #0b1f33;
  --paper: #faf9f6;
  --paper-alt: #f2f0eb;
  --ink: #17212b;
  --muted: #66717d;
  --line: rgba(16, 42, 67, 0.16);
  --white: #ffffff;
  --shell: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--white);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  color: var(--white);
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.09), transparent 28rem),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
  padding: 150px 0 110px;
}

.hero-inner {
  max-width: 1040px;
}

.eyebrow,
.section-label {
  margin: 0 0 22px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.section-label {
  color: var(--navy);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.8rem, 12vw, 10rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.065em;
}

.hero-statement {
  max-width: 860px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy);
  background: var(--white);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: transparent;
}

.section {
  padding: 130px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 100px;
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 5vw, 5.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
}

.about-copy {
  max-width: 650px;
}

.about-copy p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.connect {
  background: var(--paper-alt);
}

.connect-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 100px;
  align-items: end;
}

.connect-copy {
  max-width: 480px;
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-links {
  border-top: 1px solid var(--line);
}

.contact-links a {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-links span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-links strong {
  text-align: right;
  font-size: 0.95rem;
}

.contact-links a:hover strong {
  color: var(--navy);
}

footer {
  padding: 34px 0 46px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-deep);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.82rem;
}

@media (max-width: 800px) {
  .hero {
    min-height: auto;
    padding: 150px 0 95px;
  }

  .section-grid,
  .connect-panel {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section {
    padding: 90px 0;
  }
}

@media (max-width: 580px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    min-height: 74px;
  }

  nav {
    gap: 16px;
  }

  nav a {
    font-size: 0.8rem;
  }

  h1 {
    font-size: clamp(4.1rem, 22vw, 6rem);
  }

  .hero-statement {
    font-size: 1.55rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .contact-links a {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .contact-links strong {
    text-align: left;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

  * {
    transition: none !important;
  }
}


/* Animated calligrapher signature */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.signature-lockup {
  position: relative;
  width: min(720px, 92vw);
  margin: 4px 0 34px;
}

.signature-reveal {
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  animation: write-signature 2.8s cubic-bezier(.65, 0, .35, 1) 0.35s forwards;
}

.hero-signature {
  display: block;
  width: min(720px, 92vw);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.98;
}

.signature-pen {
  position: absolute;
  top: 52%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.75);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: pen-travel 2.8s cubic-bezier(.65, 0, .35, 1) 0.35s forwards;
}

@keyframes write-signature {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes pen-travel {
  0% {
    left: 0;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@media (max-width: 580px) {
  .signature-lockup {
    width: 94vw;
    margin-bottom: 28px;
  }

  .hero-signature {
    width: 94vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signature-reveal {
    clip-path: inset(0);
    animation: none;
  }

  .signature-pen {
    display: none;
  }
}
