/* Shared styles for the independent multi-page CoreIoT site. */
@font-face { font-family: Finlandica; src: url('fonts/finlandica-400.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Finlandica; src: url('fonts/finlandica-500.ttf') format('truetype'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: Finlandica; src: url('fonts/finlandica-600.ttf') format('truetype'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: Finlandica; src: url('fonts/finlandica-700.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }
:root { --ink: #17211e; --action: #0b6b57; --line: #dce1de; --paper: #f7f8f5; --surface: #dcebe5; --accent: #f5b32b; }
[hidden] { display: none !important; }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.partner-card { padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.partner-card h3 { font-size: 28px; font-weight: 500; margin: 12px 0 20px; }
.partner-card p { font-size: 18px; line-height: 1.6; }
.office-map { margin-top: 24px; }
.map-toggle { border: 0; font: inherit; cursor: pointer; min-height: 48px; }
.map-frame { margin-top: 16px; }
.map-frame iframe { display: block; width: 100%; height: 320px; border: 1px solid var(--line); }
@media (max-width: 700px) {
    .partner-grid { grid-template-columns: 1fr; }
    .map-frame iframe { height: 280px; }
}
body { overflow-wrap: break-word; }
a { color: var(--action); text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
.site-header { gap: 24px; }
.site-logo { flex: 0 0 180px; }
#navigation { gap: 22px; }
#navigation a { font-size: 15px; }
#navigation a[aria-current="page"] { color: var(--action); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 14px 20px; background: white; z-index: 2000; }
.skip-link:focus { top: 12px; }
.primary-button { display: inline-block; font-weight: 500; line-height: 1.4; }
.text-link { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.technology-card h3 a { color: inherit; border: none; }
.page-hero { padding: 90px 6% 75px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(42px, 5.4vw, 80px); font-weight: 500; letter-spacing: -1.5px; line-height: 1.05; margin: 0; max-width: 1050px; }
.page-lead { max-width: 780px; color: #606a66; font-size: 22px; line-height: 1.6; margin: 28px 0 0; }
.split-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-photo { width: 100%; height: 390px; object-fit: cover; }
.content-section { padding: 75px 6%; }
.compact-section { padding-top: 45px; padding-bottom: 45px; }
.section-heading { max-width: 800px; margin-bottom: 40px; }
.section-heading h2, .feature-section h2, .page-cta h2, .newsletter-section h2 { font-size: clamp(34px, 3.5vw, 54px); line-height: 1.1; font-weight: 500; margin: 0 0 22px; letter-spacing: -1px; }
.section-heading p, .feature-section p, .page-cta p, .newsletter-section p { line-height: 1.65; font-size: 18px; }
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.editorial-card { padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.editorial-card h2, .editorial-card h3 { font-size: 28px; font-weight: 500; margin: 24px 0 18px; }
.editorial-card h3 a { border: 0; }
.editorial-card p { color: #606a66; line-height: 1.65; }
.card-number { color: var(--action); font-size: 13px; }
.feature-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 75px 6%; background: var(--surface); }
.feature-section > *, .two-column > *, .split-hero > *, .product-detail > * { min-width: 0; }
.feature-photo { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.team-feature { background: #fff; }
.story-preview, .office-grid, .two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.story-preview > div { border-top: 2px solid var(--action); padding-top: 20px; }
.story-preview h3 { font-size: 30px; font-weight: 500; }
.story-preview p { font-size: 18px; line-height: 1.6; }
.category-links, .application-tags, .resource-links { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-bottom: 35px; }
.category-links a { font-size: 17px; }
.application-tags span { padding: 8px 12px; background: var(--surface); font-size: 14px; }
.catalog-tools { display: grid; grid-template-columns: 2fr 1fr; gap: 25px; background: var(--surface); padding: 25px; }
.catalog-tools .form-field { margin: 0; }
#product-count { color: #606a66; margin: 20px 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.catalog-card { border: 1px solid var(--line); background: #fff; min-width: 0; }
.catalog-image { display: flex; height: 245px; padding: 25px; align-items: center; justify-content: center; background: #fff; }
.catalog-image img { width: 100%; height: 100%; object-fit: contain; }
.catalog-copy { padding: 26px; border-top: 1px solid var(--line); }
.catalog-copy h3 { font-size: 25px; font-weight: 500; margin: 0 0 15px; }
.catalog-copy h3 a { color: var(--ink); text-decoration: none; }
.catalog-copy > p:not(.eyebrow) { line-height: 1.6; color: #606a66; }
.breadcrumbs { padding: 30px 6% 0; display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.product-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 65px; padding: 45px 6% 80px; }
.product-detail h1 { font-size: clamp(36px, 3.5vw, 58px); line-height: 1.08; margin: 0 0 30px; font-weight: 500; }
.detail-image { background: #fff; padding: 35px; align-self: start; border: 1px solid var(--line); }
.detail-image img { width: 100%; height: 440px; object-fit: contain; }
.prose { line-height: 1.75; font-size: 18px; }
.prose h2 { font-size: 34px; line-height: 1.2; font-weight: 500; }
.prose h3 { font-size: 25px; font-weight: 500; }
.prose p { margin: 0 0 24px; }
.prose li { margin-bottom: 12px; }
.download-links { margin: 28px 0; display: flex; flex-wrap: wrap; gap: 15px; }
.download-link { display: inline-block; margin: 5px 18px 5px 0; }
.small-note { font-size: 14px !important; line-height: 1.6; color: #606a66; }
.product-detail .small-note { margin-top: 20px; }
.page-cta { background: var(--surface); padding: 65px 6%; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.page-cta > div { max-width: 760px; }
.page-cta .primary-button { flex-shrink: 0; }
.application-panel, .founder-card { padding: 35px; background: var(--surface); line-height: 1.7; }
.application-panel h2, .founder-card h2, .office-grid h2 { font-size: 32px; font-weight: 500; }
.stack-links { display: flex; align-items: flex-start; flex-direction: column; gap: 18px; }
.reference-logos { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; padding: 50px 6%; background: white; }
.reference-logos img { width: 145px; height: 65px; object-fit: contain; }
.article-body { max-width: 1050px; margin: auto; }
.article-photo { max-height: 500px; object-fit: contain; margin-bottom: 35px; }
blockquote { margin: 35px 0; padding: 30px; border-left: 4px solid var(--accent); background: var(--surface); }
blockquote p { font-size: 25px; }
blockquote cite { font-size: 16px; font-style: normal; }
.story-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.story-gallery img { width: 100%; height: 300px; object-fit: contain; background: white; }
.newsletter-section { padding: 70px 6%; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; background: var(--surface); }
.consent { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; align-items: flex-start; }
.consent input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; }
.office-grid { line-height: 1.8; }
.office-grid article { border-top: 2px solid var(--action); padding-top: 30px; }
.catalogue-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 35px; background: var(--surface); margin-bottom: 50px; }
.catalogue-banner h2 { font-weight: 500; }
.download-table { overflow-x: auto; }
.download-table table { width: 100%; border-collapse: collapse; text-align: left; }
.download-table caption { text-align: left; font-size: 24px; margin-bottom: 20px; }
.download-table th, .download-table td { padding: 20px 16px; border-bottom: 1px solid var(--line); }
.download-table tbody th { font-weight: 500; }
.expanded-footer { grid-template-columns: 1.2fr 1fr 1fr 1fr; font-size: 15px; gap: 40px; }
.footer-brand { width: 180px; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-links p { margin-top: 10px; }
.expanded-footer a { line-height: 1.7; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
/* Phone and tablet reading sizes; desktop typography stays unchanged. */
@media (max-width: 900px) {
    body { font-size: 17px; line-height: 1.6; }
    .eyebrow, .light-eyebrow, .small-heading, .customer-heading,
    .product-category, .event-type, .event-status, .event-details span,
    .technology-number, .tech-row span, .metric > span, .location > span,
    .card-number { font-size: 14px; line-height: 1.5; letter-spacing: 1px; }
    .form-field label, .consent, .breadcrumbs, .expanded-footer,
    .application-tags span { font-size: 16px; }
    .small-note { font-size: 16px !important; }
    .form-field input, .form-field select, .form-submit { font-size: 17px; min-height: 48px; }
    .form-field textarea { font-size: 17px; line-height: 1.6; }
    .menu-button { min-width: 48px; min-height: 48px; padding: 4px 10px; line-height: 1; }
    .primary-button, .secondary-link, .product-actions a, .event-link,
    .view-all a, .text-link, .download-link, .expanded-footer a,
    .office-grid a, .founder-card a {
        display: inline-flex; align-items: center; min-height: 44px;
        padding-top: 8px; padding-bottom: 8px; max-width: 100%;
    }
    .primary-button, .form-submit { min-height: 48px; }
    .technology-card p, .metric p, .solution-row p, .tech-row { line-height: 1.6; }
    .consent { padding: 8px 0; }
    .consent input { flex-basis: 24px; width: 24px; height: 24px; }
}
@media (max-width: 1100px) {
    #navigation { gap: 15px; }
    .catalog-grid, .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .expanded-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-detail { gap: 35px; }
}
@media (max-width: 900px) {
    .page-hero, .content-section, .feature-section, .newsletter-section, .page-cta { padding: 55px 20px; }
    .split-hero, .feature-section, .two-column, .product-detail, .newsletter-section { grid-template-columns: 1fr; gap: 35px; }
    .product-detail { padding: 35px 20px 55px; }
    .hero-photo { height: auto; max-height: 420px; }
    .breadcrumbs { padding-left: 20px; padding-right: 20px; }
    .detail-image img { height: 330px; }
    .page-cta, .catalogue-banner { flex-direction: column; align-items: flex-start; }
    .page-lead { font-size: 20px; }
    #navigation a { font-size: 16px; }
}
@media (max-width: 600px) {
    .catalog-grid, .editorial-grid, .catalog-tools, .story-preview, .office-grid, .expanded-footer, .story-gallery { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 40px; }
    .page-hero { padding-top: 50px; }
    .catalog-image { height: 240px; }
    .story-preview, .office-grid { gap: 35px; }
    .founder-card, .application-panel, .editorial-card { padding: 25px; }
    .catalogue-banner { padding: 25px; }
    .download-table th, .download-table td { padding: 15px 8px; font-size: 16px; line-height: 1.6; }
    .download-table th { width: 44%; }
    .reference-logos { gap: 25px; }
    .reference-logos img { width: 110px; }
    .expanded-footer { padding: 45px 20px; }
}

.partner-powered { color: var(--action); font-weight: 600; }
.partner-visual { width: 100%; height: 280px; object-fit: contain; background: white; margin-bottom: 24px; }

/* Consistent product photography with no contrasting white image tiles. */
.product-image { background: #fff; border: 1px solid var(--line); padding: 24px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-image img[src$="cellular-flex.jpg"],
.product-image img[src$="uwb.jpg"] { object-fit: cover; object-position: center 54%; }
@media (max-width: 600px) {
    .product-image { height: 260px; padding: 16px; }
}

.lds-image { width: 100%; height: auto; object-fit: contain; }
.lds-section { align-items: center; }

/* Unnumbered categories and solutions are choices, not ordered steps. */
.solution-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
.technology-top { justify-content: flex-end; }
.editorial-card > h3:first-child { margin-top: 0; }
.metric h3 { margin-top: 0; }

/* Origin statement applies to CoreIoT antennas. */
.origin-band { padding: 32px 6% 38px; background: #084f41; color: #fff; }
.origin-band h2 { margin: 0 0 14px; font-size: 16px; line-height: 1.5; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.origin-statements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.origin-statements p { margin: 0; font-size: clamp(28px, 3.2vw, 48px); line-height: 1.18; }
.origin-statements strong { display: block; color: var(--accent); font-weight: 500; }
.footer-origin strong { color: #fff; }
@media (max-width: 700px) {
    .origin-band { padding: 28px 20px; }
    .origin-statements { grid-template-columns: 1fr; gap: 20px; }
    .origin-statements p { font-size: 32px; }
}

.radiation-figure { margin: 0; min-width: 0; }
.radiation-image { width: 100%; height: auto; max-height: 420px; object-fit: contain; background: #fff; }
.radiation-figure figcaption { margin-top: 14px; font-size: 16px; line-height: 1.5; color: #606a66; }

.performance-icon { display: block; width: 40px; height: 40px; color: var(--action); margin-bottom: 20px; }
.performance-metrics .metric { min-height: 0; padding: 28px; }
