:root {
  color-scheme: light;
  --paper: #f6f4ee;
  --ink: #173e42;
  --muted: #576862;
  --teal: #007b79;
  --rule: #cbd2c8;
  --wash: #e8efea;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--teal); }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; }
svg { display: block; }
p, h1, h2, figure { margin: 0; }
::selection { background: #c5e3d9; color: #173e42; }
.page-shell { width: min(1280px, calc(100% - 7rem)); margin-inline: auto; }
.skip-link { position: fixed; top: .8rem; left: 1rem; z-index: 10; padding: .7rem; transform: translateY(-180%); background: var(--paper); font-weight: 600; }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 119px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; font-size: .96rem; letter-spacing: .19em; white-space: nowrap; }
.wordmark strong, .footer-brand strong { font-weight: 700; }
.brand-symbol { color: var(--teal); flex: 0 0 auto; }
.main-nav { display: flex; align-items: center; gap: 2.2rem; font-size: .88rem; }
.main-nav > a { text-decoration: none; }
.main-nav > a:hover { text-decoration: underline; }
.text-action { display: inline-flex; align-items: center; justify-content: flex-start; gap: .68rem; width: fit-content; padding: .35rem 0; color: var(--ink); font-size: .91rem; font-weight: 600; line-height: 1.5; text-decoration: none; }
.text-action > svg { width: 23px; height: 23px; flex: 0 0 23px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease; }
.text-action:hover > span { text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: .28em; }
.text-action:hover > svg { transform: translate(2px, -1px); }
.header-contact { gap: .55rem; font-size: .88rem; }
.header-contact > svg { width: 20px; height: 20px; flex-basis: 20px; }

.hero { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 1.3rem; padding-block: 5.1rem 5.5rem; min-height: 695px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .69rem; line-height: 1.6; font-weight: 600; letter-spacing: .18em; }
.eyebrow-line { width: 32px; height: 1px; background: var(--teal); }
h1 { margin-top: 1.6rem; font-family: var(--serif); font-size: clamp(4.9rem, 7.6vw, 7.9rem); font-weight: 400; line-height: .98; letter-spacing: -.065em; }
.hero-intro { max-width: 360px; margin-top: 2rem; font-size: 1rem; line-height: 1.85; color: var(--muted); }
.hero-action { margin-top: 1.9rem; }
.hero-art { min-width: 0; position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-top: 1.6rem; }
.art-orbit { position: absolute; z-index: 0; width: 86%; aspect-ratio: 1; top: 1.7rem; right: 1%; border-radius: 50%; background: #ede9dd; }
.art-orbit::after { content: ""; position: absolute; width: 75%; height: 75%; top: 12.5%; left: 12.5%; border-radius: 50%; border: 1px solid #deded1; }
.eyewear-illustration { position: relative; z-index: 1; width: 110%; max-width: none; height: auto; margin-left: -9%; transform: rotate(-8deg); }
.drawing-frame { stroke: var(--ink); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.drawing-bridge { stroke: var(--teal); stroke-width: 8; stroke-linecap: round; }
.drawing-fine { stroke: #a8b7aa; stroke-width: 1.1; stroke-linecap: round; }
.drawing-reflection { stroke: #d2d6ca; stroke-width: 2; stroke-linecap: round; }
.drawing-detail { stroke: #b6a581; stroke-width: 3; stroke-linecap: round; }
.drawing-dot { fill: var(--teal); }
.hero-art figcaption { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 1rem; margin: 2rem 0 0 2rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .64rem; line-height: 1.5; letter-spacing: .15em; }
.hero-art figcaption span:last-child { font-family: var(--serif); letter-spacing: .02em; font-size: .86rem; font-style: italic; }

.contact-section { border-top: 1px solid var(--rule); display: grid; grid-template-columns: .75fr 1.25fr; gap: 3.5rem; padding-block: 5rem 5.8rem; }
h2 { margin-top: 1.1rem; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4vw, 4.4rem); line-height: 1.08; letter-spacing: -.045em; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2.1rem; padding-top: .35rem; }
.small-label { color: var(--muted); font-size: .64rem; font-weight: 600; line-height: 1.5; letter-spacing: .17em; }
address { margin: 1rem 0 1.5rem; font-family: var(--serif); font-size: 1.48rem; line-height: 1.52; font-style: normal; letter-spacing: -.02em; }
.contact-line { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.contact-value { display: inline-block; margin-top: .6rem; font-size: 1.13rem; font-weight: 500; line-height: 1.5; text-decoration: none; }
.contact-value:hover { text-decoration: underline; }
.email-value { font-size: .98rem; overflow-wrap: anywhere; }
.contact-note { color: var(--muted); font-size: .82rem; line-height: 1.8; }

.software-section { background: var(--wash); }
.software-inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3.5rem; padding-block: 4.6rem 4.9rem; }
.software-heading h2 { font-size: clamp(2.7rem, 4vw, 4.2rem); }
.software-heading h2 span { color: var(--teal); }
.software-copy { max-width: 605px; padding-top: .2rem; }
.software-intro { max-width: 580px; margin-bottom: 1.15rem; font-family: var(--serif); font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1.4; letter-spacing: -.025em; }
.software-copy > p:not(.software-intro):not(.independence-note) { max-width: 450px; color: var(--muted); font-size: .95rem; line-height: 1.8; }
.software-copy .text-action { margin-top: 1.15rem; }
.independence-note { max-width: 520px; margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid #c2cec2; color: var(--muted); font-size: .76rem; line-height: 1.8; }

.site-footer { display: grid; grid-template-columns: 1fr 1.35fr auto; align-items: center; gap: 2rem; padding-block: 2.8rem; }
.footer-brand { font-size: .8rem; letter-spacing: .15em; white-space: nowrap; }
.footer-brand span { display: block; margin-top: .55rem; color: var(--muted); font-size: .67rem; font-weight: 400; letter-spacing: .035em; }
.footer-legal { color: var(--muted); font-size: .67rem; line-height: 1.8; }
.footer-legal p + p { margin-top: .2rem; }
.back-to-top { font-size: .76rem; }
.back-to-top > svg { width: 20px; height: 20px; flex-basis: 20px; }

.not-found { min-height: calc(100svh - 119px); display: flex; flex-direction: column; justify-content: center; padding-block: 4rem; }
.not-found h1 { max-width: 850px; font-size: clamp(4rem, 8vw, 7rem); }
.not-found-copy { max-width: 470px; margin-top: 1.8rem; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.not-found .text-action { margin-top: 1.5rem; }

@media (min-width: 1600px) {
  .hero { min-height: 770px; }
  .hero-art { padding-top: 3rem; }
  .art-orbit { top: 2.8rem; }
}

@media (max-width: 1100px) {
  .page-shell { width: calc(100% - 4.5rem); }
  .site-header { min-height: 105px; }
  .main-nav { gap: 1.4rem; }
  .wordmark { gap: .7rem; font-size: .84rem; }
  .hero { min-height: 610px; padding-block: 4.5rem; }
  h1 { font-size: clamp(4.5rem, 8.2vw, 6rem); }
  .art-orbit { top: 2.5rem; }
  .hero-art figcaption { margin-left: 0; }
  .hero-art figcaption span:first-child { display: none; }
  .hero-art figcaption span:last-child { margin-left: auto; }
  .contact-section, .software-inner { grid-template-columns: .7fr 1.3fr; gap: 2.2rem; }
  .contact-details { gap: 1.4rem; }
  address { font-size: 1.3rem; }
  .contact-value { font-size: 1rem; }
  .email-value { font-size: .88rem; }
  .site-footer { grid-template-columns: 1fr 1.35fr; }
  .back-to-top { grid-column: 2; grid-row: 2; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 1.4rem; }
  .page-shell { width: calc(100% - 2.5rem); }
  .site-header { min-height: 99px; flex-wrap: wrap; justify-content: flex-start; gap: 0; padding-block: 1.25rem 1rem; }
  .wordmark { font-size: .83rem; gap: .7rem; }
  .brand-symbol { width: 41px; height: 23px; }
  .main-nav { width: 100%; justify-content: space-between; gap: .8rem; margin-top: 1rem; font-size: .78rem; }
  .header-contact { font-size: .78rem; padding-block: 0; }
  .header-contact > svg { width: 18px; height: 18px; flex-basis: 18px; }
  .hero { grid-template-columns: 1fr; gap: .8rem; min-height: 0; padding-block: 3.2rem 2.4rem; }
  .eyebrow { font-size: .61rem; }
  h1 { margin-top: 1.35rem; font-size: clamp(3.45rem, 12.6vw, 6.6rem); line-height: .99; }
  .hero-intro { max-width: 340px; margin-top: 1.5rem; font-size: .92rem; line-height: 1.8; }
  .hero-action { margin-top: 1.2rem; }
  .hero-art { width: min(100%, 520px); justify-self: center; padding-top: .4rem; margin-top: .7rem; }
  .art-orbit { width: 70%; right: 9%; top: .3rem; }
  .eyewear-illustration { width: 100%; margin-left: 0; }
  .hero-art figcaption { margin: .4rem 0 0; padding-top: .7rem; }
  .hero-art figcaption span:first-child { display: inline; font-size: .58rem; }
  .hero-art figcaption span:last-child { margin-left: 0; font-size: .8rem; }
  .contact-section { grid-template-columns: 1fr; gap: 2.4rem; padding-block: 3rem 3.3rem; }
  h2 { font-size: 3.15rem; }
  .contact-details { grid-template-columns: 1fr 1fr; gap: 1.6rem; padding-top: 0; }
  address { font-size: 1.25rem; }
  .contact-value { font-size: .96rem; }
  .email-value { font-size: .85rem; }
  .contact-note { font-size: .75rem; }
  .text-action { font-size: .83rem; gap: .5rem; }
  .text-action > svg { width: 21px; height: 21px; flex-basis: 21px; }
  .software-inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem 3.2rem; }
  .software-heading h2 { font-size: 3rem; }
  .software-intro { max-width: 500px; font-size: 1.6rem; }
  .software-copy > p:not(.software-intro):not(.independence-note) { font-size: .9rem; }
  .independence-note { margin-top: 1.6rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2.2rem; }
  .back-to-top { grid-column: 1; grid-row: auto; }
}

@media (max-width: 430px) {
  .contact-details { grid-template-columns: 1fr; gap: 2rem; }
  .contact-lines { max-width: 100%; }
  .contact-value { font-size: 1.16rem; }
  .email-value { font-size: 1rem; }
  .contact-note br { display: none; }
  .contact-line:last-of-type { margin-bottom: 1rem; }
  .hero-art figcaption { flex-wrap: wrap; }
  h2 { font-size: 2.8rem; }
}

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