/* New Trail Consulting: palette taken from the logo */
:root {
  --navy: #16385a;
  --navy-deep: #0e2740;
  --amber: #f5b335;
  --coral: #ef6a5b;
  --mint: #8fd19e;
  --mint-tint: #e9f6ee;
  --ink: #1b2733;
  --muted: #55636f;
  --paper: #ffffff;
  --mist: #f3f7f9;
  --line: #d9e3ea;
  --wrap: 1120px;
  --display: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", sans-serif;
  --body: "Public Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--coral); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1.1em; max-width: 66ch; }
.lead { font-size: 1.22rem; line-height: 1.6; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--navy-deep); }
.btn-amber:hover { background: #ffc54f; color: var(--navy-deep); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--coral); color: #fff; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 50px; height: 50px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.01em; line-height: 1.05; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
nav a { text-decoration: none; font-weight: 600; color: var(--ink); padding: 6px 0; background: linear-gradient(var(--amber), var(--amber)) 0 100% / 0 3px no-repeat; transition: background-size .2s ease; }
nav a:hover, nav a[aria-current="page"] { color: var(--navy); background-size: 100% 3px; }
nav a.btn { background-image: none; padding: 10px 22px; color: #fff; }
nav a.btn:hover { color: #fff; }
.menu-btn { display: none; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font: 600 .95rem var(--display); color: var(--navy); cursor: pointer; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -160px; top: -200px; background: var(--navy-deep); }
.hero::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; right: 9%; bottom: -62px; background: var(--coral); }
.hero .wrap { position: relative; z-index: 1; padding-top: 84px; padding-bottom: 78px; }
.hero h1 { color: #fff; max-width: 17ch; animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero .lead { color: #dbe7f1; max-width: 52ch; margin-top: 24px; animation: rise .8s .12s cubic-bezier(.2,.7,.2,1) both; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; animation: rise .8s .24s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* World clock strip (the one memorable thing) */
.clocks { position: relative; z-index: 1; margin-top: 56px; }
.clocks-title { font-family: var(--display); font-weight: 600; color: var(--amber); margin: 0 0 14px; font-size: 1.05rem; }
.clock-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid rgba(255,255,255,.22); }
.clock { padding: 18px 20px 6px 0; }
.clock + .clock { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.18); }
.clock .city { font-family: var(--display); font-weight: 600; color: #fff; font-size: 1rem; }
.clock .time { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.clock .time i { font-style: normal; font-size: .5em; font-weight: 600; margin-left: 4px; color: #b8cbdc; }
.clock .status { font-size: .93rem; color: var(--mint); margin: 2px 0 0; }
.clock.asleep .status { color: #f5b6ae; }

/* Sections */
section.block { padding: 88px 0; }
section.tint { background: var(--mist); }
.two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.two.flip { grid-template-columns: 1fr 1.15fr; }
.photo { border-radius: 28px 28px 28px 6px; overflow: hidden; position: relative; }
.photo.alt { border-radius: 28px 6px 28px 28px; }
.photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(14,39,64,.08); pointer-events: none; }
.pull { border-left: 5px solid var(--amber); padding: 4px 0 4px 20px; margin-top: 28px; font-family: var(--display); font-weight: 600; font-size: 1.28rem; line-height: 1.35; color: var(--navy); max-width: 34ch; }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head p { color: var(--muted); margin-top: 12px; }

/* Trail: sequence of steps joined by a path */
.trail { list-style: none; margin: 0; padding: 0; position: relative; max-width: 860px; }
.trail::before { content: ""; position: absolute; left: 25px; top: 24px; bottom: 24px; width: 4px; background: var(--line); border-radius: 4px; }
.trail > li { position: relative; padding: 0 0 44px 84px; }
.trail > li:last-child { padding-bottom: 0; }
.node { position: absolute; left: 0; top: -2px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 800 1.25rem var(--display); color: var(--navy-deep); border: 4px solid #fff; }
.tint .node { border-color: var(--mist); }
.n1 { background: var(--amber); } .n2 { background: var(--mint); } .n3 { background: var(--coral); color: #fff; } .n4 { background: var(--navy); color: #fff; }
.trail h3 { margin-bottom: 8px; }
.trail p { color: var(--muted); margin-bottom: .6em; }
.trail ul { margin: 12px 0 0; padding-left: 20px; max-width: 66ch; }
.trail ul li { margin-bottom: 10px; padding-left: 4px; }
.trail ul li::marker { color: var(--coral); }

/* Call to action band */
.cta { background: var(--amber); color: var(--navy-deep); overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.cta h2 { color: var(--navy-deep); font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.cta p { margin-top: 14px; font-size: 1.12rem; }
.cta .btn-navy:hover { background: var(--coral); }

/* Page header (inner pages) */
.page-head { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -90px; top: -150px; background: var(--navy-deep); }
.page-head::after { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; right: 18%; bottom: -34px; background: var(--amber); }
.page-head .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.page-head h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.page-head p { color: #dbe7f1; font-size: 1.18rem; margin: 14px 0 0; max-width: 50ch; }

/* About */
.about-grid { display: grid; grid-template-columns: 330px 1fr; gap: 64px; align-items: start; }
.profile { position: sticky; top: 100px; }
.profile .photo { border-radius: 28px 28px 28px 6px; }
.profile h2 { font-size: 1.7rem; margin-top: 22px; }
.profile .role { color: var(--muted); margin: 4px 0 18px; }
.glance { list-style: none; padding: 0; margin: 26px 0 0; border-top: 2px solid var(--line); }
.glance li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .97rem; line-height: 1.45; }
.glance b { display: block; font-family: var(--display); color: var(--navy); font-size: 1.02rem; }
.bio h2 { font-size: 1.55rem; margin: 44px 0 14px; }
.bio h2:first-of-type { margin-top: 0; }
.bio p { max-width: 68ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.who { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--navy); margin: 0; }
.who-role { color: var(--muted); margin: 0 0 22px; }
.reach { list-style: none; margin: 0; padding: 0; }
.reach li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.reach .dot { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.reach .dot svg { width: 20px; height: 20px; }
.reach .d1 { background: var(--mint-tint); } .reach .d2 { background: #fdeccd; }
.reach small { display: block; color: var(--muted); font-size: .85rem; }
.reach strong { font-weight: 600; word-break: break-word; }
.form-panel { background: var(--mist); border: 1px solid var(--line); border-radius: 28px 28px 28px 6px; padding: 36px; }
.form-panel h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-panel > p { color: var(--muted); }
label { display: block; font-weight: 600; margin: 18px 0 6px; font-size: .96rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, textarea { width: 100%; padding: 13px 14px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #b8c7d3; border-radius: 12px; }
input:focus, textarea:focus { outline: 3px solid var(--amber); outline-offset: 0; border-color: var(--navy); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-panel .btn { margin-top: 22px; }
.form-msg { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: var(--mint-tint); color: #1d5a36; border: 1px solid var(--mint); }
.form-msg.err { display: block; background: #fdeceb; color: #8a2b22; border: 1px solid #f3b1aa; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c3d3e0; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #9fb5c8; }
.site-footer p { font-size: .96rem; max-width: 36ch; margin-top: 16px; }
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: .96rem; }
.site-footer a { color: #c3d3e0; }
.site-footer a:hover { color: var(--amber); }
.legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 20px; font-size: .88rem; color: #8fa5b8; }

@media (max-width: 900px) {
  .two, .two.flip, .cta .wrap, .about-grid, .contact-grid, .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .profile { position: static; max-width: 340px; }
  .clock-row { grid-template-columns: 1fr 1fr; }
  .clock:nth-child(3) { padding-left: 0; border-left: 0; }
  .clock:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); margin-top: 8px; }
  section.block { padding: 64px 0; }
  .menu-btn { display: block; }
  .site-header .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  nav { width: 100%; }
  nav ul { display: none; flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px 0 14px; }
  nav ul.open { display: flex; }
  .hero .wrap { padding-top: 56px; }
}
@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .form-panel { padding: 24px; }
  .trail > li { padding-left: 72px; }
  .node { width: 48px; height: 48px; }
  .trail::before { left: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1, .hero .lead, .hero .actions { animation: none; }
  .btn { transition: none; }
}

/* Footer logo mark sits on dark navy: give it a round white backing */
.site-footer .brand img { background: #fff; border-radius: 50%; padding: 2px; }

/* v3 additions */
.glance .joke { display: block; margin-top: 4px; font-style: italic; color: var(--muted); font-size: .92rem; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--navy-deep); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcap { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.video-card h3 { margin: 18px 0 8px; font-size: 1.2rem; }
.video-card p { color: var(--muted); margin-bottom: .6em; }
.video-card .watch { font-weight: 600; }
.intro .wrap { max-width: 860px; text-align: center; }
.intro .lead, .intro .pull { margin-left: auto; margin-right: auto; }
.intro .pull { text-align: left; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tile { background: #fff; border-radius: 24px 24px 24px 6px; padding: 30px 28px 28px; border-top: 8px solid var(--amber); }
.tile.t-mint { border-top-color: var(--mint); }
.tile.t-coral { border-top-color: var(--coral); }
.tile h3 { margin-bottom: 10px; }
.tile p { color: var(--muted); }
.tile a { font-weight: 600; }
@media (max-width: 900px) {
  .videos, .tiles { grid-template-columns: 1fr; }
}

/* v4: video thumbnails that open YouTube */
a.video { display: block; text-decoration: none; }
a.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
a.video:hover img { transform: scale(1.03); }
a.video .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s ease; }
a.video:hover .play { transform: scale(1.08); }
a.video .play svg { width: 32px; height: 32px; fill: var(--navy-deep); margin-left: 4px; }
@media (prefers-reduced-motion: reduce) { a.video img, a.video .play { transition: none; } }
