@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,600&display=swap");
:root {
  --ink: #20303d;
  --muted: #657681;
  --canvas: #f7fafc;
  --surface: #ffffff;
  --orange: #d96b39;
  --orange-hover: #bd5528;
  --orange-soft: #fdebe2;
  --blue: #2e78a6;
  --blue-soft: #e6f2f8;
  --success: #237a59;
  --warning: #a96712;
  --danger: #b5433d;
  --border: #d6e0e6;
  --shadow: 0 18px 55px rgba(32, 48, 61, 0.08);
  --display: "Newsreader", Georgia, serif;
  --body: "DM Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--orange-soft); color: var(--ink); }

.page-shell,
.section-shell {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.section-shell { width: min(1120px, calc(100% - 64px)); }

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

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

.wordmark,
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.wordmark-name {
  padding-bottom: 1px;
  border-bottom: 2px solid var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

nav { display: flex; align-items: center; gap: 32px; }
nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; }
nav a:not(.nav-contact):hover { color: var(--blue); }

.nav-contact {
  min-width: 112px;
  justify-content: center;
  gap: 7px;
  border-radius: var(--radius);
  background: var(--orange);
  color: white;
  transition: background 160ms ease, transform 160ms ease;
}

.nav-contact:hover { background: var(--orange-hover); transform: translateY(-1px); }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 72px;
  padding-block: 88px 104px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.everjourn-copy h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.hero h1 { max-width: 680px; font-size: clamp(58px, 6.2vw, 86px); }

.hero-intro {
  max-width: 610px;
  margin: 30px 0 0;
  color: #50626e;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 12px; margin-top: 40px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button-primary { background: var(--orange); color: white; }
.button-primary:hover { background: var(--orange-hover); transform: translateY(-1px); }
.button-secondary { border-color: var(--border); background: var(--surface); color: var(--blue); }
.button-secondary:hover { border-color: var(--blue); background: var(--blue-soft); }

.studio-system {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.system-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 4px 4px 24px; }
.system-header div { display: flex; flex-direction: column; gap: 4px; }
.system-kicker, .system-version { color: var(--muted); text-transform: uppercase; letter-spacing: 0.11em; font-size: 10px; font-weight: 700; }
.system-header strong { font-family: var(--display); font-size: 26px; line-height: 1.2; }
.system-version { padding: 5px 8px; border-radius: 4px; background: var(--blue-soft); color: var(--blue); }

.system-list { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); }
.system-row { min-height: 82px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 14px 16px; background: var(--surface); }
.system-row + .system-row { border-top: 1px solid var(--border); }
.discipline-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 700; }
.discipline-icon.orange { background: var(--orange-soft); color: var(--orange); }
.discipline-icon.blue { background: var(--blue-soft); color: var(--blue); }
.discipline-icon.green { background: #e6f3ed; color: var(--success); }
.system-row div { display: flex; flex-direction: column; }
.system-row strong { font-size: 14px; }
.system-row small { color: var(--muted); font-size: 12px; }
.row-state { color: var(--muted); font-size: 11px; font-weight: 700; }

.mission-note { display: grid; grid-template-columns: 32px 1fr; gap: 12px; margin-top: 16px; padding: 16px; border: 1px solid #efcdbd; border-radius: var(--radius); background: var(--orange-soft); }
.mission-note > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: white; font-size: 12px; }
.mission-note p { margin: 0; color: #6a4637; font-size: 13px; line-height: 1.55; }
.mission-note strong { display: block; color: var(--ink); }

.approach,
.everjourn-section,
.about { padding-block: 112px; border-top: 1px solid var(--border); }

.section-heading { display: grid; grid-template-columns: 1fr 0.76fr; gap: 88px; align-items: end; }
.section-heading.compact { grid-template-columns: 1fr; max-width: 760px; }
.section-heading h2 { max-width: 680px; font-size: clamp(45px, 5vw, 64px); }
.section-intro, .about-copy p { margin: 0; color: #50626e; font-size: 17px; line-height: 1.7; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.principles article { min-height: 260px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.card-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--orange-soft); color: var(--orange); font-size: 10px; font-weight: 700; }
.principles article:nth-child(2) .card-number { background: var(--blue-soft); color: var(--blue); }
.principles article:nth-child(3) .card-number { background: #e6f3ed; color: var(--success); }
.principles h3 { margin: 54px 0 12px; font-family: var(--display); font-size: 27px; line-height: 1.15; }
.principles p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.everjourn-card { display: grid; grid-template-columns: 0.9fr 1.1fr; overflow: hidden; margin-top: 64px; border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); background: var(--surface); box-shadow: var(--shadow); }
.everjourn-visual { position: relative; min-height: 610px; display: grid; place-items: center; padding: 56px; overflow: hidden; background: var(--orange-soft); border-right: 1px solid #efcdbd; }
.everjourn-visual::before, .everjourn-visual::after { content: ""; position: absolute; border: 1px solid rgba(217, 107, 57, 0.25); border-radius: 50%; }
.everjourn-visual::before { width: 440px; height: 440px; }
.everjourn-visual::after { width: 330px; height: 330px; }
.product-status { position: absolute; top: 24px; left: 24px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid #efcdbd; border-radius: 999px; background: rgba(255,255,255,0.72); color: #7c4b36; text-transform: uppercase; letter-spacing: 0.1em; font-size: 9px; font-weight: 700; }
.product-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--warning); }
.image-frame { position: relative; z-index: 2; width: min(64%, 310px); overflow: hidden; border: 10px solid rgba(255,255,255,0.92); border-radius: 29%; box-shadow: 0 24px 55px rgba(111, 70, 48, 0.2); }
.visual-caption { position: absolute; right: 20px; bottom: 20px; left: 20px; z-index: 3; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 14px; border: 1px solid #efcdbd; border-radius: var(--radius); background: rgba(255,255,255,0.78); color: #7c4b36; font-size: 10px; font-weight: 700; }

.everjourn-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px; }
.product-name { margin: 0 0 16px; color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.everjourn-copy h2 { max-width: 530px; font-size: clamp(48px, 5vw, 68px); }
.product-description { max-width: 610px; margin: 28px 0 0; color: #50626e; font-size: 17px; line-height: 1.7; }
.product-guidance { display: grid; grid-template-columns: 34px 1fr; gap: 12px; margin-top: 28px; padding: 16px; border: 1px solid #bdd9e8; border-radius: var(--radius); background: var(--blue-soft); }
.guidance-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-family: var(--display); font-size: 15px; font-weight: 600; }
.product-guidance p { margin: 0; color: #315c73; font-size: 13px; line-height: 1.55; }
.product-traits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.product-traits span { padding: 7px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 600; }

.about-copy { display: grid; gap: 18px; }
.company-record { display: grid; grid-template-columns: 1fr 1.25fr 0.8fr; margin: 64px 0 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.company-record div { min-height: 118px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px; }
.company-record div + div { border-left: 1px solid var(--border); }
.company-record dt { color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; font-weight: 700; }
.company-record dd { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.25; }

.contact-section { padding-block: 104px; background: var(--ink); color: white; }
.contact-inner { display: grid; grid-template-columns: 1fr 0.86fr; align-items: end; gap: 88px; }
.contact-section h2 { font-size: clamp(52px, 5.5vw, 72px); }
.contact-card { position: relative; min-height: 160px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 28px 76px 28px 28px; border: 1px solid rgba(255,255,255,0.24); border-radius: var(--radius); background: rgba(255,255,255,0.06); transition: border-color 160ms ease, background 160ms ease; }
.contact-card:hover { border-color: var(--orange); background: rgba(217,107,57,0.13); }
.contact-card > span:first-child { color: #afbec7; font-size: 12px; }
.contact-card strong { overflow-wrap: anywhere; font-size: 17px; }
.contact-arrow { position: absolute; top: 50%; right: 24px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); transform: translateY(-50%); }

.site-footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer-inner { min-height: 144px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 48px; color: var(--muted); font-size: 11px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { color: var(--ink); font-size: 13px; }
.footer-inner p { margin: 0; }

a:focus-visible { outline: 3px solid rgba(46, 120, 166, 0.4); outline-offset: 3px; }

@media (max-width: 960px) {
  .page-shell, .section-shell { width: min(100% - 48px, 760px); }
  .hero { grid-template-columns: 1fr; gap: 64px; padding-block: 80px; }
  .section-heading, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .everjourn-card { grid-template-columns: 1fr; }
  .everjourn-visual { min-height: 500px; border-right: 0; border-bottom: 1px solid #efcdbd; }
  .company-record { grid-template-columns: 1fr; }
  .company-record div + div { border-left: 0; border-top: 1px solid var(--border); }
  .footer-inner { grid-template-columns: 1fr 1fr; padding-block: 40px; }
}

@media (max-width: 680px) {
  .page-shell, .section-shell { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; }
  nav { gap: 0; }
  nav a:not(.nav-contact) { display: none; }
  .nav-contact { min-width: 98px; }
  .hero { min-height: auto; padding-block: 64px 72px; gap: 48px; }
  .hero h1 { font-size: clamp(52px, 16vw, 72px); }
  .hero-intro { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .studio-system { padding: 16px; }
  .system-row { grid-template-columns: 40px 1fr; }
  .row-state { display: none; }
  .approach, .everjourn-section, .about { padding-block: 80px; }
  .section-heading h2 { font-size: 44px; }
  .principles { grid-template-columns: 1fr; margin-top: 48px; }
  .principles article { min-height: 220px; }
  .everjourn-card { margin-top: 48px; }
  .everjourn-visual { min-height: 400px; padding: 40px; }
  .everjourn-visual::before { width: 330px; height: 330px; }
  .everjourn-visual::after { width: 250px; height: 250px; }
  .image-frame { width: min(62%, 240px); border-width: 7px; }
  .visual-caption { justify-content: center; }
  .visual-caption span:last-child { display: none; }
  .everjourn-copy { padding: 44px 24px; }
  .everjourn-copy h2 { font-size: 46px; }
  .product-description { font-size: 16px; }
  .contact-section { padding-block: 80px; }
  .contact-section h2 { font-size: 48px; }
  .contact-card { min-height: 145px; padding-left: 20px; }
  .contact-card strong { font-size: 14px; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
