/*
Theme Name: Albright Tech Domains
Description: A service website for Albright Tech Domains with editable WordPress pages, Media Library graphics and a private contact form.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: albright-tech-domains
*/
:root {
  --ink: #111e2f;
  --muted: #4c6075;
  --deep: #0b192a;
  --navy: #101f33;
  --blue: #084bb9;
  --sky: #a3d5ff;
  --paper: #fff;
  --wash: #f1f6fb;
  --line: #dbe5ef;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #4b98fc;
  outline-offset: 4px;
}
h1, h2, h3 { font-weight: 720; line-height: 1.13; letter-spacing: -.045em; margin: 0 0 .55em; }
h1 { font-size: clamp(2.65rem, 5.3vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.55rem; letter-spacing: -.035em; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
.atd-wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.atd-skip { position: fixed; z-index: 100000; top: 10px; left: 10px; padding: .6rem 1rem; background: white; transform: translateY(-200%); }
.atd-skip:focus { transform: translateY(0); }
.atd-header { background: var(--deep); color: white; border-bottom: 1px solid #26374b; }
.atd-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.atd-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 1.08rem; letter-spacing: -.04em; font-weight: 750; line-height: 1.2; }
.atd-mark { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border-radius: 8px; background: #a3d5ff; color: #102346; font-size: .79rem; letter-spacing: -.025em; }
.custom-logo { max-width: 208px; max-height: 54px; object-fit: contain; }
.atd-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; }
.atd-nav a { font-size: .9rem; font-weight: 620; color: #d8e5f3; text-decoration: none; }
.atd-nav a:hover, .atd-nav a[aria-current="page"], .atd-nav .current-menu-item > a { color: white; text-decoration: underline; }
.atd-nav .atd-nav-contact > a { display: inline-block; padding: .48rem .9rem; border: 1px solid #526b89; border-radius: 7px; color: white; }
.atd-nav-toggle { display: none; padding: .48rem .72rem; color: white; border: 1px solid #526b89; background: transparent; border-radius: 7px; font: inherit; }
.atd-home-hero { background: var(--deep); color: white; overflow: hidden; }
.atd-home-hero .wp-block-columns { margin: 0; gap: clamp(28px, 4vw, 72px); min-height: 550px; align-items: stretch !important; }
.atd-hero-copy { align-self: center; padding: 68px 0 76px; }
.atd-kicker { color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 760; margin: 0 0 1.25rem; }
.atd-home-hero .atd-kicker { color: var(--sky); }
.atd-hero-copy h1 { max-width: 12ch; }
.atd-home-hero .atd-lead { color: #c1d1e3; max-width: 42ch; margin-bottom: 1.65rem; }
.atd-lead { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.atd-hero-media { position: relative; min-height: 100%; }
.atd-hero-media figure { height: 100%; margin: 0; }
.atd-hero-media img { width: 100%; height: 100%; min-height: 550px; object-fit: cover; position: absolute; inset: 0; }
.atd-hero-media::after { position: absolute; content: ""; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--deep), transparent 24%), linear-gradient(0deg, #0b192a4d, transparent 40%); }
.wp-block-buttons.atd-actions { gap: 12px; margin-top: 1.4rem; }
.wp-block-button__link, .atd-submit { display: inline-block; border: 1px solid transparent; border-radius: 8px; padding: .74rem 1.14rem; background: var(--blue); color: white; font: 680 .95rem/1.35 var(--font); text-decoration: none; cursor: pointer; }
.wp-block-button__link:hover, .atd-submit:hover { background: #073d95; color: white; }
.atd-home-hero .wp-block-button__link { background: var(--sky); color: #102346; }
.atd-home-hero .wp-block-button__link:hover { background: #d5edff; }
.atd-home-hero .is-style-outline > .wp-block-button__link { background: transparent; border-color: #5b7393; color: white; }
.atd-home-hero .is-style-outline > .wp-block-button__link:hover { background: #263c54; }
.atd-section { padding-block: clamp(50px, 7vw, 96px); }
.atd-section-head { margin-bottom: 32px; }
.atd-section-head h2 { margin-bottom: .32em; }
.atd-section-head p { max-width: 57ch; }
.atd-cards { gap: 24px; margin-bottom: 0; align-items: stretch !important; }
.atd-card { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: white; display: flex; flex-direction: column; }
.atd-card figure { margin: 0; }
.atd-card img { width: 100%; height: 222px; object-fit: cover; }
.atd-card-body { padding: 27px 30px 31px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.atd-card-body p { color: var(--muted); }
.atd-card-body p:last-child { margin-top: auto; }
.atd-card-body a { font-weight: 710; }
.atd-band { background: var(--wash); border-block: 1px solid var(--line); }
.atd-band .wp-block-columns { align-items: center !important; justify-content: space-between; gap: 24px; margin-bottom: 0; }
.atd-band .wp-block-buttons { margin-top: 0; }
.atd-page-hero { padding-block: clamp(55px, 8vw, 108px); background: var(--wash); border-bottom: 1px solid var(--line); }
.atd-page-hero .wp-block-columns { gap: clamp(28px, 5vw, 72px); align-items: center !important; margin-bottom: 0; }
.atd-page-hero h1 { margin-bottom: .3em; }
.atd-page-hero figure { margin: 0; overflow: hidden; border-radius: 15px; }
.atd-page-hero img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.atd-reading { max-width: 760px; }
.atd-detail-grid { margin: 30px 0 0; gap: 24px; }
.atd-detail { border-top: 2px solid #adcdef; padding: 22px 0 16px; }
.atd-detail p { color: var(--muted); }
.atd-contact-layout { gap: clamp(25px, 7vw, 92px); margin: 0; }
.atd-contact-layout ul { padding-left: 1.3rem; color: var(--muted); }
.atd-form { padding: clamp(21px, 4vw, 37px); border: 1px solid var(--line); border-radius: 15px; background: var(--wash); }
.atd-form h2 { font-size: 1.75rem; }
.atd-field { margin-bottom: 1rem; }
.atd-field label { display: block; font-weight: 650; line-height: 1.4; margin-bottom: .38rem; }
.atd-field input, .atd-field select, .atd-field textarea { width: 100%; min-height: 45px; padding: .64rem .75rem; border: 1px solid #8094aa; border-radius: 7px; background: white; color: var(--ink); font: inherit; }
.atd-field textarea { min-height: 138px; resize: vertical; }
.atd-form-note { color: var(--muted); font-size: .88rem; }
.atd-form-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.atd-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.atd-notice { padding: .75rem .9rem; border: 1px solid #805132; background: #fff4e7; border-radius: 7px; margin-bottom: 1rem; }
.atd-notice.is-success { background: #e8f7ee; border-color: #398152; }
.atd-footer { color: #d0dfed; background: var(--deep); }
.atd-footer-inner { min-height: 120px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; padding-block: 24px; }
.atd-footer p { margin: 0; color: #aebfd2; font-size: .88rem; }
.atd-footer a { color: inherit; }
.atd-standard { padding-block: 65px; min-height: 55vh; }
.atd-standard h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
@media (max-width: 920px) {
  .atd-wrap { width: min(1180px, calc(100% - 48px)); }
  .atd-nav ul { gap: 17px; }
  .atd-home-hero .wp-block-columns, .atd-hero-media img { min-height: 470px; }
}
@media (max-width: 781px) {
  .atd-header-inner { min-height: 70px; flex-wrap: wrap; gap: 10px; }
  .atd-nav { width: 100%; }
  .atd-nav ul { flex-wrap: wrap; padding-bottom: 15px; }
  .atd-js .atd-nav-toggle { display: inline-block; }
  .atd-js .atd-nav.is-closed { display: none; }
  .atd-home-hero .wp-block-columns { gap: 0; min-height: unset; }
  .atd-hero-copy { padding: 48px 0 28px; }
  .atd-hero-media { min-height: 265px; }
  .atd-hero-media img { min-height: 0; }
  .atd-hero-media::after { background: linear-gradient(180deg, var(--deep), transparent 27%); }
  .atd-card img { height: 210px; }
}
@media (max-width: 500px) {
  .atd-wrap { width: calc(100% - 32px); }
  .atd-form-rows { grid-template-columns: 1fr; gap: 0; }
  .atd-card-body { padding: 23px; }
}
