@font-face {
  font-family: "EB Garamond";
  src: url("assets/fonts/EBGaramond12-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("assets/fonts/EBGaramond12-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("assets/fonts/EBGaramond12-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/fonts/Inter-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/fonts/Inter-SemiBold.otf") format("opentype");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
::selection { background: var(--gold-soft); color: var(--ink); }
a {
  color: inherit;
  text-decoration-color: var(--green);
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
a:hover { color: var(--green); text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
.wrap { width: min(100% - 3rem, var(--content-width)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: -100px; left: 1rem; padding: .6rem .9rem; background: var(--white); }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 104px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; }
.brand img { width: 48px; height: 51px; object-fit: contain; mix-blend-mode: multiply; }
.brand strong, .brand small { display: block; }
.brand strong { font: 400 1.72rem/1 var(--serif); letter-spacing: -.02em; }
.brand small { margin-top: .2rem; color: var(--gold); font-size: .78rem; line-height: 1.1; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.8rem); }
.main-nav a { padding: .4rem 0; border-bottom: 1px solid transparent; font-size: .84rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover { color: var(--green); border-color: var(--green); }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.08; }
.hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .62fr); gap: clamp(3rem, 8vw, 8rem); padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5.5rem, 11vw, 10rem); }
.product-hero { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.product-hero h1 { max-width: 14ch; margin-bottom: 1.5rem; font-size: clamp(3.5rem, 7.5vw, 5.5rem); }
.product-hero .hero-lede { max-width: 58ch; }
.product-content { padding-bottom: clamp(4.5rem, 9vw, 7rem); }
.product-content h2 { max-width: 20ch; margin-bottom: 1.2rem; font-size: clamp(2.3rem, 4.5vw, 3.5rem); }
.product-content p { max-width: 72ch; color: var(--soft-ink); }
.product-content .product-intro { margin-bottom: 3.5rem; color: var(--ink); font: 400 clamp(1.2rem, 2vw, 1.45rem)/1.55 var(--serif); }
.product-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 4rem; margin-top: 3rem; }
.product-details article { padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.product-details h3 { margin-bottom: .65rem; font-size: 1.7rem; }
.product-details p { margin-bottom: 0; font-size: .96rem; }
.product-note { margin-top: 3rem; padding: 1.4rem 1.6rem; border-left: 2px solid var(--gold); background: var(--paper-deep); }
.product-note p { margin: 0; }
.product-actions { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2rem; }
.product-actions .text-action { padding: .65rem 0; }
.demo-section { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--paper-deep); }
.demo-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.demo-copy h2 { max-width: 12ch; margin-bottom: 1rem; font-size: clamp(2.7rem, 4.5vw, 3.8rem); }
.demo-copy > p:not(.eyebrow) { max-width: 40ch; color: var(--soft-ink); }
.demo-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--footer); box-shadow: 0 12px 36px rgb(29 42 35 / 10%); }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero h1 { max-width: 10ch; margin-bottom: 2rem; font-size: clamp(4.3rem, 8.5vw, 6rem); letter-spacing: -.035em; line-height: .94; }
.hero h1 em { color: var(--green); font-weight: 400; }
.hero-main > p { max-width: 60ch; color: var(--soft-ink); font-size: 1rem; line-height: 1.75; }
.hero-main .hero-lede { max-width: 44ch; color: var(--ink); font: 400 clamp(1.25rem, 2vw, 1.55rem)/1.45 var(--serif); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2rem; }
.text-action { display: inline-flex; align-items: center; gap: .75rem; padding-bottom: .35rem; border-bottom: 1px solid var(--ink); color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; }
.text-action.secondary { border-color: var(--rule); font-weight: 400; }
.text-action span, .work-item h3 span, .contact-link span { display: inline-block; transition: transform .18s ease; }
.text-action:hover span, .work-item h3 a:hover span, .contact-link:hover span { transform: translate(2px, -2px); }
.hero-aside { align-self: end; min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1.25rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); color: var(--soft-ink); font: italic 1.3rem/1.2 var(--serif); text-align: center; }
.hero-aside img { width: 156px; opacity: .88; mix-blend-mode: multiply; transform: rotate(-5deg); }
.section { padding-bottom: clamp(5rem, 10vw, 8rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; }
.section-heading h2, .services-section h2, .closing h2 { max-width: 18ch; margin: 0; font-size: clamp(2.7rem, 5vw, 4rem); }
.work-list { border-top: 1px solid var(--ink); }
.work-item { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.7fr) auto; align-items: start; gap: 2rem; padding: 1.55rem 0 1.7rem; border-bottom: 1px solid var(--rule); }
.work-item h3 { margin: 0; font-size: clamp(2rem, 3.2vw, 2.6rem); }
.work-item h3 a { text-decoration: none; }
.work-item h3 span { margin-left: .2rem; font: 400 1rem var(--sans); vertical-align: middle; }
.work-item > p { max-width: 60ch; margin: .25rem 0 0; color: var(--soft-ink); font-size: .98rem; line-height: 1.7; }
.row-action { align-self: center; white-space: nowrap; font-size: .82rem; font-weight: 600; }
.services-section { padding: clamp(4.5rem, 8vw, 7rem) 0; background: var(--paper-deep); }
.services-section h2 { max-width: 20ch; margin-bottom: 2.5rem; }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.service-list article { padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.service-list h3 { margin-bottom: .55rem; font-size: 1.8rem; }
.service-list p { max-width: 31ch; margin-bottom: 0; color: var(--soft-ink); font-size: .94rem; line-height: 1.7; }
.closing { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; padding-top: clamp(5rem, 9vw, 8rem); padding-bottom: clamp(5rem, 9vw, 8rem); }
.closing h2 { margin-bottom: .7rem; font-size: clamp(3rem, 6vw, 5rem); }
.closing p { max-width: 55ch; margin: 0; color: var(--soft-ink); }
.contact-link { padding-bottom: .35rem; border-bottom: 1px solid var(--ink); font-size: clamp(.95rem, 1.6vw, 1.2rem); font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-footer { padding: 3rem 0 1rem; background: var(--footer); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding-bottom: 2rem; }
.footer-name { margin-bottom: .3rem; font: 400 1.7rem/1.15 var(--serif); }
.footer-identity > p:last-child { color: var(--footer-soft); font-size: .86rem; }
.footer-heading { margin-bottom: .6rem; color: var(--gold-soft); font-size: .78rem; font-weight: 600; }
.footer-grid p { font-size: .86rem; }
.footer-grid a { text-decoration-color: var(--footer-soft); }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--footer-rule); color: var(--footer-soft); font-size: .76rem; }
.footer-bottom a { text-decoration: none; }
@media (max-width: 800px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .product-details { gap: 2rem; }
  .demo-layout { grid-template-columns: minmax(0, 1fr); }
  .demo-copy h2 { max-width: 18ch; }
  .hero-aside { display: none; }
  .work-item { grid-template-columns: minmax(150px, .65fr) minmax(0, 1.35fr); gap: 1.5rem; }
  .row-action { grid-column: 2; justify-self: start; }
  .service-list { gap: 1.5rem; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 2rem, var(--content-width)); }
  .header-inner { display: block; padding-top: 1rem; padding-bottom: .75rem; }
  .brand img { width: 39px; height: 42px; }
  .brand strong { font-size: 1.5rem; }
  .main-nav { justify-content: flex-start; flex-wrap: wrap; gap: .3rem 1.3rem; margin-top: 1rem; }
  .main-nav a { font-size: .8rem; }
  .hero { padding-top: 4rem; padding-bottom: 5rem; }
  .product-hero { padding-top: 3.5rem; padding-bottom: 3rem; }
  .product-hero h1 { font-size: clamp(3rem, 13vw, 4.3rem); }
  .product-content .product-intro { margin-bottom: 2.5rem; }
  .product-details { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; margin-top: 2rem; }
  .demo-section { padding: 3rem 0; }
  .product-note { margin-top: 2rem; padding: 1.1rem 1.2rem; }
  .hero h1 { max-width: 9ch; margin-bottom: 1.7rem; font-size: clamp(3.7rem, 15vw, 5.2rem); }
  .hero-main .hero-lede { font-size: 1.28rem; }
  .hero-actions { gap: 1rem 1.5rem; margin-top: 1.6rem; }
  .section-heading { align-items: start; }
  .section-heading h2, .services-section h2 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .work-item { grid-template-columns: minmax(0, 1fr); gap: .5rem; padding: 1.5rem 0; }
  .work-item h3 { font-size: 2.2rem; }
  .work-item > p { margin: 0; }
  .row-action { grid-column: auto; margin-top: .35rem; }
  .service-list { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .service-list h3 { margin-bottom: .25rem; }
  .closing { grid-template-columns: minmax(0, 1fr); gap: 1.7rem; padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .closing h2 { font-size: clamp(3rem, 12vw, 4.3rem); }
  .contact-link { white-space: normal; overflow-wrap: break-word; justify-self: start; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-bottom { padding-top: 1rem; }
}
@media (max-width: 380px) {
  .brand strong { font-size: 1.35rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-identity { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
