/* Albey Company Inc. — albey.com
   First-version site styles. Palette is a starting point and can be swapped. */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-700.woff2") format("woff2");
}

:root {
  --ink: #14181d;
  --navy: #172636;
  --navy-deep: #0f1a24;
  --bronze: #9a6b2c;
  --bronze-soft: #c4a36a;
  --paper: #f4f1eb;
  --paper-2: #e8e3d8;
  --white: #fffcf7;
  --card: #ffffff;
  --muted: #4a5560;
  --line: #d6d0c4;
  --line-strong: #c3bbae;
  --danger: #8a2424;
  --danger-bg: #f8ecec;
  --success: #1c5c40;
  --focus: #9a6b2c;
  --shadow: 0 1px 2px rgba(20, 24, 29, 0.06), 0 12px 32px rgba(20, 24, 29, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 4.5rem;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --space: 1.25rem;
  --max: 70rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--bronze);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--navy);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
  outline-offset: 2px;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 48rem) {
  .wrap {
    width: min(100% - 3rem, var(--max));
  }
}

/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.wordmark:hover {
  color: var(--ink);
}

.mark {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  letter-spacing: 0.08em;
}

.wordmark-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

.wordmark-sub {
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.75rem 1.25rem 1.25rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-nav a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.7rem 0.35rem;
  border-radius: 6px;
}

.site-nav a:hover {
  color: var(--bronze);
  background: var(--paper);
}

.nav-phone {
  display: none;
}

@media (min-width: 64rem) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.4rem;
  }

  .site-nav a {
    padding: 0.35rem 0;
    font-size: 0.95rem;
  }

  .site-nav a:hover {
    background: transparent;
  }

  .nav-phone {
    display: inline-flex;
    margin-left: 0.5rem;
    padding: 0.5rem 0.95rem;
    border: 1px solid var(--navy);
    border-radius: 999px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
  }

  .nav-phone:hover {
    background: var(--navy);
    color: var(--white);
  }
}

/* Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--white);
}

.btn-block {
  width: 100%;
}

/* Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 2.75rem 0 3.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5.4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(196, 163, 106, 0.14), transparent 46%),
    radial-gradient(ellipse at 0% 100%, rgba(196, 163, 106, 0.08), transparent 42%),
    var(--navy-deep);
  color: #e8edf1;
  border-radius: 16px;
  padding: 1.5rem 1.35rem 1.35rem;
  position: relative;
  overflow: hidden;
  min-height: 16rem;
  box-shadow: inset 0 0 0 1px rgba(196, 163, 106, 0.18);
}

.hero-panel-content {
  position: relative;
  z-index: 1;
}

.hero-panel h2 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-soft);
}

.hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: #f4f1eb;
}

.hero-list svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: var(--bronze-soft);
}

.hero-panel-foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(196, 163, 106, 0.28);
  font-size: 0.9rem;
  color: #b7c0c8;
}

@media (min-width: 48rem) {
  .hero {
    padding: 4rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
  }

  .hero-panel {
    min-height: 22rem;
    padding: 2rem;
  }
}

/* Sections
   ========================================================================== */

section {
  padding: 3.5rem 0;
}

.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--navy-deep);
}

.section-intro {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--muted);
}

/* Services
   ========================================================================== */

.services {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 70rem) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card:last-child:nth-child(7) {
    grid-column: 2;
  }
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
}

.service-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.icon-well {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 8px;
  background: var(--navy);
  color: var(--bronze-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.icon-well svg {
  width: 1.35rem;
  height: 1.35rem;
}

.service-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Why us
   ========================================================================== */

.why-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }
}

.why-item {
  padding: 0;
  border: 0;
  background: transparent;
}

.why-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--navy-deep);
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
}

.why-num {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--bronze);
  flex-shrink: 0;
}

.why-item p {
  margin: 0;
  color: var(--muted);
  padding-left: 2.15rem;
}

/* Service area
   ========================================================================== */

.area {
  background: var(--navy-deep);
  color: #e8edf1;
  padding: 3.75rem 0;
}

.area .section-kicker {
  color: var(--bronze-soft);
}

.area .section-title {
  color: var(--white);
}

.area .section-intro {
  color: #b7c0c8;
  margin-bottom: 0;
  max-width: 42rem;
}

.area-points {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 40rem) {
  .area-points {
    grid-template-columns: repeat(2, 1fr);
  }
}

.area-point {
  border: 1px solid rgba(196, 163, 106, 0.28);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
}

.area-point strong {
  display: block;
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}

.area-point p {
  margin: 0;
  color: #b7c0c8;
  font-size: 0.95rem;
}

/* Contact
   ========================================================================== */

.contact {
  padding: 3.75rem 0 4.25rem;
}

.contact-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 56rem) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.contact-aside p {
  color: var(--muted);
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-details li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.65rem;
  align-items: start;
}

.contact-details svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--bronze);
  margin-top: 0.2rem;
}

.contact-details dt,
.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-details a,
.placeholder {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.contact-details a:hover {
  color: var(--bronze);
}

.placeholder-note {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.2rem 1.5rem;
  box-shadow: var(--shadow);
}

@media (min-width: 40rem) {
  .form-card {
    padding: 1.75rem 1.75rem 1.85rem;
  }
}

.form-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: var(--navy-deep);
}

.form-card > p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.form-status[data-type="error"] {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid #e2c4c4;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

@media (min-width: 40rem) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.req {
  color: var(--bronze);
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%234a5560' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  padding-right: 2.2rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #a89f90;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--bronze);
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-deep);
  color: #b7c0c8;
  padding: 2rem 0;
  border-top: 3px solid var(--bronze);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--bronze-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

@media (min-width: 48rem) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }
}

/* Thank-you page
   ========================================================================== */

.thanks {
  min-height: calc(100vh - var(--header-h) - 8rem);
  display: grid;
  place-items: center;
  padding: 4rem 0;
  text-align: center;
}

.thanks-card {
  width: min(100%, 34rem);
}

.thanks h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--navy-deep);
}

.thanks p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* Utility
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html,
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}


/* =============================================================================
   TEMPORARY — remove this entire block when the site is ready.
   Also remove the UNDER CONSTRUCTION NOTICE markup in index.html and
   thank-you.html. Restore phone, email, and the quote form by unwrapping
   or deleting elements marked NEEDS CONTACT / QUOTE FORM in the HTML.
   ============================================================================= */

.site-notice {
  background: var(--navy-deep);
  color: #e8edf1;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  padding: 0.45rem 1.25rem;
  border-bottom: 2px solid var(--bronze);
  text-wrap: balance;
}

.needs-contact {
  display: none !important;
}

.form-coming-soon {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* /TEMPORARY */
