/*
  Site design (layered on top of styles.css, which is Design V1 Classic).
  Layout + fonts from V1, decorative style from V2 Aurora, colours driven by a palette.
  To go back to V1 Classic: remove the <link> to this file in index.html.
*/

/* ---------- Colours (Copper palette) ---------- */
:root {
  --navy: #4a2511;
  --navy-2: #b4531a;
  --accent: #d9692b;
  --accent-soft: #fbefe6;
  --ink: #2b1d14;
  --muted: #6f5d52;
  --line: #efe5dd;
  --bg: #faf6f2;
  --grad: linear-gradient(120deg, #8a3a12 0%, #d9692b 100%);
  --glow-1: rgba(217, 105, 43, 0.1);
  --glow-2: rgba(138, 58, 18, 0.07);
  --ring: #e9a06b;
  --tag-bg: #fbefe6;
  --tag-text: #8a3a12;
  --tag-border: #f1d3bd;
}

/* ---------- Style (from V2 Aurora, toned down) ---------- */
:root {
  --radius: 20px;
  --shadow: 0 1px 2px rgba(60, 30, 10, 0.04), 0 10px 30px rgba(60, 30, 10, 0.06);
}

body {
  background: radial-gradient(700px 450px at 5% 0%, var(--glow-1), transparent 60%),
    radial-gradient(600px 450px at 100% 30%, var(--glow-2), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

.brand,
#name,
.section-title {
  font-weight: 700;
}
.brand,
#name {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#name {
  font-size: 36px;
}
.brand {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 18px;
}
@media (max-width: 720px) {
  #name {
    font-size: 28px;
  }
}

.topnav {
  background: rgba(255, 255, 255, 0.82);
}
.tab.active {
  border-bottom-color: transparent;
  color: var(--navy-2);
  background: var(--grad) bottom / 100% 3px no-repeat;
}
.lang-switch button.active {
  background: var(--grad);
  color: #fff;
}

/* Show the cover photo as-is, with no colour layer */
.hero-cover::after {
  display: none;
}
.profile-image {
  border: 0;
  box-shadow: 0 0 0 5px #fff, 0 0 0 8px var(--ring), 0 14px 32px rgba(60, 30, 10, 0.2);
}

.section-card {
  position: relative;
  overflow: hidden;
}
.section-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad);
}
.section-title::before {
  width: 5px;
  background: var(--grad);
}

.experience-item li::marker {
  color: var(--accent);
}
.logo {
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(60, 30, 10, 0.08);
}

.skill-tag {
  background: var(--tag-bg);
  color: var(--tag-text);
  border: 1px solid var(--tag-border);
  font-weight: 500;
}

.btn-linkedin,
.btn-linkedin:hover {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 16px rgba(60, 30, 10, 0.18);
}
.see-more-btn {
  border: 1.5px solid var(--navy-2);
  color: var(--navy-2);
}
.see-more-btn:hover {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

.coming-soon {
  border-color: var(--tag-border);
  background: var(--accent-soft);
}

/* ---------- Courses & Webinars ---------- */
.course-link {
  display: inline-block;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 2px;
}
.course-link:hover {
  color: var(--navy-2);
}
.course-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-2);
}
.subsection-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-2);
  margin: 8px 0 12px;
}
.coming-soon + .subsection-title {
  margin-top: 28px;
}
.webinar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.webinar-list li {
  position: relative;
  padding: 12px 0 12px 20px;
  border-top: 1px solid var(--line);
}
.webinar-list li:first-child {
  border-top: 0;
}
.webinar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------- Consultation offerings ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.offer-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.offer-card:hover {
  border-color: var(--tag-border);
  box-shadow: 0 8px 20px rgba(60, 30, 10, 0.08);
  transform: translateY(-2px);
}
.offer-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 8px;
}
.section-card p.offer-text {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.offer-grid + .subsection-title {
  margin-top: 28px;
}
@media (max-width: 720px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}
.offer-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.offer-icon {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--tag-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--navy-2);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.offer-icon .fill {
  fill: var(--accent);
  stroke: none;
}
.offer-icon .dash {
  stroke: var(--ring);
  stroke-dasharray: 3 3;
}
.offer-body {
  min-width: 0;
}
@media (max-width: 720px) {
  .offer-card {
    gap: 14px;
    padding: 18px;
  }
  .offer-icon {
    flex-basis: 52px;
    height: 52px;
  }
  .offer-icon svg {
    width: 32px;
    height: 32px;
  }
}

/* Shared card style: course cards and "check back" notes */
.offer-note {
  align-items: center;
  margin-bottom: 16px;
}
.offer-note + .subsection-title,
.offer-grid + .subsection-title {
  margin-top: 28px;
}
.offer-logo {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--tag-border);
  background: #fff;
}
a.offer-title {
  display: block;
}
a.offer-title:hover {
  color: var(--navy-2);
}
.offer-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}
@media (max-width: 720px) {
  .offer-logo {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }
}
.offer-icon .check {
  stroke: #fff;
  stroke-width: 2;
}
.offer-stack {
  grid-template-columns: 1fr;
}
.offer-card .offer-text + .course-cta {
  display: inline-block;
  margin-top: 8px;
}
.soon-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--tag-text);
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
}

/* ---------- Brand + slogan ---------- */
.brand-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.brand-wrap .brand {
  display: inline-block;
  align-self: flex-start;
}
.brand-slogan {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 3px;
  white-space: nowrap;
}
.brand-wrap:hover .brand-slogan {
  color: var(--navy-2);
}
/* Desktop: a thin divider and breathing room between the slogan and the tabs */
@media (min-width: 1001px) {
  .brand-wrap {
    flex-shrink: 0;
    padding-right: 28px;
    border-right: 1px solid var(--tag-border);
  }
  .brand-slogan {
    font-size: 13px;
  }
  .topnav .tab {
    padding: 0 10px;
  }
}
@media (max-width: 1000px) {
  /* On phones/tablets the slogan gets its own full-width line under the name */
  /* Wrap the tabs onto their own row (same as the 860px layout in styles.css) */
  .topnav-inner {
    height: auto;
    flex-wrap: wrap;
    gap: 0 12px;
    padding-top: 10px;
  }
  .tabs {
    order: 3;
    flex: 0 0 calc(100% + 32px);
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    height: 44px;
    margin: 4px -16px 0;
    padding: 0 8px;
  }
  .brand-wrap {
    display: contents;
  }
  .brand-wrap .brand {
    flex: 1;
    align-self: center;
  }
  .brand-slogan {
    order: 2;
    flex: 0 0 100%;
    margin-top: 0;
    font-size: 13px;
  }
}
/* Keep every consultation card the same height, row to row */
@media (min-width: 721px) {
  .offer-grid:not(.offer-stack) {
    grid-auto-rows: 1fr;
  }
}


/* ---------- Accomplished Projects ---------- */
.project-card .offer-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-card .offer-title {
  font-size: 16px;
  font-weight: 600;
}
.project-client {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-2);
  margin: -2px 0 8px;
}
.demo-btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 0 0;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}
.demo-btn:hover {
  color: var(--accent);
}
.image-modal img[src$=".svg"] {
  width: min(92vw, 1200px);
  background: #fff;
}
