/*
Theme Name: Opti4Infra
Theme URI: https://opti4infra.co.uk
Author: Opti4Infra
Author URI: https://opti4infra.co.uk
Description: WordPress theme for Opti4Infra — London IT support, Active Directory and infrastructure migrations, with weekend scheduling. Light/dark mode, responsive layout and contact form.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: opti4infra
Tags: business, one-column, two-columns, custom-colors, custom-logo, featured-images, threaded-comments, translation-ready
*/

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 216 36% 18%;
    --card: 0 0% 100%;
    --card-foreground: 216 36% 18%;
    --popover: 0 0% 100%;
    --popover-foreground: 216 36% 18%;
    --primary: 214 70% 43%;
    --primary-foreground: 0 0% 100%;
    --secondary: 214 55% 97%;
    --secondary-foreground: 216 36% 18%;
    --muted: 214 45% 97%;
    --muted-foreground: 215 15% 42%;
    --accent: 214 55% 95%;
    --accent-foreground: 214 70% 43%;
    --destructive: 0 65% 42%;
    --destructive-foreground: 0 0% 100%;
    --border: 214 28% 87%;
    --input: 214 28% 87%;
    --ring: 214 70% 43%;
    --radius: 0.5rem;
    --soft-blue: #edf4fc;
    --ink: #1d2c43;
    --blue: #2163b8;
    --body-ink: #5b687c;
    --line: #dbe4ef;
    --paper: #f7f9fc;
    --bg: #ffffff;
    --surface: #ffffff;
    --input-bg: #ffffff;
    --header-border: #edf0f5;
    --card-border: #e4eaf2;
    --card-hover-border: #aec8e8;
    --button-hover: #184f96;
    --muted-text: #758398;
    --secondary-border: #cbd6e3;
    --error: #ad3030;
    --card-top-text: #9aa9bd;
    --figcaption-shadow: #263c5a0a;
    --banner-shadow: #1d2c4312;
  }
  .dark {
    --background: 222 30% 10%;
    --foreground: 215 30% 92%;
    --card: 222 28% 14%;
    --card-foreground: 215 30% 92%;
    --popover: 222 28% 14%;
    --popover-foreground: 215 30% 92%;
    --primary: 214 70% 60%;
    --primary-foreground: 222 30% 8%;
    --secondary: 222 24% 18%;
    --secondary-foreground: 215 30% 92%;
    --muted: 222 24% 16%;
    --muted-foreground: 215 16% 65%;
    --accent: 222 28% 18%;
    --accent-foreground: 214 70% 65%;
    --destructive: 0 60% 55%;
    --destructive-foreground: 0 0% 100%;
    --border: 215 24% 24%;
    --input: 215 24% 24%;
    --ring: 214 70% 60%;
    --soft-blue: #162233;
    --ink: #e8edf5;
    --blue: #5fa0ec;
    --body-ink: #9babc0;
    --line: #28384a;
    --paper: #101a26;
    --bg: #0d1520;
    --surface: #15202e;
    --input-bg: #1a2532;
    --header-border: #1e2a3a;
    --card-border: #243244;
    --card-hover-border: #3a5a82;
    --button-hover: #3a7bc8;
    --muted-text: #6b7a90;
    --secondary-border: #2a3848;
    --error: #e87070;
    --card-top-text: #6b7a90;
    --figcaption-shadow: #00000066;
    --banner-shadow: #00000080;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font-family: 'Fira Sans', sans-serif; color: var(--ink); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; transition: background .3s, color .3s; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-family: 'Lato', sans-serif; }
a { color: inherit; text-decoration: none; }
button,input,textarea { font: inherit; }
button { cursor: pointer; }
a,button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
button:disabled { opacity: .6; cursor: wait; }
.rail { max-width: 1180px; margin: 0 auto; padding-left: 36px; padding-right: 36px; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--header-border); }
.header-inner { max-width: 1252px; margin: auto; padding: 0 36px; height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { width: 260px; display: block; }
.brand img { display: block; width: 260px; height: 102px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.desktop-nav { display: flex; gap: 38px; align-items: center; font-size: 15px; }
.desktop-nav a { position: relative; transition: color .2s; padding: 14px 0; }
.desktop-nav a:hover,.desktop-nav a.active { color: var(--blue); }
.desktop-nav a.active:not(.nav-contact)::after { content: ''; position: absolute; height: 2px; bottom: 5px; background: var(--blue); left: 0; right: 0; }
.desktop-nav .nav-contact { border: 1px solid var(--line); padding: 13px 20px; border-radius: 6px; display: flex; gap: 20px; align-items: center; }
.theme-toggle { display: flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 6px; padding: 10px; min-width: 44px; min-height: 44px; transition: background .2s, border-color .2s, color .2s; }
.theme-toggle:hover { background: var(--soft-blue); border-color: var(--blue); color: var(--blue); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 6px; padding: 10px; }
.mobile-nav { display: grid; padding: 12px 24px 24px; background: var(--surface); border-top: 1px solid var(--line); }
.mobile-nav a { padding: 14px; }
.mobile-nav .active { color: var(--blue); }
.hero { background: var(--paper); }
.hero-inner { max-width: 880px; padding: 88px 36px 92px; margin: auto; text-align: center; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .16em; line-height: 1.6; text-transform: uppercase; color: var(--blue); }
.hero .eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 25px; }
.eyebrow-line { height: 1px; width: 26px; background: var(--blue); display: inline-block; }
h1 { font-size: clamp(42px, 4.5vw, 61px); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
h1 span { color: var(--blue); font-weight: 700; }
.hero .lead { margin: 26px auto 0; max-width: 620px; }
.lead { font-size: 16px; line-height: 1.75; color: var(--body-ink); }
.actions { display: flex; gap: 14px; margin-top: 29px; flex-wrap: wrap; justify-content: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; border-radius: 6px; border: 1px solid transparent; padding: 15px 22px; font-size: 14px; font-weight: 500; min-height: 48px; transition: background .2s, border-color .2s, transform .2s, color .2s; white-space: nowrap; }
.button.primary { color: white; background: var(--blue); border-color: var(--blue); }
.button.primary:hover { background: var(--button-hover); border-color: var(--button-hover); }
.button.secondary { color: var(--ink); border-color: var(--secondary-border); background: transparent; }
.button.secondary:hover { background: var(--soft-blue); border-color: var(--blue); color: var(--blue); }
.button:active { transform: scale(.98); }
.hero-note { color: var(--muted-text); font-size: 11px; letter-spacing: .03em; margin-top: 30px; }
/* Hero is a clean, centered text block — decorative imagery removed. */
.weekend-focus { background: var(--soft-blue); padding: 64px 24px 66px; }
.weekend-inner { max-width: 740px; margin: auto; text-align: center; }
.weekend-icon { color: var(--blue); margin: 0 auto 16px; }
.weekend-focus h2 { font-size: 33px; font-weight: 500; line-height: 1.35; letter-spacing: -.025em; margin: 20px 0 19px; }
.weekend-focus p:not(.eyebrow) { font-size: 14px; line-height: 1.8; color: var(--body-ink); max-width: 660px; margin: auto; }
.core-scope { padding-top: 79px; padding-bottom: 84px; }
.section-heading h2 { font-size: 36px; font-weight: 500; line-height: 1.25; letter-spacing: -.025em; margin: 18px 0 15px; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; margin-top: 37px; }
.service-card { background: var(--paper); border: 1px solid var(--card-border); border-radius: 10px; padding: 29px 26px 24px; display: flex; flex-direction: column; transition: background .2s, border-color .2s; }
.service-card:hover { background: var(--soft-blue); border-color: var(--card-hover-border); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--blue); margin-bottom: 28px; }
.service-card-top span { color: var(--card-top-text); font-size: 12px; }
.service-card .eyebrow { font-size: 10px; }
.service-card h3 { font-size: 26px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; margin: 15px 0; }
.service-card > p:not(.eyebrow) { color: var(--body-ink); font-size: 14px; line-height: 1.75; margin-bottom: 24px; }
.service-link { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; color: var(--blue); margin-top: auto; }
.contact-cta { background: var(--soft-blue); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: 55px; padding-bottom: 59px; }
.cta-inner h2 { font-size: 32px; line-height: 1.3; letter-spacing: -.025em; font-weight: 500; margin: 13px 0; }
.cta-inner p:not(.eyebrow) { max-width: 680px; font-size: 14px; line-height: 1.75; color: var(--body-ink); }
.site-footer { padding-top: 52px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { width: 210px; height: 82px; object-fit: contain; margin: -21px 0 -3px -14px; }
.footer-grid h3 { font-family: 'Fira Sans',sans-serif; font-size: 13px; font-weight: 500; margin-bottom: 19px; }
.footer-grid p { font-size: 12px; color: var(--body-ink); line-height: 1.8; }
.footer-grid > div > a:not(.email-link) { display: block; font-size: 12px; color: var(--body-ink); margin-bottom: 12px; }
.footer-grid a:hover { color: var(--blue); }
.email-link { display: flex; align-items: center; gap: 5px; color: var(--blue); font-size: 12px; margin-bottom: 13px; }
.newsletter > p { margin-top: -5px; margin-bottom: 15px; }
.newsletter label { font-size: 10px; margin-bottom: 8px; display: block; color: var(--body-ink); }
.newsletter-input { display: flex; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.newsletter-input input { width: 100%; min-width: 0; border: 0; padding: 12px; font-size: 11px; background: var(--input-bg); color: var(--ink); }
.newsletter-input button { padding: 10px; border: 0; color: white; background: var(--blue); }
.newsletter small { display: block; font-size: 9px; color: var(--body-ink); line-height: 1.5; margin-top: 10px; }
.newsletter small a { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--header-border); padding-top: 21px; padding-bottom: 23px; display: flex; justify-content: space-between; gap: 15px; font-size: 10px; color: var(--muted-text); }
.footer-bottom > div { display: flex; gap: 24px; }
.footer-bottom button { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }
.cookie-banner { position: fixed; z-index: 30; bottom: 18px; left: 18px; right: 18px; max-width: 1180px; margin: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 15px 30px; align-items: center; box-shadow: 0 5px 30px var(--banner-shadow); }
.cookie-copy { flex: 1; min-width: 230px; }
.cookie-copy strong { font-size: 13px; font-weight: 500; }
.cookie-copy p { font-size: 11px; line-height: 1.65; color: var(--body-ink); margin-top: 5px; max-width: 550px; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .button { font-size: 11px; padding: 10px 14px; min-height: 42px; }
.cookie-choices { flex-basis: 100%; border: 0; padding: 10px 0; display: flex; gap: 25px; }
.cookie-choices legend { font-size: 12px; }
.cookie-choices label { display: flex; align-items: flex-start; gap: 10px; flex: 1; }
.cookie-choices input { accent-color: var(--blue); margin-top: 3px; }
.cookie-choices strong { font-weight: 500; font-size: 12px; }
.cookie-choices small { display: block; font-size: 11px; line-height: 1.5; color: var(--body-ink); margin-top: 3px; }
.page-intro { padding: 75px 36px 69px; background: var(--paper); text-align: center; }
.page-intro .eyebrow { margin-bottom: 22px; }
.page-intro h1 { max-width: 850px; margin: auto; font-size: 49px; }
.page-intro .lead { max-width: 730px; margin: 25px auto 0; }
.service-details-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; padding-top: 72px; padding-bottom: 84px; }
.service-detail-card { background: var(--paper); border: 1px solid var(--card-border); border-radius: 10px; padding: 32px 28px; display: flex; flex-direction: column; transition: background .2s, border-color .2s; }
.service-detail-card:hover { background: var(--soft-blue); border-color: var(--card-hover-border); }
.service-detail-card .eyebrow { font-size: 10px; }
.service-detail-card h2 { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; margin: 14px 0 12px; }
.service-detail-card .lead { font-size: 14px; line-height: 1.7; }
.process { padding: 65px 0 75px; background: var(--paper); }
.process h2 { font-size: 34px; margin: 20px 0 40px; font-weight: 500; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.process-grid span { color: var(--blue); font-size: 22px; font-weight: 300; }
.process-grid h3 { font-size: 20px; font-weight: 500; margin: 20px 0 12px; }
.process-grid p { font-size: 14px; color: var(--body-ink); line-height: 1.7; }
.profile-snapshot { padding-top: 64px; padding-bottom: 16px; }
.profile-card { background: var(--paper); border: 1px solid var(--card-border); border-radius: 12px; padding: 38px 36px 30px; }
.profile-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.profile-badge { display: flex; align-items: center; justify-content: center; min-width: 52px; min-height: 52px; border-radius: 10px; background: var(--soft-blue); color: var(--blue); flex-shrink: 0; }
.profile-card h2 { font-size: 30px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; margin: 6px 0 8px; }
.profile-role { font-size: 14px; line-height: 1.7; color: var(--body-ink); max-width: 760px; }
.credential-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 30px; }
.credential-list li { display: flex; flex-direction: column; gap: 5px; padding-top: 18px; border-top: 2px solid var(--card-border); }
.credential-label { font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.credential-value { font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.credential-detail { font-size: 13px; line-height: 1.65; color: var(--body-ink); }
.expertise-section { padding-top: 64px; padding-bottom: 70px; }
.value-section { padding-top: 64px; padding-bottom: 70px; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 37px; }
.expertise-card { background: var(--paper); border: 1px solid var(--card-border); border-radius: 10px; padding: 26px 24px; transition: background .2s, border-color .2s; }
.expertise-card:hover { background: var(--soft-blue); border-color: var(--card-hover-border); }
.expertise-card h3 { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 12px; }
.expertise-card p { font-size: 14px; line-height: 1.7; color: var(--body-ink); }
.work-section { padding-top: 64px; padding-bottom: 70px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; margin-top: 37px; }
.work-card { background: var(--paper); border: 1px solid var(--card-border); border-radius: 10px; padding: 28px 26px; display: flex; flex-direction: column; transition: background .2s, border-color .2s; }
.work-card:hover { background: var(--soft-blue); border-color: var(--card-hover-border); }
.work-card-top { display: flex; align-items: center; gap: 12px; color: var(--blue); margin-bottom: 18px; }
.work-icon { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 10px; background: var(--soft-blue); flex-shrink: 0; }
.work-sector { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.work-card h3 { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 12px; }
.work-card > p { font-size: 14px; line-height: 1.7; color: var(--body-ink); margin-bottom: 18px; }
.work-points { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.work-points li { display: flex; align-items: center; gap: 9px; font-size: 13px; line-height: 1.5; color: var(--body-ink); }
.work-points li svg { color: var(--blue); flex-shrink: 0; }
.featured-projects { padding-top: 64px; padding-bottom: 70px; background: var(--paper); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; margin-top: 37px; }
.project-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: 12px; padding: 30px 28px; display: flex; flex-direction: column; transition: background .2s, border-color .2s; }
.project-card:hover { border-color: var(--card-hover-border); }
.project-card-top { display: flex; align-items: center; gap: 12px; color: var(--blue); margin-bottom: 18px; }
.project-icon { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 10px; background: var(--soft-blue); flex-shrink: 0; }
.project-tag { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.project-card h3 { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 12px; }
.project-card > p { font-size: 14px; line-height: 1.7; color: var(--body-ink); margin-bottom: 18px; }
.project-points { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.project-points li { display: flex; align-items: center; gap: 9px; font-size: 13px; line-height: 1.5; color: var(--body-ink); }
.project-points li svg { color: var(--blue); flex-shrink: 0; }
.contact-address { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-size: 14px; line-height: 1.6; color: var(--body-ink); }
.contact-address svg { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.contact-address span { display: flex; flex-direction: column; }
.footer-address { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.6; color: var(--body-ink); margin-bottom: 13px; }
.footer-address svg { color: var(--blue); margin-top: 2px; flex-shrink: 0; }
.footer-address span { display: flex; flex-direction: column; }
.address-line { display: block; }
.experience-section { padding-top: 64px; padding-bottom: 74px; }
.experience-timeline { list-style: none; margin: 37px 0 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.experience-item { display: grid; grid-template-columns: 52px 1fr; gap: 22px; background: var(--paper); border: 1px solid var(--card-border); border-radius: 10px; padding: 28px 28px 26px; transition: background .2s, border-color .2s; }
.experience-item:hover { background: var(--soft-blue); border-color: var(--card-hover-border); }
.experience-marker { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--soft-blue); color: var(--blue); flex-shrink: 0; }
.experience-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.experience-period { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.experience-sector { font-size: 11px; letter-spacing: .03em; color: var(--muted-text); }
.experience-body h3 { font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 10px; }
.experience-body .lead { font-size: 14px; line-height: 1.7; }
.experience-achievements { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.experience-achievements li { position: relative; padding-left: 20px; font-size: 13.5px; line-height: 1.65; color: var(--body-ink); }
.experience-achievements li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.academic-section { padding-top: 64px; padding-bottom: 74px; }
.academic-card { background: var(--soft-blue); border: 1px solid var(--card-border); border-radius: 12px; padding: 40px 36px 32px; text-align: center; }
.academic-card .profile-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 52px; border-radius: 10px; background: var(--surface); color: var(--blue); margin-bottom: 18px; }
.academic-card .eyebrow { margin-bottom: 14px; }
.academic-card h2 { font-size: 28px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 10px; }
.academic-card .lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.academic-highlight { color: var(--blue) !important; font-weight: 500; margin-top: 14px !important; }
.capstone { margin: 28px auto 0; max-width: 680px; text-align: left; background: var(--surface); border: 1px solid var(--card-border); border-radius: 10px; padding: 24px 26px; }
.capstone h3 { font-size: 16px; font-weight: 500; margin-bottom: 10px; line-height: 1.4; }
.capstone .lead { font-size: 13.5px; line-height: 1.7; text-align: left; }
.academic-additional { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.academic-additional li { font-size: 13px; color: var(--body-ink); }
.about-story { max-width: 800px; padding-top: 72px; padding-bottom: 76px; text-align: center; }
.about-story h2 { font-size: 36px; font-weight: 500; line-height: 1.25; margin: 20px auto; max-width: 680px; }
.about-story .lead { margin-left: auto; margin-right: auto; }
.about-story .lead + .lead { margin-top: 20px; }
.about-story .button { margin-top: 27px; }
.academic { background: var(--soft-blue); text-align: center; padding: 65px 24px; }
.academic blockquote { max-width: 720px; font-family: 'Lato',sans-serif; font-size: 30px; line-height: 1.5; margin: 24px auto; }
.academic cite { color: var(--body-ink); font-size: 12px; font-style: normal; }
.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding-top: 80px; padding-bottom: 90px; }
.contact-section h1 { font-size: 48px; margin: 24px 0; }
.contact-email { display: inline-flex; gap: 15px; align-items: center; color: var(--blue); margin-top: 30px; font-size: 18px; }
.contact-form { padding: 30px; background: var(--paper); border-radius: 8px; }
.field { display: grid; gap: 9px; margin-bottom: 22px; }
.field label { font-size: 13px; }
.field input,.field textarea { border: 1px solid var(--line); color: var(--ink); background: var(--input-bg); padding: 14px; border-radius: 5px; width: 100%; font-size: 14px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder,.field textarea::placeholder { color: var(--muted-text); }
.consent-field { display: flex; align-items: flex-start; gap: 11px; color: var(--body-ink); font-size: 11px; line-height: 1.6; margin-bottom: 22px; }
.consent-field input { accent-color: var(--blue); margin-top: 3px; }
.consent-field a { text-decoration: underline; }
.form-success { color: var(--blue) !important; font-size: 13px; line-height: 1.7; margin-top: 12px; }
.form-error { color: var(--error) !important; font-size: 12px; line-height: 1.6; margin-top: 8px; }
.privacy-content { max-width: 800px; padding-top: 60px; padding-bottom: 75px; }
.privacy-content h2 { font-size: 24px; font-weight: 500; margin: 30px 0 12px; }
.privacy-content p { color: var(--body-ink); font-size: 15px; line-height: 1.8; }
.privacy-content a { color: var(--blue); text-decoration: underline; }
.skip-link { position: fixed; top: -70px; left: 20px; padding: 12px 20px; background: var(--surface); z-index: 50; }
.skip-link:focus { top: 12px; }
@media (min-width: 1500px) { .hero-inner { padding-top: 104px; padding-bottom: 108px; } }
@media (max-width: 1000px) {
  .hero-inner { padding-top: 60px; padding-bottom: 64px; }
  h1 { font-size: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .service-card { padding: 24px 20px; }
  .service-card h3 { font-size: 23px; }
  .cookie-banner { gap: 14px; }
  .cookie-actions { flex-wrap: wrap; }
  .contact-section { gap: 40px; }
  .credential-list { grid-template-columns: 1fr 1fr; gap: 22px; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .rail { padding-left: 24px; padding-right: 24px; }
  .header-inner { height: 84px; padding: 0 18px 0 12px; }
  .brand,.brand img { width: 215px; }
  .brand img { height: 84px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero-inner { padding: 48px 24px 56px; }
  .hero .eyebrow { font-size: 10px; gap: 9px; margin-bottom: 21px; }
  h1 { font-size: clamp(38px, 8.5vw, 56px); }
  .lead { font-size: 15px; }
  .hero .lead { max-width: 540px; margin-top: 22px; }
  .hero-note { margin-top: 23px; }
  .weekend-focus { padding: 47px 24px 50px; }
  .weekend-focus h2 { font-size: 28px; }
  .core-scope { padding-top: 52px; padding-bottom: 53px; }
  .section-heading h2 { font-size: 29px; }
  .service-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .service-card { padding: 25px; }
  .service-card-top { margin-bottom: 22px; }
  .service-card h3 { font-size: 26px; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 25px; padding-top: 44px; padding-bottom: 47px; }
  .cta-inner h2 { font-size: 29px; }
  .footer-grid { gap: 32px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .newsletter { grid-column: 1 / -1; max-width: 420px; }
  .footer-bottom { flex-direction: column; gap: 17px; }
  .cookie-banner { padding: 17px; bottom: 10px; left: 10px; right: 10px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .button { flex: 1; padding: 10px 9px; min-height: 44px; }
  .cookie-choices { flex-direction: column; gap: 14px; }
  .page-intro { padding: 50px 24px; }
  .page-intro h1 { font-size: 37px; }
  .service-details-grid { grid-template-columns: 1fr; gap: 16px; padding-top: 48px; padding-bottom: 52px; }
  .service-detail-card { padding: 26px 22px; }
  .service-detail-card h2 { font-size: 24px; }
  .about-story { padding-top: 48px; padding-bottom: 52px; }
  .about-story h2 { font-size: 30px; }
  .contact-section { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; padding-bottom: 52px; }
  .process { padding: 45px 0; }
  .process h2 { font-size: 29px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 35px 23px; }
  .academic blockquote { font-size: 26px; }
  .contact-section h1 { font-size: 40px; }
  .contact-form { padding: 24px; }
  .profile-snapshot { padding-top: 44px; }
  .profile-card { padding: 28px 22px 24px; }
  .profile-head { gap: 16px; margin-bottom: 24px; }
  .profile-badge { min-width: 46px; min-height: 46px; }
  .profile-card h2 { font-size: 26px; }
  .credential-list { grid-template-columns: 1fr; gap: 18px; }
  .expertise-section { padding-top: 44px; padding-bottom: 48px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .work-section { padding-top: 44px; padding-bottom: 48px; }
  .work-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .featured-projects { padding-top: 44px; padding-bottom: 48px; }
  .project-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; animation: none !important; } }
