/* Sapphire of Tree LLC: vivid sapphire, buoy orange and sea glass on a near-black night-shore base; serif type
   throughout, oversized logo and name with underline navigation, split hero, dotted-leader gear menu,
   double and offset borders, outlined buttons */
@font-face {
  font-family: "Crimson Pro";
  src: url("fonts/crimson-pro-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Pro";
  src: url("fonts/crimson-pro-400i.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Pro";
  src: url("fonts/crimson-pro-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0b0f17;
  --deep: #101828;
  --sapphire: #3f88ff;
  --sapphire-soft: #8fb8ff;
  --buoy: #ff7a1a;
  --glass: #5fe0c0;
  --sand: #f2e4c4;
  --text: #e9eef7;
  --muted: #a9b4c8;
  --line: #2a3550;
  --serif: "Crimson Pro", Georgia, "Times New Roman", serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--serif); font-size: 20px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sapphire-soft); text-underline-offset: 3px; }
a:hover { color: var(--sand); }
:focus-visible { outline: 2px solid var(--buoy); outline-offset: 3px; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; margin: 0 0 0.45em; color: var(--text); }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px;
  background: var(--buoy); color: var(--night); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* oversized logo and name, underline nav */
.site-header { border-bottom: 3px double var(--line); }
.head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0 18px; }
.brand { display: flex; align-items: center; gap: 18px; color: var(--text); text-decoration: none; min-width: 0; }
.brand img { width: 96px; height: 96px; }
.brand-name { font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1; letter-spacing: -0.01em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.main-nav a { display: block; padding: 4px 0; color: var(--muted); text-decoration: none; font-size: 1.1rem; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: var(--text); border-bottom-color: var(--line); }
.main-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--sapphire); }

/* sections */
.section { padding: 56px 0; }
.pt0 { padding-top: 0; }
.waves { background: var(--deep) url("assets/motif-waves.svg") 0 0 / 80px 24px; border-top: 3px double var(--line); border-bottom: 3px double var(--line); }
.tag { display: inline-block; margin: 0 0 16px; padding: 3px 12px; border: 3px double var(--glass); color: var(--glass); font-size: 0.95rem; }
.kicker { margin: 0 0 4px; color: var(--buoy); font-style: italic; font-size: 1.05rem; }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 34em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.btn { display: inline-block; padding: 9px 20px; border: 2px solid var(--sapphire); color: var(--text); text-decoration: none; font-weight: 700; box-shadow: 4px 4px 0 var(--sapphire); }
.btn:hover { background: var(--sapphire); color: var(--night); }
.btn-alt { border-color: var(--sand); box-shadow: 4px 4px 0 var(--buoy); }
.btn-alt:hover { background: var(--sand); color: var(--night); }
.amount { font-size: 1.45rem; font-weight: 700; color: var(--buoy); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.split.top { align-items: start; grid-template-columns: 1.25fr 1fr; }
.frame-art { border: 6px double var(--sapphire); padding: 8px; }
.hero-art { width: 100%; }
.gear { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gear a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 18px; border: 2px solid var(--line); background: var(--night); color: var(--text); text-decoration: none; box-shadow: 5px 5px 0 var(--line); }
.gear a:hover { border-color: var(--sapphire); box-shadow: 5px 5px 0 var(--sapphire); }
.gear img { width: 52px; height: 52px; }
.gear strong { display: block; font-size: 1.2rem; }
.gear small { display: block; color: var(--muted); font-size: 0.92rem; line-height: 1.35; margin-top: 4px; }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 3px double var(--line); }
.ruled li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.ruled strong { color: var(--text); }
.offset-box { border: 2px solid var(--sand); padding: 26px; box-shadow: 8px 8px 0 var(--sapphire); background: var(--night); }
.offset-box p { color: var(--muted); }
.offset-box .amount { color: var(--buoy); }
.double-box { border: 6px double var(--line); padding: 22px; }
.double-box.flush { padding: 6px; }

/* dotted-leader gear menu in two columns */
.jump { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.jump a { color: var(--text); text-decoration: none; border-bottom: 2px solid var(--sapphire); font-size: 1.05rem; }
.jump a:hover { color: var(--sand); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 56px; align-items: start; }
.menu-cat { scroll-margin-top: 16px; }
.menu-head { display: flex; align-items: center; gap: 14px; padding-bottom: 10px; border-bottom: 3px double var(--sapphire); }
.menu-head img { width: 50px; height: 50px; }
.menu-head h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.75rem); letter-spacing: 0.04em; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.leader { display: flex; align-items: baseline; gap: 8px; }
.leader h3 { margin: 0; flex: 0 1 auto; font-size: 1.1rem; }
.leader .dots { flex: 1 1 30px; min-width: 20px; border-bottom: 2px dotted var(--sapphire); transform: translateY(-5px); }
.leader .price { flex: 0 0 auto; font-weight: 700; color: var(--sand); white-space: nowrap; font-size: 1.1rem; }
.leader .price.quote { white-space: normal; max-width: 9em; text-align: right; color: var(--buoy); font-size: 1rem; line-height: 1.2; }
.menu p { margin: 3px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.4; }
.menu .call { white-space: nowrap; }
.offers { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.offers h3 { font-size: 1.35rem; }
.offers p { margin: 0 0 6px; }

/* about */
.story p { color: var(--muted); }
.story p.first { color: var(--text); font-size: 1.4rem; line-height: 1.45; }
.facts, .details { margin: 0 0 16px; }
.facts div, .details div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts dt, .details dt { color: var(--glass); font-style: italic; font-size: 1rem; }
.facts dd, .details dd { margin: 0; overflow-wrap: anywhere; color: var(--text); }
.facts dd { font-weight: 700; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why li { padding: 22px; border: 6px double var(--line); color: var(--muted); }
.why strong { display: block; margin-bottom: 8px; color: var(--sand); font-size: 1.35rem; line-height: 1.2; }

/* contact */
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 700; font-size: 1.9rem; margin-bottom: 8px; }
.hours thead th { text-align: left; padding: 6px 0; color: var(--glass); font-style: italic; font-weight: 400; border-bottom: 3px double var(--line); }
.hours tbody th, .hours tbody td { text-align: left; vertical-align: top; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours tbody th { padding-right: 14px; }
.hours td { white-space: nowrap; }
.hours .note { display: block; white-space: normal; color: var(--muted); font-size: 0.92rem; }
.map-frame { display: block; width: 100%; height: 420px; border: 0; background: var(--deep); }
.map-link { margin: 14px 0 0; }

/* footer */
.site-footer { border-top: 3px double var(--line); padding: 40px 0 24px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 28px; }
.footer-name { font-weight: 700; font-size: 1.4rem; color: var(--text); margin-bottom: 6px; }
.footer-title { color: var(--text); font-weight: 700; margin-bottom: 8px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.95rem; }

@media (max-width: 1080px) {
  .head { flex-direction: column; align-items: flex-start; }
  .gear { grid-template-columns: repeat(3, 1fr); }
  .split, .split.top { grid-template-columns: 1fr; gap: 34px; }
  .menu-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 40px 0; }
  .section.pt0 { padding-top: 0; }
  .gear { grid-template-columns: 1fr 1fr; }
  .offers, .why, .footer-grid { grid-template-columns: 1fr; }
  .brand img { width: 76px; height: 76px; }
}
@media (max-width: 520px) {
  body { font-size: 18.5px; }
  .gear { grid-template-columns: 1fr; }
  .main-nav ul { gap: 4px 18px; }
  .leader { flex-wrap: wrap; }
  .leader .dots { display: none; }
  .leader h3 { flex-basis: 100%; }
  .leader .price.quote { text-align: left; max-width: none; }
  .offset-box { box-shadow: 5px 5px 0 var(--sapphire); padding: 20px; }
  .double-box { padding: 14px; }
  .map-frame { height: 320px; }
}
