@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/oswald-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
}

:root {
  --ink: #062b43;
  --ink-2: #0d4f70;
  --sky: transparent; /* --sky: #1676a6; #adddf4 #69cbe8; */  
  --sky-pale: #e7f8fd;
  --paper: #f8fbfc;
  --line: #d5e8ef;
  --coral: #f24e55;
  --gold: #e7bb31;
  --white: #fff;
  --shadow: 0 18px 45px rgb(6 43 67 / 13%);

}

/* Desktop first approach */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  max-width: 1200px;
  margin: 0 auto;
  color: var(--ink);
  background: var(--paper) url("images/home-bg.jpg") center top / cover fixed no-repeat;
  font-family: "Source Sans 3";
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { 
  text-decoration: none; 
  font-weight: 500; 
  letter-spacing: .08em; 
  color: var(--white); 
  background: var(--ink-2); 
  padding: 4px 11px 5px; 
  line-height: 1; 
}
.brand small { 
  display: block; 
  font-size: .8rem; 
  letter-spacing: 0.05em; 
  margin-top: 3px; 
  opacity: .82;
  font-variant: small-caps;
}
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.nav-links a { font-size: .8rem; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--coral); }
.hero { 
  color: var(--white); 
  /* background: var(--ink);  */
  position: relative; 
  overflow: hidden; 
  background: url("images/landscape.jpg") bottom / cover;
}
/* .hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; } */
/* .hero::before { background: linear-gradient(124deg, rgb(9 66 94 / 94%), rgb(3 24 39 / 74%)), linear-gradient(90deg, transparent 50%, rgb(105 203 232 / 18%) 50%); background-size: auto, 48px 48px; } */
.hero--home { background: var(--ink) url("images/planes.jpg") center / cover no-repeat; }
 
/* .hero--home::before { background: linear-gradient(124deg, rgb(6 43 67 / 84%), rgb(3 24 39 / 46%)), linear-gradient(90deg, transparent 50%, rgb(105 203 232 / 16%) 50%); background-size: auto, 48px 48px; } */
/* .hero::after { inset: auto -12% -48% 43%; height: 420px; border: 56px solid rgb(105 203 232 / 25%); border-radius: 50%; transform: rotate(-18deg); } */

.hero .wrap { position: relative; z-index: 1; min-height: 450px; padding: 86px 0 12px; display: flex; align-items: center; }
.eyebrow, .section-kicker { margin: 0 0 12px; color: var(--ink); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Oswald"; font-weight: 400; letter-spacing: .055em; line-height: 1.04; text-transform: uppercase; }
h1 { 
  max-width: 780px; 
  margin-bottom: 22px; 
  font-size: 3.75rem;
}
h2 { 
  font-size: 2.25rem;
  margin-bottom: 18px; 
}
h3 { 
  font-size: 1.25rem; 
  margin-bottom: 12px; 
}
.hero-copy { max-width: 600px; color: #d7eff8; font-size: 1.16rem; }
.button { display: inline-block; border: 0; background: var(--coral); color: var(--white); padding: 13px 20px; font-weight: 900; font-size: .8rem; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; box-shadow: 0 8px 0 rgb(140 37 43 / 34%); }
.button:hover { background: #db3d46; transform: translateY(1px); box-shadow: 0 7px 0 rgb(140 37 43 / 34%); }
.section { padding: 86px 0; }
.section--tight { padding: 64px 0; }
.section--sky { background: var(--sky); }
.section--dark { background: var(--ink); color: var(--white); }
.dark-maze { background: linear-gradient(rgb(6 43 67 / 20%), rgb(6 43 67 / 20%)), url("images/maze.jpg") center / cover no-repeat; }
.dark-maze .section--dark { background: transparent; }
.section--dark .section-kicker { color: var(--gold); }
.lead { color: #37566a; font-size: 1.12rem; }
.section--dark .lead { color: #ccebf5; }
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); align-items: start; gap: 70px; }
.promise { border-left: 6px solid var(--coral); padding: 22px 0 22px 27px; background: linear-gradient(90deg, rgb(105 203 232 / 17%), transparent); }
.promise strong { display: block; margin-bottom: 9px; font-size: 1.08rem; }
.tick-list { margin: 18px 0 0; padding: 0; list-style: none; }
.tick-list li { margin: 7px 0; }
.tick-list li::before { content: "✓"; color: var(--coral); font-weight: 900; padding-right: 10px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 38px; }
.service-card { min-height: 260px; padding: 31px 28px; background: var(--white); border-top: 7px solid var(--ink-2); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.service-card:nth-child(2n) { border-color: var(--coral); }
.service-icon { display: grid; width: 76px; height: 76px; place-items: center; margin-bottom: 20px; color: var(--white); background: var(--ink-2); border-radius: 50%; transform: rotate(0deg); transition: transform 1.1s ease-in-out; }
.service-card:nth-child(2n) .service-icon { background: var(--coral); }
.service-icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.service-card:hover, .service-card:focus-within { box-shadow: 0 24px 50px rgb(6 43 67 / 20%); transform: translateY(-5px); }
.service-card:hover .service-icon, .service-card:focus-within .service-icon { transform: rotate(360deg); transition-duration: .45s; }
@media (prefers-reduced-motion: reduce) {
  .service-card { transition: none; }
  .service-card:hover, .service-card:focus-within { transform: none; }
  .service-icon { transition: none; }
  .service-card:hover .service-icon, .service-card:focus-within .service-icon { transform: none; }
  .meter > span { transition: none; }
}
.service-card p { color: #4c6978; margin-bottom: 20px; }
.service-card a { margin-top: auto; color: var(--ink-2); font-weight: 900; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 38px; }
.stat { padding: 31px 19px; background: rgb(0 0 0 / 17%); text-align: center; }
.stat b { display: block; color: var(--gold); font-family: "Oswald"; font-size: 3.3rem; font-weight: 400; line-height: 1; }
.stat span { display: block; margin-top: 12px; color: #d8f4fc; font-family: "Oswald"; font-size: 1rem; letter-spacing: .045em; line-height: 1.1; text-transform: uppercase; }
.skills { display: grid; grid-template-columns: .7fr 1.3fr; gap: 65px; align-items: center; }
.skill { margin: 18px 0; }
.skill-label { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.meter { height: 12px; overflow: hidden; background: rgb(255 255 255 / 23%); margin-top: 7px; }
.meter > span { display: block; width: 0; height: 100%; background: var(--coral); transition: width 1.5s cubic-bezier(.2,.7,.2,1); }
.skill:nth-child(2) .meter > span { transition-delay: .1s; }
.skill:nth-child(3) .meter > span { transition-delay: .2s; }
.skill:nth-child(4) .meter > span { transition-delay: .3s; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 35px; }
.project { min-height: 185px; padding: 22px; color: var(--white); background: var(--ink-2); display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.project:nth-child(3n + 2) { background: #277e99; }
.project:nth-child(3n) { background: #1a6585; }
.project:hover { background: var(--coral); transform: translateY(-4px); }
.project small { color: #d7f3fc; font-size: .76rem; }
.project strong { display: block; font-family: "Oswald"; font-size: 1.25rem; font-weight: 400; letter-spacing: .04em; line-height: 1.1; text-transform: uppercase; }
.projects-section { 
  position: relative; 
  overflow: hidden; 
  /* background: linear-gradient(135deg, var(--paper) 0 82%, var(--sky-pale) 82%); */
}
.project-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-top: 38px; }
.project-card { position: relative; display: block; aspect-ratio: 600 / 333; overflow: hidden; min-width: 0; color: var(--white); background: var(--ink); text-decoration: none; isolation: isolate; }
.project-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(5 28 44 / 0%) 28%, rgb(5 28 44 / 92%) 100%); transition: background .7s ease; }
.project-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.project-card__meta { position: absolute; z-index: 2; right: 20px; bottom: 18px; left: 20px; }
.project-card small { display: block; margin-bottom: 4px; color: var(--sky); font-size: .72rem; font-weight: 800; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.project-card strong { display: block; font-family: "Oswald"; font-size: 1.6rem; font-weight: 400; letter-spacing: .055em; line-height: 1; text-transform: uppercase; }
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.075); }
.project-card:hover::after, .project-card:focus-visible::after { background: linear-gradient(180deg, rgb(5 28 44 / 10%) 22%, rgb(5 28 44 / 97%) 100%); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about { 
  min-height: 160px; 
  padding: 28px 23px; 
  overflow: hidden; 
  color: var(--ink); 
  /* background: rgb(255 255 255 / 84%);  */
}
.about img { display: block; width: 100%; aspect-ratio: 300 / 113; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.about:hover img { transform: scale(1.075); }
.about h3 { margin: 0 0 18px; font-size: 1.2rem; text-align: center; }
.section--map { background: transparent; }
.map-frame { overflow: hidden; border-top: 7px solid var(--ink-2); box-shadow: var(--shadow); }
.map-frame iframe { display: block; width: 100%; height: 400px; border: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { min-height: 216px; padding: 30px; color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
.contact-card .label { color: var(--coral); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-card a { font-family: "Oswald"; font-size: 1.7rem; font-weight: 400; letter-spacing: .04em; line-height: 1.18; overflow-wrap: anywhere; }
.contact-card p { color: #547181; }
.page-hero .wrap { min-height: 310px; padding: 68px 0; }
.page-hero h1 { margin-bottom: 0; font-size: 4.5rem; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 30px; align-items: start; }
.content-layout--wide { grid-template-columns: minmax(0, 1fr); }
.article > * + * { margin-top: 22px; }
.article p, .article li { color: var(--ink); }
.article h2 { margin-top: 52px; }
.article ul { padding-left: 21px; }
.side-note { padding: 26px; background: var(--sky-pale); border-top: 6px solid var(--coral); }
.side-note h3 { color: var(--ink-2); }
.tool-panel { padding: 30px; background: var(--sky-pale); border-top: 6px solid var(--ink-2); }
.tool-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
input { width: 100%; min-height: 48px; border: 1px solid #9fc9d8; padding: 10px 12px; color: var(--ink); font: inherit; }
.tool-result { min-height: 64px; margin: 18px 0 0; padding: 16px; color: var(--white); background: var(--ink); font-family: "Source Sans 3"; }
.converter { overflow: hidden; border: 2px solid var(--ink); background: var(--white); box-shadow: var(--shadow); }
.converter__header { padding: 16px 24px; color: var(--white); background: linear-gradient(180deg, #396e8a, var(--ink-2)); }
.converter__header h3 { margin: 0; color: inherit; font-size: 1.45rem; }
.converter__header p { margin: 4px 0 0; color: #d9f0fa; font-size: .93rem; }
.converter__body { padding: 26px 28px 24px; }
.converter__intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.converter h4 { margin: 0 0 6px; color: var(--ink-2); font-size: .79rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.converter ul { margin: 0; padding: 0; list-style: none; font-size: .93rem; }
.converter li { margin: 4px 0; }
.converter li::before { content: "→"; margin-right: 7px; color: var(--coral); font-weight: 900; }
.converter__fields { display: grid; grid-template-columns: auto 130px auto minmax(0, 1fr) auto 60px; align-items: center; gap: 12px 14px; margin-top: 24px; }
.converter fieldset { 
  display: grid; grid-column: 1 / -1; 
  grid-template-columns: 60px minmax(120px, 440px) auto 85px minmax(120px, 440px) auto; 
  align-items: center; 
  column-gap: 0; 
  row-gap: 10px; 
  min-width: 0; 
  margin: 0; 
  padding: 15px 16px 16px; 
  border: 1px solid #9fc9d8; 
}
.converter legend { padding: 0 6px; color: var(--ink-2); font-weight: 900; }
.converter legend span { color: #537283; font-size: .84rem; font-weight: 400; }
.converter label { color: var(--ink-2); font-weight: 900; }
.converter label span, .field-suffix { color: #537283; font-weight: 400; }
.converter label[for="code-hex"] span { font-size: 0; }
.converter label[for="code-hex"] span::after { content: "&#x"; font-size: 16px; }
.converter label[for="code-dec"] { margin-left: 34px; }
.converter input, .converter select { min-width: 0; min-height: 43px; }
.converter select { border: 1px solid #9fc9d8; padding: 7px 10px; color: var(--ink); background: var(--white); font: inherit; }
.converter #code-key { width: 60px; color: #537283; background: #f2f8fa; }
.converter__key-note { grid-column: 2 / -1; margin: -7px 0 0; color: #537283; font-size: .8rem; }
.converter__status { margin: 20px 0 0; padding: 10px 13px; color: #31586d; background: var(--sky-pale); font-size: .9rem; }
.converter__status.is-error { color: #9b2630; background: #fff0f1; }
.utf-table { overflow: hidden; border: 2px solid var(--ink); background: var(--white); box-shadow: var(--shadow); }
.utf-table__header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr); align-items: end; gap: 22px; padding: 16px 24px; color: var(--white); background: linear-gradient(180deg, #396e8a, var(--ink-2)); }
.utf-table__header h3 { margin: 0; color: inherit; font-size: 1.45rem; }
.utf-table__header p { margin: 0; color: #d9f0fa; font-size: .92rem; line-height: 1.45; }
.utf-table__body { padding: 24px 26px 20px; }
.utf-table__intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.utf-table h4 { margin: 0 0 6px; color: var(--ink-2); font-size: .79rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.utf-table__intro ul { margin: 0; padding: 0; list-style: none; font-size: .93rem; }
.utf-table__intro li { margin: 4px 0; }
.utf-table__intro li::before { content: "→"; margin-right: 7px; color: var(--coral); font-weight: 900; }
.utf-table__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; }
.utf-table__controls label { color: var(--ink-2); font-size: .82rem; font-weight: 900; }
.utf-table__hex-toggle { display: inline-flex; align-items: center; gap: 7px; margin-right: 7px; }
.utf-table__hex-toggle input { width: auto; min-height: 0; margin: 0; }
.utf-table__controls input, .utf-table__controls select { width: auto; min-height: 40px; border: 1px solid #9fc9d8; padding: 7px 10px; color: var(--ink); background: var(--white); font: inherit; }
.utf-table__controls #utf-table-from { width: 94px; }
.utf-table__nav { min-width: 38px; min-height: 40px; border: 1px solid var(--ink-2); color: var(--white); background: var(--ink-2); font: 900 1.05rem/1 "Source Sans 3"; cursor: pointer; }
.utf-table__nav:hover { background: var(--coral); border-color: var(--coral); }
.utf-table__scroll { overflow-x: auto; border-top: 1px solid var(--line); }
.utf-table table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 1.1rem; font-weight: bold; }
.utf-table caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.utf-table th { padding: 8px 9px; color: #d9f0fa; background: var(--ink); font-size: .7rem; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.utf-table td { padding: 5px 9px; border-bottom: 1px solid var(--line); }
.utf-table tbody tr:nth-child(even) { background: #f6fbfd; }
.utf-table tbody tr:hover { background: #e7f8fd; }
.utf-table__code { color: #537283; font-family: monospace; text-align: end; }
.utf-table__character { width: 1%; min-width: 29px; color: var(--ink-2); font-family: var(--utf-character-font, inherit); font-size: 1.5rem; line-height: 1.2; text-align: center; }
.utf-table__summary { margin: 0; padding: 11px 26px; color: #31586d; background: var(--sky-pale); font-size: .86rem; }
.trips-hero { 
  background: url("images/landscape.jpg") bottom / cover;
}
.trips-section { min-height: 520px; }
.trip-albums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 16px; margin-top: 38px; }
.trip-album { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; color: var(--white); background: var(--ink); box-shadow: var(--shadow); text-decoration: none; }
.trip-album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(5 28 44 / 0%) 30%, rgb(5 28 44 / 92%) 100%); transition: background .4s ease; }
.trip-album img, .trip-album video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.trip-album:hover img, .trip-album:hover video, .trip-album:focus-visible img, .trip-album:focus-visible video { transform: scale(1.06); }
.trip-album:hover::after, .trip-album:focus-visible::after { background: linear-gradient(180deg, rgb(5 28 44 / 10%) 20%, rgb(5 28 44 / 98%) 100%); }
.trip-album__meta { position: absolute; z-index: 1; right: 22px; bottom: 19px; left: 22px; }
.trip-album strong { display: block; font-family: "Oswald"; font-size: 1.8rem; font-weight: 400; letter-spacing: .055em; line-height: 1; text-transform: uppercase; }
.trip-album small { display: block; margin-top: 6px; color: #d8f4fc; font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.trip-back { margin: 0 0 22px; padding: 0; border: 0; color: var(--ink-2); background: transparent; font: 900 .8rem/1 "Source Sans 3"; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.trip-back:hover { color: var(--coral); }
.trip-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 38px; }
.trip-photo { position: relative; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; border: 0; background: var(--ink); cursor: pointer; }
.trip-photo img, .trip-photo video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.trip-photo:hover img, .trip-photo:hover video, .trip-photo:focus-visible img, .trip-photo:focus-visible video { transform: scale(1.08); }
.trip-media-badge { position: absolute; z-index: 2; right: 8px; bottom: 8px; padding: 3px 7px; color: var(--white); background: rgb(3 24 39 / 86%); font-size: .68rem; font-weight: 900; letter-spacing: .07em; line-height: 1.1; text-transform: uppercase; }
.trip-viewer { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; color: var(--white); background: #031927; }
.trip-viewer:not([open]) { display: none; }
.trip-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
html:has(.trip-viewer[open]) { overflow: hidden; }
.trip-viewer::backdrop { background: rgb(0 0 0 / 82%); }
.trip-viewer__bar { display: flex; min-height: 40px; align-items: center; justify-content: space-between; padding: 4px 10px 4px 14px; background: var(--ink); }
.trip-viewer__caption { margin: 0; font-family: "Oswald"; font-size: 1.05rem; letter-spacing: .055em; text-transform: uppercase; }
.trip-viewer__close, .trip-viewer__nav { border: 0; color: var(--white); background: transparent; font-family: "Source Sans 3"; cursor: pointer; }
.trip-viewer__close { width: 32px; height: 32px; font-size: 1.7rem; line-height: 1; }
.trip-viewer__stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #020b11; }
.trip-viewer__stage > img, .trip-viewer__stage > video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.trip-viewer__stage > [hidden] { display: none !important; }
.trip-viewer__nav { position: absolute; z-index: 1; top: 50%; width: 44px; height: 64px; font-size: 3.2rem; line-height: .8; background: rgb(2 11 17 / 45%); transform: translateY(-50%); }
.trip-viewer__nav:hover, .trip-viewer__nav:focus-visible { color: var(--coral); background: rgb(255 255 255 / 10%); }
.trip-viewer__nav--previous { left: 0; }
.trip-viewer__nav--next { right: 0; }
.trip-viewer__tools { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 7px 10px; background: var(--ink); font-size: .78rem; font-weight: 900; line-height: 1.2; }
.trip-viewer__tools label { letter-spacing: .04em; text-transform: uppercase; }
.trip-viewer__tools select { min-height: 30px; padding: 3px 6px; border: 1px solid #8cbace; color: var(--ink); background: var(--white); font: inherit; }
.trip-viewer__tool-navigation { display: inline-flex; gap: 4px; }
.trip-viewer__tool-nav { width: 30px; min-height: 30px; border: 1px solid rgb(255 255 255 / 45%); color: var(--white); background: transparent; font: 400 1.6rem / .8 "Source Sans 3"; cursor: pointer; }
.trip-viewer__tool-nav:hover, .trip-viewer__tool-nav:focus-visible { border-color: var(--coral); color: var(--white); background: var(--coral); }
.trip-viewer__play { padding: 7px 10px; box-shadow: none; cursor: pointer; }
.trip-viewer__drawer { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 24px; }
.trip-viewer__strip { position: absolute; right: 0; bottom: 0; left: 0; display: flex; height: 82px; gap: 5px; padding: 5px 8px; overflow-x: auto; overflow-y: hidden; background: rgb(3 25 39 / 94%); opacity: 0; pointer-events: none; transform: translateY(100%); transition: transform .2s ease, opacity .2s ease; }
.trip-viewer__drawer:hover .trip-viewer__strip,
.trip-viewer__drawer:has(:focus-visible) .trip-viewer__strip,
.trip-viewer__drawer.is-expanded .trip-viewer__strip { opacity: 1; pointer-events: auto; transform: translateY(0); }
.trip-viewer__drawer-toggle { display: none; }
@media (hover: none) {
  .trip-viewer__drawer-toggle { position: absolute; right: 8px; bottom: 2px; display: block; border: 0; padding: 3px 8px; color: var(--white); background: var(--ink); font: inherit; font-size: .75rem; }
  .trip-viewer__drawer.is-expanded .trip-viewer__drawer-toggle { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .trip-viewer__strip { transition: none; }
}
.trip-viewer__thumb { position: relative; flex: 0 0 74px; height: 56px; padding: 0; overflow: hidden; border: 2px solid transparent; background: var(--ink); cursor: pointer; }
.trip-viewer__thumb.is-current { border-color: var(--coral); }
.trip-viewer__thumb img, .trip-viewer__thumb video { display: block; width: 100%; height: 100%; object-fit: cover; }
.trip-viewer__thumb .trip-media-badge { right: 2px; bottom: 2px; padding: 2px 3px; font-size: .55rem; }
.site-footer { padding: 38px 0; color: #b9d8e4; background: #061d2c; font-size: .86rem; }
.footer-row { display: flex; justify-content: space-between; gap: 25px; }
.footer-row a { color: var(--white); }

/* Responsive styles: tablet, mobile */
@media (max-width: 850px) {
  h1 { font-size: 2.65rem; }
  h2 { font-size: 1.8rem; }
  .page-hero h1 { font-size: 3.2rem; }
  .project-card strong, .contact-card a { font-size: 1.25rem; }
  .nav { padding: 16px 0; align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; gap: 10px 17px; }
  .hero .wrap { min-height: 410px; padding: 66px 0; }
  .intro, .skills, .content-layout { grid-template-columns: 1fr; gap: 38px; }
  .service-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip-albums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .map-frame iframe { height: 320px; }
}
@media (max-width: 560px) {
  h1 { font-size: 2.2rem; }
  .page-hero h1 { font-size: 2.4rem; }
  .wrap { width: min(100% - 28px, 1120px); }
  .section { padding: 62px 0; }
  .service-grid, .project-grid, .about-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr; }
  .trip-albums, .trip-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip-viewer__bar { min-height: 36px; padding: 2px 7px 2px 11px; }
  .trip-viewer__caption { font-size: .98rem; }
  .trip-viewer__nav { width: 36px; height: 54px; font-size: 2.7rem; }
  .trip-viewer__tools { gap: 5px 8px; padding: 6px 8px; }
  .trip-viewer__play { padding: 6px 8px; }
  .trip-viewer__strip { height: 70px; padding: 4px 6px; }
  .trip-viewer__drawer.is-expanded .trip-viewer__drawer-toggle { bottom: 72px; }
  .trip-viewer__thumb { flex-basis: 62px; height: 46px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:last-child { grid-column: span 2; }
  .service-card { min-height: 0; }
  .footer-row { flex-direction: column; gap: 8px; }
  .tool-row { grid-template-columns: 1fr; }
  .converter__body { padding: 22px 18px; }
  .converter__intro { grid-template-columns: 1fr; }
  .converter__fields, .converter fieldset { grid-template-columns: 1fr; gap: 8px; }
  .converter select { width: 100%; }
  .converter fieldset { padding: 14px; }
  .converter__key-note { grid-column: auto; margin: -3px 0 0; }
  .field-suffix { display: none; }
  .utf-table__header { grid-template-columns: 1fr; padding: 18px; gap: 7px; }
  .utf-table__body { padding: 20px 18px 18px; }
  .utf-table__intro { grid-template-columns: 1fr; }
  .utf-table__controls { align-items: flex-start; flex-direction: column; }
  .utf-table__controls label:not(.utf-table__hex-toggle) { margin-top: 4px; }
  .utf-table__controls input, .utf-table__controls select { width: 100%; }
  .utf-table__controls #utf-table-from { width: 100%; }
  .map-frame iframe { height: 260px; }
}
