/* =====================================================================
   Intelligent Condition Monitoring for Energy and Power Systems — site styles
   Hestia-style look: red gradient banners, a raised white content
   card, Roboto Slab headings, soft card shadows.
   To restyle, change the variables in :root first.
   ===================================================================== */

:root {
  --brand: #b5121b;          /* Lancaster red */
  --brand-dark: #8f0e15;
  --brand-2: #f72e06;        /* gradient end */
  --ink: #3c4858;            /* headings */
  --text: #555;              /* body */
  --muted: #999;
  --line: #e5e5e5;
  --bg: #e5e5e5;             /* page behind the raised card */
  --surface: #fff;
  --tint: #f7f7f7;
  --footer: #323437;
  --radius: 6px;
  --shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
  --shadow-lg: 0 16px 38px -12px rgba(0,0,0,.56), 0 4px 25px 0 rgba(0,0,0,.12), 0 8px 10px -5px rgba(0,0,0,.2);
  --shadow-brand: 0 2px 2px 0 rgba(181,18,27,.14), 0 3px 1px -2px rgba(181,18,27,.2), 0 1px 5px 0 rgba(181,18,27,.12);
  --head: "Roboto Slab", Georgia, serif;
  --body: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); font-weight: 300; font-size: 16px;
  line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.25; margin: 1.2em 0 .5em; }
h1, h2, h3, .title { font-family: var(--head); font-weight: 700; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; font-weight: 500; }
h5 { font-size: 1.05rem; font-weight: 400; }
h6 { font-size: .75rem; text-transform: uppercase; font-weight: 500; letter-spacing: .02em; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.text-center { text-align: center; }
.mt-xl { margin-top: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--brand); color: #fff !important;
  font-family: var(--body); font-size: 12px; font-weight: 400; text-transform: uppercase;
  letter-spacing: .03em; padding: 12px 30px; border-radius: 3px; border: 0;
  box-shadow: var(--shadow-brand); transition: box-shadow .2s, background .2s; cursor: pointer;
  margin: 4px 6px 4px 0;
}
.btn:hover { background: var(--brand-dark); box-shadow: 0 14px 26px -12px rgba(181,18,27,.42), 0 4px 23px 0 rgba(0,0,0,.12), 0 8px 10px -5px rgba(181,18,27,.2); }
.btn-lg { padding: 16px 42px; font-size: 14px; }
.btn-sm { padding: 8px 18px; font-size: 11px; }
.btn-ghost { background: transparent; color: var(--brand) !important; box-shadow: inset 0 0 0 1px var(--brand); }
.btn-ghost:hover { background: rgba(181,18,27,.06); box-shadow: inset 0 0 0 1px var(--brand); }
.btn-row { margin: 0 0 1.5rem; }
.btn-row:empty { display: none; }

/* ---------- Top bar & navbar ---------- */
.topbar { background: #1f1f1f; color: #ccc; font-size: 13px; }
.topbar a { color: #eee; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }

.navbar {
  position: sticky; top: 0; z-index: 50; background: #fff;
  box-shadow: 0 4px 18px 0 rgba(0,0,0,.12), 0 7px 10px -5px rgba(0,0,0,.15);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text { max-width: 360px; }
.brand-title { font-family: var(--head); font-weight: 700; font-size: 16px; line-height: 1.25; }
.brand-tagline { font-size: 12px; color: var(--muted); }

.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav-menu > li { position: relative; }
.nav-link {
  display: block; padding: 24px 14px; color: #555; font: 500 12px/1 var(--body);
  text-transform: uppercase; background: none; border: 0; cursor: pointer; letter-spacing: .02em;
}
.nav-link:hover, .nav-link.active, .has-dropdown.open > .nav-link { color: var(--brand); }
.caret { display: inline-block; width: 0; height: 0; margin-left: 4px; vertical-align: middle;
  border-top: 4px solid; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.dropdown {
  list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%; min-width: 230px;
  background: #fff; border-radius: 3px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s;
}
.has-dropdown:hover > .dropdown, .has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 20px; color: #333; font-size: 13px; font-weight: 400; }
.dropdown a:hover { background: var(--brand); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #555; margin: 4px 0; border-radius: 1px; }

/* ---------- Hero / page header ---------- */
.header-filter {
  position: relative; background-size: cover; background-position: center bottom; color: #fff;
}
.header-filter::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(45deg, rgba(181,18,27,.80) 0%, rgba(247,46,6,.45) 100%);
}
.header-filter > .container { position: relative; z-index: 1; }
.hero { min-height: 78vh; display: flex; align-items: center; padding: 80px 0 150px; }
.hero-inner { text-align: center; max-width: 900px; }
.hero-title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0 0 .35em; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.hero-subtitle { font-family: var(--head); font-size: clamp(1.2rem, 2.3vw, 1.65rem); font-weight: 400; margin: 0 auto .9em; opacity: .9; }
.hero-text { font-size: 1.02rem; font-weight: 300; max-width: 720px; margin: 0 auto 2em; opacity: .78; }
.hero .btn { background: #fff; color: var(--brand) !important; }
.hero .btn:hover { background: #f5f5f5; }
.page-header { padding: 90px 0 140px; text-align: center; }
.page-title { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.page-subtitle { margin: .6em auto 0; max-width: 700px; font-size: 1.1rem; opacity: .95; }

/* ---------- Raised main card ---------- */
.main { background: var(--surface); position: relative; z-index: 3; }
.main-raised {
  margin: -90px 30px 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.content { padding: 60px 16px 70px; max-width: 900px; }
.content-wide { max-width: 1170px; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-tint { background: var(--tint); }
.section-title { margin: 0 0 .3em; font-size: 2rem; }
.section-subtitle { color: var(--muted); margin: 0 0 2.5rem; }
.lead { font-size: 1.15rem; line-height: 1.7; }
blockquote {
  margin: 1.8em 0; padding: 12px 24px; border-left: 4px solid var(--brand);
  font-size: 1.15rem; font-style: italic; color: var(--ink); background: #fff;
}
.section-tint blockquote { background: #fff; }
.checklist { list-style: none; padding: 0; margin: 0 0 2em; }
.checklist li { position: relative; padding: 6px 0 6px 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}

/* ---------- Features & cards ---------- */
.icon-circle {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 50%; background: rgba(181,18,27,.08); color: var(--brand); flex: none;
}
.icon-lg { width: 72px; height: 72px; }
.icon-lg .icon { width: 32px; height: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature { display: block; padding: 20px; color: var(--text); border-radius: var(--radius); transition: background .2s; }
.feature:hover { background: var(--tint); color: var(--text); }
.feature h4 { margin: .8em 0 .4em; font-family: var(--head); font-weight: 700; color: var(--ink); }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: left; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.one { grid-template-columns: 1fr; }
.content .card-grid.three-up { grid-template-columns: repeat(3, 1fr); margin: 2rem 0; }
.three-up .card-project img { aspect-ratio: 4/3; object-fit: contain; padding: 10px; background: #fff; border-bottom: 1px solid var(--line); }
.card-theme { display: block; padding: 28px; color: var(--text); transition: transform .2s, box-shadow .2s; }
.card-theme:hover, .card-project:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.card-icon { color: var(--brand); margin-bottom: 10px; }
.card-icon .icon { width: 34px; height: 34px; }
.card-category { color: var(--brand); margin: 0 0 .3em; }
.card-title { font-family: var(--head); font-weight: 700; margin: 0 0 .5em; color: var(--ink); }
.card-description { color: var(--muted); font-size: .95rem; margin-bottom: .8em; }
.card-project { display: block; color: var(--text); transition: transform .2s, box-shadow .2s; }
.card-project img, .card-placeholder { width: 100%; aspect-ratio: 16/7; object-fit: cover; object-position: left center; background: var(--tint); }
.card-placeholder { display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(45deg, var(--brand), var(--brand-2)); }
.card-placeholder .icon { width: 64px; height: 64px; }
.card-body { padding: 22px 24px 18px; }

.spotlight { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; }
.spotlight-img img { width: 100%; }
.spotlight .title { margin-top: 0; font-size: 2rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.two-col .title { margin-top: 0; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; text-transform: uppercase; }
.link-more .icon { width: 16px; height: 16px; }

/* ---------- News ---------- */
.news-list { list-style: none; padding: 0; margin: 0 0 1em; }
.news-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-list time { font-size: 12px; text-transform: uppercase; color: var(--brand); font-weight: 500; }
.news-list h5, .news-list h4 { margin: .25em 0 .3em; }
.news-list h5 a { color: var(--ink); }
.news-list h5 a:hover { color: var(--brand); }
.news-list.full li { padding: 22px 0; }

/* ---------- Publications ---------- */
.pill-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1rem; }
.pill-nav a { padding: 6px 16px; border-radius: 30px; background: var(--tint); font-size: 13px; font-weight: 500; color: var(--ink); }
.pill-nav a span { color: var(--brand); margin-left: 4px; }
.pill-nav a:hover { background: var(--brand); color: #fff; }
.pill-nav a:hover span { color: #fff; }
.pub-group { border-bottom: 2px solid var(--brand); padding-bottom: .3em; margin-top: 2em; }
.pub-year { color: var(--brand); font-size: 1.2rem; margin: 1.4em 0 .4em; }
.pub-list { padding-left: 1.4em; margin: 0 0 1em; }
ul.pub-list { list-style: none; padding-left: 0; }
.pub { padding: 10px 0 14px; }
.pub + .pub { border-top: 1px solid #f0f0f0; }
.pub-title { font-weight: 500; color: var(--ink); }
.pub-title a { color: var(--ink); }
.pub-title a:hover { color: var(--brand); }
.pub-authors { font-size: .95rem; margin: 2px 0; }
.pub-authors strong { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(181,18,27,.5); text-underline-offset: 3px; }
.pub-venue { font-size: .9rem; color: var(--muted); }
.pub-doi { font-size: .85rem; overflow-wrap: anywhere; }
.pub-list.compact .pub-venue .pub-doi { display: none; }
.tag { display: inline-block; font-size: 11px; font-weight: 500; text-transform: uppercase; padding: 2px 8px; border-radius: 3px; background: #fff3e0; color: #b45309; vertical-align: 2px; }

/* ---------- People ---------- */
.people-group { text-align: center; margin: 1.5em 0 1em; }
.people-group:first-child { margin-top: 0; }
.people-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-bottom: 2rem; }
.people-grid > .card { flex: 0 1 340px; }
.card-profile { text-align: center; padding-top: 30px; }
.card-avatar { width: 220px; height: 276px; margin: 0 auto; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.card-avatar img { width: 100%; height: 100%; object-fit: contain; }
.initials { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #fff;
  font: 700 48px var(--head); background: linear-gradient(45deg, var(--brand), var(--brand-2)); }
.card-profile .card-description { text-align: left; }
.card-links { margin-top: .5em; }

.callout { margin-top: 2rem; padding: 24px 28px; background: var(--tint); border-radius: var(--radius); border-left: 4px solid var(--brand); }
.callout h4 { margin-top: 0; font-family: var(--head); font-weight: 700; }

/* ---------- Research page ---------- */
.theme-block { display: grid; grid-template-columns: 72px 1fr; gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.theme-block h2 { margin: 0 0 .4em; font-size: 1.6rem; }
.figure { margin: 2rem 0; }
.figure img { width: 100%; background: #fff; }
.figure figcaption { padding: 14px 20px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
.step-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 1.5rem 0; }
.step { position: relative; padding: 22px 22px 14px 70px; background: var(--tint); border-radius: var(--radius); }
.step h4 { margin: 0 0 .4em; font-family: var(--head); font-weight: 700; }
.step p { font-size: .95rem; }
.step-n { position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font: 700 15px/34px var(--head); text-align: center; }

/* ---------- Result figures ---------- */
.figure-card { margin: 0; display: flex; flex-direction: column; }
.figure-card img { width: 100%; padding: 16px 16px 0; background: #fff; }
.figure-card figcaption { padding: 12px 18px 16px; font-size: .9rem; color: var(--muted); margin-top: auto; }
.figure-card figcaption strong { color: var(--ink); font-weight: 500; }
.content .card-grid.two { margin: 1.5rem 0 2rem; }
.spotlight-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; color: var(--text); margin-top: 1.5rem; transition: transform .2s, box-shadow .2s; }
.spotlight-card img { padding: 16px; }
.spotlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
@media (max-width: 640px) { .spotlight-card { grid-template-columns: 1fr; } }

/* ---------- Metrics ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; margin: 1.5rem 0 2rem; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--brand); text-align: left; }
.stat-value { font: 700 2rem/1.1 var(--head); color: var(--brand); font-variant-numeric: tabular-nums; }
.stat-label { font-size: .92rem; color: var(--text); line-height: 1.4; }
.stat-label small { color: var(--muted); font-size: .8rem; }
.section-dark { background: linear-gradient(45deg, #7d0c12, var(--brand)); }
.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,.8); }
.table-wrap { overflow-x: auto; margin: 1.2rem 0; }
.metrics { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.metrics caption { caption-side: top; text-align: left; font-weight: 500; color: var(--ink); padding-bottom: 8px; }
.metrics th, .metrics td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.metrics th:first-child, .metrics td:first-child { text-align: left; }
.metrics.two-label td:nth-child(2) { text-align: left; }
.metrics thead th { background: var(--tint); color: var(--ink); font-weight: 500; text-align: center; }
.metrics tr.best td { color: var(--brand); font-weight: 500; background: rgba(181,18,27,.04); }
.metrics td[rowspan] { vertical-align: middle; }
.table-note, .table-src, .demo-note { font-size: .88rem; color: var(--muted); }
.demo-note { margin: .4rem 0 0; }
.content h3 { margin-top: 1.8em; }

.stat-secondary .stat { box-shadow: none; background: rgba(255,255,255,.92); border-top-width: 2px; }
.stat-secondary .stat-value { font-size: 1.5rem; }
.band-note { color: rgba(255,255,255,.85); font-size: .85rem; max-width: 820px; margin: -0.8rem auto 2rem; }
.band-note a { color: #fff; text-decoration: underline; }

/* ---------- Autonomy loop ---------- */
.loop { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 1.5rem 0 2rem; counter-reset: s; }
.loop-step { position: relative; padding: 16px 12px 12px; background: var(--tint); border-radius: var(--radius); border-top: 3px solid var(--brand); }
.loop-step span { display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 13px/26px var(--head); text-align: center; }
.loop-step h5 { margin: .5em 0 .3em; font-family: var(--head); font-weight: 700; color: var(--ink); }
.loop-step p { font-size: .82rem; line-height: 1.45; margin: 0; }
.loop-step:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; border: 6px solid transparent; border-left-color: var(--brand); z-index: 1; }
@media (max-width: 900px) { .loop { grid-template-columns: repeat(3, 1fr); } .loop-step::after { display: none; } }
@media (max-width: 520px) { .loop { grid-template-columns: 1fr 1fr; } }

/* ---------- Key results by project ---------- */
.kr-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px 26px 20px; margin-top: 24px; text-align: left; }
.kr-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.kr-head h6 { margin: 0 0 2px; color: var(--brand); }
.kr-head h3 { margin: 0; font-size: 1.4rem; }
.kr-head .link-more { margin-left: auto; white-space: nowrap; }
.kr-stats { display: grid; gap: 18px; }
.kr-stats.four { grid-template-columns: repeat(4, 1fr); }
.kr-stats.three { grid-template-columns: repeat(3, 1fr); }
.kr-stat { display: flex; flex-direction: column; gap: 4px; padding-left: 12px; border-left: 3px solid var(--brand); }
.kr-stat .stat-value { font-size: 1.9rem; }
.kr-wide .kr-stat .stat-value { font-size: 2.3rem; }
.kr-note { font-size: .82rem; color: var(--muted); margin: 16px 0 0; }
.kr-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 991px) { .kr-pair { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .kr-stats.four, .kr-stats.three { grid-template-columns: 1fr 1fr; }
  .kr-head { flex-wrap: wrap; }
  .kr-head .link-more { margin-left: 0; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 2rem 0; }
.contact-card { padding: 26px; }
.contact-card h4 { font-family: var(--head); font-weight: 700; margin: .8em 0 .4em; }
.map { margin-top: 2rem; }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- Get in touch & footer ---------- */
.get-in-touch { padding: 70px 0 50px; text-align: center; }
.touch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 2rem; }
.touch-item h4 { font-family: var(--head); font-weight: 700; margin: .9em 0 .4em; }
.touch-item p { color: var(--muted); }
.footer { background: var(--footer); color: #bbb; font-size: 14px; padding: 26px 0; }
.footer a { color: #fff; }
.footer a:hover { color: #ffb3b3; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-uni { font-family: var(--head); font-weight: 700; }
.sep { margin: 0 8px; color: #777; }

.icon { display: inline-block; vertical-align: middle; }

/* ---------- Content typography (Markdown pages) ---------- */
.content h2 { margin-top: 1.8em; }
.content ul:not([class]), .content ol:not([class]) { padding-left: 1.3em; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; box-shadow: var(--shadow-lg); max-height: 0; overflow: hidden; transition: max-height .25s;
  }
  .nav-menu.open { max-height: 80vh; overflow-y: auto; }
  .nav-link { padding: 14px 20px; width: 100%; text-align: left; }
  .dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 6px 16px; }
  .has-dropdown.open > .dropdown { display: block; }
  .has-dropdown:hover > .dropdown { display: none; }
  .has-dropdown.open:hover > .dropdown { display: block; }
  .main-raised { margin: -70px 10px 0; }
  .feature-grid, .card-grid, .touch-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .spotlight, .two-col { grid-template-columns: 1fr; gap: 30px; }
  .content .card-grid.three-up { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar { display: none; }
  .brand-tagline { display: none; }
  .brand-title { font-size: 15px; }
  .main-raised { margin: -60px 0 0; border-radius: 0; }
  .feature-grid, .card-grid, .card-grid.two, .content .card-grid.three-up, .touch-grid, .contact-grid, .step-grid { grid-template-columns: 1fr; }
  .theme-block { grid-template-columns: 1fr; gap: 10px; }
  .hero { min-height: 70vh; padding: 60px 0 120px; }
  .section { padding: 50px 0; }
  .content { padding: 40px 16px 50px; }
}
