/* Obihub Solutions: a restrained, type-led design with no framework dependencies. */
:root {
  color-scheme: light;
  --page: #faf9f6;
  --paper: #ffffff;
  --ink: #242424;
  --muted: #57534f;
  --subtle: #766f69;
  --rule: #e0dbd4;
  --deep: #292624;
  --deep-rule: #5b514c;
  --accent: #a74726;
  --gutter: clamp(1.35rem, 5.3vw, 6.25rem);
  --content-width: 1420px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--page); color: var(--ink); }
a { color: inherit; }
button { font: inherit; }
::selection { color: #fff; background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.shell { max-width: var(--content-width); padding-inline: var(--gutter); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; top: -100px; left: 1rem; padding: .8rem 1rem; color: #fff; background: var(--ink); }
.skip-link:focus { top: 1rem; }
[id] { scroll-margin-top: 6rem; }

/* Header */
.site-header { position: relative; z-index: 20; background: var(--page); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { font-weight: 760; font-size: 1.95rem; letter-spacing: -.085em; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand-period { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3.5rem); }
.site-nav a { font-size: .91rem; font-weight: 540; text-decoration: none; transition: color 160ms ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent); }
.site-nav .nav-contact { display: flex; align-items: center; gap: 1.3rem; border-bottom: 1px solid currentColor; padding-bottom: .4rem; }
.site-nav .nav-contact span { font-size: 1.05rem; }
.menu-toggle { display: none; }

/* Typography */
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 550; }
h1 em, h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.eyebrow, .hero-kicker, .item-index, .product-meta, .product-category, .location-line, .release-status {
  font-size: .76rem; font-weight: 640; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow { margin: 0; color: var(--muted); }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: .8rem; border-radius: 50%; background: var(--accent); vertical-align: .06em; }
.kicker-divider { margin-inline: .7rem; color: #b4a8a1; }
.text-link { display: inline-flex; width: fit-content; gap: 3.2rem; align-items: center; font-weight: 630; font-size: .97rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .75rem; transition: gap 180ms ease, color 180ms ease; }
.text-link:hover { gap: 3.65rem; color: var(--accent); }
.text-link span { font-weight: 400; }

/* Home introduction */
.home-hero { padding-top: clamp(5.25rem, 8.5vw, 9.5rem); background: var(--page); }
.hero-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 0; color: var(--muted); }
.home-hero h1 { font-size: clamp(4.1rem, 9.05vw, 9.7rem); line-height: 1.005; font-weight: 560; letter-spacing: -.079em; margin: clamp(2.4rem, 5vw, 5rem) 0 3.5rem; }
.home-hero h1 em { font-size: .91em; letter-spacing: -.07em; white-space: nowrap; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; padding-bottom: clamp(4.4rem, 8vw, 8rem); }
.hero-bottom p { max-width: 600px; margin: 0; font-size: clamp(1.2rem, 1.75vw, 1.7rem); font-weight: 400; line-height: 1.52; letter-spacing: -.022em; color: var(--muted); }
.hero-endnote { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid var(--rule); padding-block: 1.3rem; }
.hero-endnote span { color: var(--subtle); font-size: .78rem; font-weight: 530; letter-spacing: .025em; }

/* Sections */
.section { padding-block: clamp(5.5rem, 10vw, 10rem); }
.practice-section { background: var(--paper); }
.section-lead { display: grid; grid-template-columns: minmax(200px, 29%) minmax(0, 1fr); gap: 2rem; align-items: start; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-lead h2, .editorial-layout h2, .note-grid h2 { font-size: clamp(3rem, 5.65vw, 6rem); line-height: 1.07; letter-spacing: -.065em; margin-bottom: 2rem; }
.section-intro { max-width: 615px; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.4rem); line-height: 1.63; letter-spacing: -.015em; margin: 0; }
.service-item { display: grid; grid-template-columns: minmax(200px, 29%) minmax(220px, 28%) minmax(0, 1fr); align-items: start; gap: 2rem; padding-block: clamp(1.7rem, 3vw, 2.8rem); border-top: 1px solid var(--rule); }
.service-item:last-child { border-bottom: 1px solid var(--rule); }
.item-index { color: var(--subtle); padding-top: .35rem; }
.service-item h3 { margin: 0; font-size: clamp(1.6rem, 2.3vw, 2.3rem); font-weight: 520; letter-spacing: -.045em; }
.service-item p { max-width: 470px; font-size: 1.03rem; line-height: 1.7; color: var(--muted); margin: .25rem 0 0; }

/* Product: a single dark editorial feature, not a card grid */
.product-section { background: var(--page); }
.section-lead--product { margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.product-feature { background: var(--deep); padding: clamp(2rem, 4.4vw, 5rem); color: #fbf7f2; }
.product-meta { display: flex; justify-content: space-between; gap: 1rem; color: #d1c3ba; padding-bottom: clamp(3.5rem, 7vw, 7rem); border-bottom: 1px solid var(--deep-rule); }
.product-feature-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; padding-top: clamp(2.2rem, 4vw, 4.5rem); }
.product-category { color: #d4c6bb; margin-bottom: 1.3rem; }
.product-feature h3 { margin: 0; font-size: clamp(3.7rem, 7.5vw, 8rem); line-height: 1; letter-spacing: -.083em; white-space: nowrap; }
.product-feature .brand-period { color: #e6a07a; }
.product-feature-copy { max-width: 400px; justify-self: end; }
.product-feature-copy p { color: #eee1d8; font-size: clamp(1.15rem, 1.6vw, 1.47rem); line-height: 1.6; margin-bottom: 2rem; letter-spacing: -.015em; }
.text-link--light:hover { color: #edb495; }

/* About and contact */
.about-section { border-top: 1px solid var(--rule); }
.about-layout { display: grid; grid-template-columns: minmax(200px, 29%) minmax(0, 1fr); gap: 2rem; }
.about-layout h2 { font-size: clamp(3rem, 5.75vw, 6.1rem); line-height: 1.14; letter-spacing: -.066em; margin-bottom: 3.8rem; }
.about-layout h2 em { letter-spacing: -.045em; }
.about-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 5.5rem); max-width: 830px; }
.about-copy p { font-size: 1.09rem; line-height: 1.76; color: var(--muted); margin: 0; }
.location-line { display: flex; align-items: center; margin: 4.5rem 0 0; color: var(--muted); }
.location-mark { display: inline-block; width: 13px; height: 13px; margin-right: .85rem; border: 1px solid var(--accent); border-radius: 50%; position: relative; }
.location-mark::after { content: ""; position: absolute; left: 4px; top: 4px; width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.contact-section { background: #f0e5dc; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: clamp(3rem, 8vw, 9rem); align-items: end; }
.contact-layout h2 { margin: 2rem 0 0; font-size: clamp(3rem, 5.7vw, 6.1rem); line-height: 1.09; letter-spacing: -.066em; }
.contact-copy { padding-bottom: .4rem; }
.contact-copy p { color: #554942; line-height: 1.7; font-size: 1.13rem; margin: 0 0 2rem; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; width: fit-content; min-width: min(100%, 305px); padding-bottom: 1rem; border-bottom: 1px solid currentColor; font-size: clamp(1.07rem, 1.7vw, 1.4rem); font-weight: 560; text-decoration: none; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--accent); }

/* Foot */
.site-footer { background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: 1fr 1.5fr auto; align-items: center; gap: 2rem; min-height: 142px; }
.brand--footer { font-size: 1.62rem; }
.site-footer p { font-size: .82rem; color: var(--muted); margin: 0; }
.site-footer nav { display: flex; align-items: center; gap: 1.7rem; }
.site-footer nav a { font-size: .85rem; text-decoration: none; color: var(--muted); }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Product detail */
.interior-hero { background: var(--page); padding-block: clamp(4.8rem, 8.8vw, 9rem) clamp(5.5rem, 9vw, 9rem); }
.interior-hero .eyebrow { margin-bottom: clamp(3.25rem, 6vw, 6rem); }
.interior-hero .eyebrow a { text-decoration: none; }
.interior-hero .eyebrow a:hover { text-decoration: underline; }
.interior-hero .eyebrow span { margin-inline: .65rem; color: #aea39b; }
.interior-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2.5rem, 5vw, 6rem); align-items: end; }
.interior-hero h1 { font-size: clamp(3.7rem, 7.6vw, 8.3rem); line-height: 1.02; letter-spacing: -.078em; margin-bottom: 0; }
.interior-hero h1 em { letter-spacing: -.05em; white-space: nowrap; }
.interior-intro { padding-bottom: .3rem; }
.interior-intro > p:first-child { color: var(--muted); font-size: clamp(1.13rem, 1.5vw, 1.4rem); line-height: 1.68; margin: 0; }
.small-rule { display: block; width: 100%; height: 1px; background: var(--rule); margin-block: 2.3rem; }
.release-status { color: var(--accent); margin: 0; line-height: 1.4; }
.product-description { background: var(--paper); }
.editorial-layout, .note-grid { display: grid; grid-template-columns: minmax(200px, 29%) minmax(0, 1fr); gap: 2rem; }
.product-description .section-intro { margin-bottom: clamp(3rem, 7vw, 6rem); }
.detail-list > div { display: grid; grid-template-columns: minmax(180px, .75fr) minmax(0, 1fr); gap: 2rem; border-top: 1px solid var(--rule); padding-block: 1.7rem; }
.detail-list > div:last-child { border-bottom: 1px solid var(--rule); }
.detail-list h3 { font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 540; margin: 0; letter-spacing: -.035em; }
.detail-list p { color: var(--muted); font-size: 1.03rem; line-height: 1.68; margin: 0; max-width: 410px; }
.product-note-section { background: var(--page); border-top: 1px solid var(--rule); }
.note-grid h2 { max-width: 800px; }
.note-grid p:last-child { max-width: 700px; font-size: 1.13rem; line-height: 1.8; color: var(--muted); }

/* Platform availability: text-first status rows, no decorative cards. */
.platforms-section { background: var(--page); border-top: 1px solid var(--rule); }
.platforms-section .section-intro { margin-bottom: clamp(2.5rem, 5.5vw, 5rem); }
.platform-list { border-top: 1px solid var(--rule); }
.platform-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .8fr);
  gap: 2rem;
  align-items: start;
  border-bottom: 1px solid var(--rule);
  padding-block: 1.5rem;
}
.platform-row > span:first-child { font-size: clamp(1.1rem, 1.6vw, 1.38rem); font-weight: 560; letter-spacing: -.025em; }
.platform-row small { font-size: .8em; font-weight: 400; color: var(--muted); }
.platform-row > span:last-child { color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 760px) {
  .platform-row { grid-template-columns: 1fr; gap: .4rem; }
}

/* Legal and not-found pages */
.legal-hero { padding-block: clamp(5rem, 8vw, 8rem) 3rem; }
.legal-hero h1 { font-size: clamp(3.5rem, 7vw, 7rem); line-height: 1.04; letter-spacing: -.065em; margin: 2rem 0 1.6rem; }
.legal-hero p:last-child { color: var(--muted); font-size: 1.1rem; line-height: 1.65; max-width: 720px; }
.legal-content { padding-bottom: clamp(5rem, 9vw, 9rem); }
.legal-content-inner { max-width: 810px; margin-left: 29%; padding-left: 2rem; }
.legal-content h2 { font-size: 1.55rem; font-weight: 560; letter-spacing: -.035em; margin: 2.9rem 0 1rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 1.035rem; line-height: 1.85; margin-bottom: 1.1rem; }
.legal-content a { text-underline-offset: 3px; }
.not-found { min-height: 65vh; display: flex; align-items: center; padding-block: 5rem; }
.not-found h1 { font-size: clamp(3.5rem, 8vw, 8rem); line-height: 1.05; letter-spacing: -.07em; margin: 1.8rem 0; }
.not-found p:not(.eyebrow) { font-size: 1.2rem; color: var(--muted); margin-bottom: 2.5rem; }

/* Responsive adjustments */
@media (max-width: 1080px) {
  .section-lead, .about-layout, .editorial-layout, .note-grid { grid-template-columns: 24% minmax(0, 1fr); }
  .service-item { grid-template-columns: 24% minmax(180px, 30%) minmax(0, 1fr); }
  .legal-content-inner { margin-left: 24%; }
  .product-feature-body { grid-template-columns: 1.1fr .9fr; }
  .contact-layout { gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr auto; row-gap: .8rem; padding-block: 2.4rem; }
  .footer-inner p { grid-column: 1; grid-row: 2; }
  .footer-inner nav { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 75px; }
  .brand { font-size: 1.78rem; }
  .menu-toggle { display: flex; align-items: center; gap: .85rem; border: 0; padding: .7rem 0 .7rem .7rem; color: var(--ink); background: transparent; font-size: .9rem; cursor: pointer; }
  .menu-bars { display: flex; width: 20px; flex-direction: column; gap: 5px; }
  .menu-bars span { width: 100%; height: 1px; background: currentColor; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--page); padding: 1rem var(--gutter) 1.6rem; border-bottom: 1px solid var(--rule); box-shadow: 0 16px 20px rgba(36,36,36,.06); }
  .site-nav[data-open="true"] { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: .95rem 0; font-size: 1.09rem; border-bottom: 1px solid var(--rule); }
  .site-nav .nav-contact { padding: .95rem 0; justify-content: space-between; }
  .home-hero { padding-top: 5rem; }
  .hero-kicker { font-size: .68rem; line-height: 1.7; }
  .home-hero h1 { font-size: clamp(3.3rem, 10.5vw, 5.9rem); margin: 3rem 0; letter-spacing: -.072em; }
  .home-hero h1 em { white-space: normal; }
  .hero-bottom { grid-template-columns: 1fr; gap: 2rem; }
  .hero-bottom p { max-width: 590px; }
  .hero-endnote { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
  .section-lead, .about-layout, .editorial-layout, .note-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .section-lead { margin-bottom: 3rem; }
  .service-item { grid-template-columns: 50px minmax(0, 1fr); gap: 1.2rem; }
  .service-item p { grid-column: 2; margin-top: -.2rem; }
  .product-feature-body { grid-template-columns: 1fr; gap: 2.8rem; }
  .product-feature h3 { font-size: clamp(3.4rem, 12vw, 6rem); }
  .product-feature-copy { justify-self: start; }
  .product-meta { padding-bottom: 3.6rem; }
  .about-copy { grid-template-columns: 1fr; gap: 1.25rem; }
  .about-layout h2 { margin-bottom: 2rem; }
  .location-line { margin-top: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout h2 { margin-top: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner p, .footer-inner nav { grid-column: 1; grid-row: auto; }
  .footer-inner nav { margin-top: .7rem; flex-wrap: wrap; }
  .interior-hero-grid { grid-template-columns: 1fr; }
  .interior-hero h1 em { white-space: normal; }
  .interior-hero .eyebrow { margin-bottom: 3rem; }
  .legal-content-inner { padding-left: 0; margin-left: 0; }
}
@media (max-width: 420px) {
  .hero-kicker { font-size: .64rem; }
  .kicker-divider { margin-inline: .45rem; }
  .home-hero h1 { font-size: clamp(3rem, 12vw, 4.1rem); }
  .section-lead h2, .editorial-layout h2, .note-grid h2, .about-layout h2, .contact-layout h2 { font-size: 2.8rem; }
  .product-meta { font-size: .64rem; }
  .product-feature h3 { font-size: 3.2rem; }
  .detail-list > div { grid-template-columns: 1fr; gap: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}