:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-alt: #f2f4f8;
  --ink: #13243a;
  --ink-soft: #3f546f;
  --line: #dde2ec;
  --accent: #0f5a95;
  --accent-soft: #d8e7f5;
  --shadow: 0 2px 14px rgba(11, 28, 48, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.background-shapes { display: none; }

.hero {
  max-width: 1050px;
  margin: 0 auto;
  padding: 2.5rem 1.6rem 1.5rem;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.topnav a {
  text-decoration: none;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.topnav a.is-active {
  color: #fff;
  border-color: #0f5a95;
  background: #0f5a95;
}

.brandbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.brand-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.36rem;
  line-height: 1.1;
}

.brand-type {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-intro {
  max-width: 680px;
  margin-top: 2rem;
}

.owner-hero {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.4rem;
  align-items: start;
}

.owner-note {
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.owner-photo-wrap {
  display: flex;
  justify-content: flex-end;
}

.owner-photo {
  width: min(100%, 270px);
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 1rem;
}

.hero-grid.one-column {
  grid-template-columns: 1fr;
}

.eyebrow {
  margin: 0.2rem 0 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.78rem;
}

h1 {
  margin: 0.35rem 0 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.1;
}

.subtitle {
  margin: 0.75rem 0 1rem;
  font-size: clamp(1rem, 2.5vw, 1.28rem);
  color: var(--ink-soft);
  font-weight: 500;
}

.intro {
  max-width: 75ch;
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
}

.focus-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(160deg, #ffffff, #f5f8fc);
}

.focus-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.focus-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.focus-card li + li {
  margin-top: 0.45rem;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.quality-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 1rem;
}

.quality-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.quality-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cta-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.cta-link {
  text-decoration: none;
  border: 1px solid #b7c9dd;
  background: linear-gradient(130deg, #ffffff, #f3f8fe);
  color: #114772;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font-weight: 700;
  text-align: center;
}

main {
  max-width: 1050px;
  margin: 0 auto;
  padding: 1.5rem 1.6rem 5rem;
  display: grid;
  gap: 1.75rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
  margin-bottom: 1.25rem;
}

h2 {
  margin: 0;
  font-size: 1.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.stat-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.stat-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.filter-btn {
  border: 1px solid #b9cadf;
  background: #fff;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.filter-btn.is-active {
  border-color: #0f5a95;
  background: #0f5a95;
  color: #fff;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.experience-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  background: #fff;
}

.experience-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.info-btn {
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid #b7c9dd;
  border-radius: 999px;
  background: #fff;
  color: #114772;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.info-btn[aria-expanded="true"] {
  background: #114772;
  border-color: #114772;
  color: #fff;
}

.experience-card.featured {
  background: linear-gradient(120deg, rgba(15, 90, 149, 0.08), #ffffff);
  border-color: #bfd3ea;
}

.experience-meta {
  margin: 0;
  color: #114772;
  font-weight: 800;
  font-size: 0.86rem;
}

.experience-role {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
}

.experience-detail {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line);
}

.experience-detail p {
  margin: 0.2rem 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.list-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
}

.btn-secondary {
  border: 1px solid #b7c9dd;
  color: #114772;
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-secondary[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ── Contact ─────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1.25rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-alt);
  color: var(--accent);
}

.contact-item--soon .contact-icon {
  color: #8fa3bc;
}

.contact-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-value {
  margin: 0.1rem 0 0;
  display: block;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-value:hover {
  color: var(--accent);
  text-decoration: underline;
}

.contact-value--muted {
  color: #8fa3bc;
  font-weight: 500;
  font-style: italic;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.form-field input,
.form-field textarea {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}

.form-field textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-primary {
  border: none;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  min-height: 44px;
  padding: 0.6rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary:hover {
  background: #0a4a7d;
}

.form-notice {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.4rem;
}

.form-notice--ok {
  color: #1a7f5a;
}

.form-notice--err {
  color: #c0392b;
}

@media (max-width: 880px) {
  .owner-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .owner-photo-wrap {
    justify-content: flex-start;
  }

  .owner-photo {
    width: min(100%, 240px);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--accent), #99b2d7);
}

.timeline-item {
  position: relative;
  padding: 0 0 1rem 2.1rem;
  margin-bottom: 0.2rem;
  opacity: 0;
  transform: translateY(12px);
  animation: staggerIn 0.65s ease forwards;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.45rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline-item.featured {
  background: linear-gradient(120deg, rgba(15, 90, 149, 0.09), rgba(216, 231, 245, 0.42));
  border: 1px solid #bfd3ea;
  border-radius: 12px;
  padding: 0.65rem 0.8rem 0.9rem 2.1rem;
}

.timeline-item.featured::before {
  top: 1rem;
}

.item-feature {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #0f5a95;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.item-years {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #114772;
}

.item-title {
  margin: 0;
  font-size: 1.03rem;
}

.item-role {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

footer {
  padding: 1.5rem 1rem 3rem;
  text-align: center;
  color: #5f718d;
  font-size: 0.9rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes staggerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .quality-grid {
    grid-template-columns: 1fr;
  }

  .cta-links {
    grid-template-columns: 1fr;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 1.2rem 1rem;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 1.35rem 1rem 0.95rem;
  }

  main {
    padding: 1rem 1rem 3rem;
    gap: 1rem;
  }

  .topnav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    margin: 0 -1rem 1rem;
    padding: 0 1rem 0.3rem;
  }

  .topnav a {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
    font-size: 0.86rem;
    padding: 0.35rem 0.75rem;
  }

  .brandbar {
    gap: 0.7rem;
    padding: 0.7rem 0;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-type {
    font-size: 0.79rem;
    line-height: 1.3;
  }

  h1 {
    font-size: clamp(1.55rem, 8vw, 2rem);
    line-height: 1.16;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .intro,
  .experience-role,
  .item-role,
  .quality-card p,
  .stat-card p {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .panel {
    border-radius: 12px;
    padding: 1rem 0.85rem;
  }

  .panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .timeline-item {
    padding-left: 1.9rem;
  }

  .timeline-item.featured {
    padding: 0.6rem 0.7rem 0.8rem 1.95rem;
  }

  .item-title {
    font-size: 1rem;
  }

  .experience-card,
  .stat-card,
  .quality-card,
  .focus-card {
    padding: 0.82rem;
  }

  .experience-head {
    gap: 0.45rem;
  }

  .experience-meta {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .filters {
    gap: 0.45rem;
  }

  .filter-btn {
    min-height: 40px;
    padding: 0.32rem 0.7rem;
  }

  .cta-link,
  .btn-secondary,
  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .btn-secondary,
  .btn-primary {
    min-height: 44px;
  }

  .list-actions {
    margin-top: 0.75rem;
  }

  .contact-layout {
    gap: 1rem;
  }

  .contact-item {
    gap: 0.65rem;
  }

  .contact-icon {
    width: 34px;
    height: 34px;
  }

  .form-field input,
  .form-field textarea {
    font-size: 16px;
    padding: 0.58rem 0.7rem;
  }

  footer {
    padding: 1.1rem 1rem 2.2rem;
    font-size: 0.84rem;
  }
}
