/* TurfOps case study: its own world (forest, bone, brass, survey contours,
   Turfy the ball). Scoped to .dz-tf so nothing reaches the site chrome. */
.dz-tf {
  --forest: #12281e;
  --deep: #0b1b14;
  --forest-2: #183528;
  --ink: #1b4332;
  --fairway: #2d6a4f;
  --leaf: #40916c;
  --mint: #95d5b2;
  --brass: #c4a882;
  --brass-hi: #d3bb98;
  --gold: #c9a23a;
  --bone: #f5f1e8;
  --bone-2: #ece5d6;
  --body: #3c4a42;
  --mute: #7a8a80;
  --on-forest: #e8efe9;
  --on-forest-2: #aec6bc;
  --on-forest-3: #7fa99b;
  --rule-forest: rgba(197, 168, 130, .22);
  --rule-bone: rgba(27, 67, 50, .15);
  --red: #e0674f;
  --amber: #e2b04a;
  --green: #5cc08a;
  --glass: rgba(255, 255, 255, .06);
  --glass-line: rgba(255, 255, 255, .12);
  --shadow-deep: 0 2px 4px rgba(0, 0, 0, .18), 0 40px 80px -30px rgba(0, 0, 0, .7);
  --shadow-card: 0 1px 2px rgba(16, 42, 30, .06), 0 22px 44px -18px rgba(16, 42, 30, .28);
  --gutter: clamp(16px, 5vw, 64px);
  --display: 'Inter', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: linear(0, .116, .36, .618, .829, .973, 1.052, 1.081, 1.08, 1.062, 1.04, 1.021, 1.006, .998, .994, .993, .994, .996, .998, .999, 1);
}
.dz-tf * { box-sizing: border-box; margin: 0; padding: 0; }
.dz-tf {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-forest);
  background: var(--deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.dz-tf img { display: block; max-width: 100%; height: auto; }
.dz-tf a { color: inherit; text-underline-offset: 3px; }
.dz-tf button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dz-tf ::selection { background: var(--brass); color: var(--forest); }
.dz-tf :focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 10px; }
.dz-tf .tf-cream :focus-visible { outline-color: var(--fairway); }
.dz-tf .tf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dz-tf .tf-wrap { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.dz-tf section { position: relative; overflow: clip; }
.dz-tf .tf-pad { padding: clamp(80px, 11vw, 150px) 0; }
.dz-tf .tf-mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* Grounds */
.dz-tf .tf-forest { background: radial-gradient(120% 90% at 80% 0%, #1d3d2e 0%, var(--forest) 55%, #0e2018 100%); }
.dz-tf .tf-deep { background: var(--deep); }
.dz-tf .tf-cream { background: var(--bone); color: var(--ink); }
.dz-tf .tf-contours { position: absolute; inset: auto; pointer-events: none; opacity: .32; width: 140%; max-width: none; left: -20%; top: -10%; filter: brightness(1.6) saturate(.6); mix-blend-mode: screen; }
.dz-tf .tf-contours-soft { opacity: .22; top: 10%; }
.dz-tf .tf-glass { background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }

/* Type */
.dz-tf h1, .dz-tf h2, .dz-tf h3, .dz-tf p, .dz-tf li, .dz-tf dd, .dz-tf dt, .dz-tf td, .dz-tf th, .dz-tf b, .dz-tf small { font-family: inherit; }
.dz-tf .tf-mono, .dz-tf .tf-mono * { font-family: var(--mono); }
.dz-tf h1, .dz-tf h2 { font-weight: 600; letter-spacing: -.035em; line-height: 1; text-wrap: balance; }
.dz-tf h2 { font-size: clamp(40px, 6.2vw, 80px); }
.dz-tf h3 { font-weight: 600; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
.dz-tf h1 em, .dz-tf h2 em, .dz-tf .tf-pull em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--brass); }
.dz-tf .tf-cream h2 em { color: var(--fairway); }
.dz-tf .tf-body { max-width: 58ch; color: var(--on-forest-2); }
.dz-tf .tf-cream .tf-body { color: var(--body); }
.dz-tf .tf-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); align-items: end; }
@media (min-width: 960px) { .dz-tf .tf-head { grid-template-columns: 1.25fr .75fr; gap: 64px; } }

/* Hole marker: a pin flag with the hole number */
.dz-tf .tf-stop { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.dz-tf .tf-stop svg { width: 22px; height: 30px; color: var(--on-forest-3); }
.dz-tf .tf-cream .tf-stop { color: var(--fairway); }
.dz-tf .tf-cream .tf-stop svg { color: var(--ink); --flag: var(--gold); }
.dz-tf .tf-stop-light { color: #fff; }
.dz-tf .tf-stop-light svg { color: rgba(255, 255, 255, .8); }

/* Buttons */
.dz-tf .tf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.dz-tf .tf-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform 160ms var(--ease), background-color 160ms, box-shadow 160ms; }
.dz-tf .tf-btn svg { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
.dz-tf .tf-btn:hover svg { transform: translateX(3px); }
.dz-tf .tf-btn:active { transform: scale(.97); }
.dz-tf .tf-btn-brass { background: var(--brass); color: var(--forest); box-shadow: 0 10px 30px -12px rgba(196, 168, 130, .8); }
.dz-tf .tf-btn-brass:hover { background: var(--brass-hi); }
.dz-tf .tf-btn-ghost { border: 1px solid var(--rule-forest); color: var(--on-forest); }
.dz-tf .tf-btn-ghost:hover { background: rgba(255, 255, 255, .06); }

/* ---------- Hero ---------- */
.dz-tf .tf-hero { padding: clamp(20px, 3vw, 32px) 0 clamp(56px, 8vw, 96px); }
.dz-tf .tf-strip { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--on-forest-3); padding-bottom: 18px; border-bottom: 1px solid var(--rule-forest); }
.dz-tf .tf-brand { font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-forest); }
.dz-tf .tf-hero-grid { display: grid; gap: 56px; padding-top: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 1000px) { .dz-tf .tf-hero-grid { grid-template-columns: 1.15fr .85fr; } }
.dz-tf .tf-logo { width: 112px; margin-bottom: 28px; }
.dz-tf .tf-title { font-size: clamp(52px, 8.4vw, 116px); letter-spacing: -.045em; line-height: .94; }
.dz-tf .tf-title em { display: inline-block; padding-right: .06em; }
.dz-tf .tf-lead { margin-top: 28px; max-width: 54ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--on-forest-2); }
.dz-tf .tf-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.dz-tf .tf-chips li { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--rule-forest); color: var(--on-forest-2); }
.dz-tf .tf-hero-visual { position: relative; max-width: 460px; justify-self: center; width: 100%; }
.dz-tf .tf-hole { border-radius: 28px; overflow: hidden; padding: 8px; transform: rotate(2.5deg); transition: transform 600ms var(--ease); }
.dz-tf .tf-hole img { border-radius: 20px; }
.dz-tf .tf-hero-visual:hover .tf-hole { transform: rotate(0deg) scale(1.01); }
.dz-tf .tf-hero-turfy { position: absolute; left: -54px; bottom: 36px; display: grid; justify-items: start; gap: 8px; }
.dz-tf .tf-bubble { position: relative; background: var(--bone); color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.35; padding: 10px 14px; border-radius: 16px 16px 16px 4px; max-width: 200px; box-shadow: var(--shadow-card); transform-origin: 0 100%; }
.dz-tf .tf-bubble.is-pop { animation: tf-pop 420ms var(--ease); }
@keyframes tf-pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (max-width: 999px) { .dz-tf .tf-hero-turfy { left: -8px; bottom: -28px; } }
.dz-tf .tf-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: clamp(56px, 7vw, 88px); border: 1px solid var(--rule-forest); border-radius: 20px; overflow: hidden; background: rgba(0, 0, 0, .14); }
.dz-tf .tf-facts div { padding: 18px 22px; border-right: 1px solid var(--rule-forest); }
.dz-tf .tf-facts div:last-child { border-right: 0; }
.dz-tf .tf-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; }
.dz-tf .tf-facts dd { font-size: 15px; color: var(--on-forest-2); line-height: 1.45; }

/* ---------- Turfy ---------- */
.dz-tf .tf-turfy { display: inline-block; width: 96px; aspect-ratio: 1; cursor: pointer; }
.dz-tf .tf-turfy svg { width: 100%; height: 100%; overflow: visible; }
.dz-tf .tf-turfy-hero { width: 112px; }
.dz-tf .tf-turfy .tt-hop, .dz-tf .tf-turfy .tt-breathe, .dz-tf .tf-turfy .tt-flagpole { transform-box: fill-box; transform-origin: 50% 100%; }
.dz-tf .tf-turfy .tt-flagpole { transform-origin: 8% 100%; transition: transform 380ms var(--spring); }
.dz-tf .tf-turfy .tt-breathe { animation: tt-breathe 3.4s ease-in-out infinite; }
.dz-tf .tf-turfy .tt-flag { transform-box: fill-box; transform-origin: 0 50%; animation: tt-flutter 2.8s ease-in-out infinite; }
.dz-tf .tf-turfy .tt-eyes { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 90ms, opacity 120ms; }
.dz-tf .tf-turfy[data-blink] .tt-eyes { transform: scaleY(.1); }
.dz-tf .tf-turfy .tt-pupils { transition: transform 140ms var(--ease); }
.dz-tf .tf-turfy .tt-arcs { opacity: 0; transition: opacity 160ms; }
.dz-tf .tf-turfy .tt-brow { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 380ms var(--spring); }
.dz-tf .tf-turfy .tt-cheeks { opacity: .35; transition: opacity 200ms; }
.dz-tf .tf-turfy .tt-sparks { opacity: 0; transition: opacity 200ms; }
.dz-tf .tf-turfy[data-hop] .tt-hop { animation: tt-hop 900ms var(--ease) both; }
.dz-tf .tf-turfy[data-mood="happy"] .tt-eyes, .dz-tf .tf-turfy[data-mood="greeting"] .tt-eyes, .dz-tf .tf-turfy[data-mood="sleepy"] .tt-eyes { opacity: 0; }
.dz-tf .tf-turfy[data-mood="happy"] .tt-arcs, .dz-tf .tf-turfy[data-mood="greeting"] .tt-arcs, .dz-tf .tf-turfy[data-mood="sleepy"] .tt-arcs { opacity: 1; }
.dz-tf .tf-turfy[data-mood="happy"] .tt-cheeks, .dz-tf .tf-turfy[data-mood="greeting"] .tt-cheeks { opacity: .9; }
.dz-tf .tf-turfy[data-mood="happy"] .tt-sparks, .dz-tf .tf-turfy[data-mood="greeting"] .tt-sparks { opacity: 1; animation: tt-spark 900ms ease-in-out infinite; }
.dz-tf .tf-turfy[data-mood="greeting"] .tt-flagpole { transform: rotate(-14deg); }
.dz-tf .tf-turfy[data-mood="concerned"] .tt-brow-l { transform: translateY(-1px) rotate(-14deg); }
.dz-tf .tf-turfy[data-mood="concerned"] .tt-brow-r { transform: translateY(-1px) rotate(14deg); }
.dz-tf .tf-turfy[data-mood="concerned"] .tt-flagpole { transform: rotate(-10deg); }
.dz-tf .tf-turfy[data-mood="concerned"] .tt-cheeks { opacity: 0; }
.dz-tf .tf-turfy[data-mood="thinking"] .tt-brow-l { transform: translateY(-2px) rotate(-6deg); }
.dz-tf .tf-turfy[data-mood="thinking"] .tt-brow-r { transform: translateY(-.5px) rotate(8deg); }
.dz-tf .tf-turfy[data-mood="sleepy"] .tt-breathe { animation-duration: 5.2s; }
.dz-tf .tf-turfy[data-mood="sleepy"] .tt-flagpole { transform: rotate(18deg); }
@keyframes tt-breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.02, .985); } }
@keyframes tt-flutter { 0%, 100% { transform: scaleX(1) skewY(0); } 50% { transform: scaleX(.9) skewY(4deg); } }
@keyframes tt-hop { 0% { transform: none; } 30% { transform: translateY(-14%) scale(.97, 1.04); } 55% { transform: translateY(0) scale(1.06, .93); } 75% { transform: translateY(-3%); } 100% { transform: none; } }
@keyframes tt-spark { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }

/* ---------- Big numbers ---------- */
.dz-tf .tf-bignums { list-style: none; display: grid; gap: clamp(28px, 4vw, 48px); }
.dz-tf .tf-bignums li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: clamp(16px, 2.4vw, 32px); row-gap: 6px; padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--rule-forest); }
.dz-tf .tf-num { font-size: clamp(110px, 19vw, 260px); font-weight: 700; line-height: .78; letter-spacing: -.07em; color: var(--brass); font-variant-numeric: tabular-nums; min-width: .62em; }
.dz-tf .tf-num-word { font-size: clamp(56px, 10vw, 140px); font-weight: 600; letter-spacing: -.05em; line-height: .9; }
.dz-tf .tf-bignums p { grid-column: 2; max-width: 40ch; color: var(--on-forest-2); font-size: clamp(16px, 1.4vw, 19px); }
@media (min-width: 900px) {
  .dz-tf .tf-bignums li { grid-template-columns: minmax(1.6ch, auto) auto 1fr; }
  .dz-tf .tf-bignums p { grid-column: 3; align-self: end; justify-self: end; text-align: right; }
}
.dz-tf .tf-pull { margin-top: clamp(48px, 7vw, 88px); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.025em; font-weight: 500; max-width: 26ch; }

/* ---------- Scorecard ---------- */
.dz-tf .tf-score { background-color: var(--bone); background-image: linear-gradient(rgba(27, 67, 50, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 67, 50, .05) 1px, transparent 1px); background-size: 32px 32px; }
.dz-tf .tf-score h2 { color: var(--ink); }
.dz-tf .tf-card { position: relative; background: #fffdf8; border-radius: 22px; box-shadow: var(--shadow-card); border: 1px solid var(--rule-bone); overflow: visible; }
.dz-tf .tf-card-top { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; padding: 18px 24px; background: var(--ink); color: var(--bone); border-radius: 22px 22px 0 0; }
.dz-tf .tf-card-title { font-weight: 700; letter-spacing: -.01em; font-size: 18px; }
.dz-tf .tf-card-top .tf-mono { color: var(--brass); font-size: 11px; }
.dz-tf .tf-card-scroll { overflow-x: auto; }
.dz-tf .tf-card-table { width: 100%; min-width: 760px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.dz-tf .tf-card-table th, .dz-tf .tf-card-table td { border: 1px solid var(--rule-bone); padding: 12px 8px; text-align: center; font-size: 15px; color: var(--ink); }
.dz-tf .tf-card-table th { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); text-align: left; padding-left: 24px; width: 110px; font-weight: 500; border-left: 0; }
.dz-tf .tf-card-table thead td { padding: 6px; }
.dz-tf .tf-card-table thead button { width: 44px; height: 44px; border-radius: 50%; font-weight: 700; font-size: 17px; color: var(--ink); background: var(--bone); transition: background-color 160ms, color 160ms, transform 200ms var(--spring); }
.dz-tf .tf-card-table thead button:hover { background: var(--bone-2); transform: scale(1.08); }
.dz-tf .tf-card-table thead button[aria-pressed="true"] { background: var(--fairway); color: #fff; }
.dz-tf .tf-card-table tbody tr:first-child td { font-weight: 600; }
.dz-tf .tf-card-table .tf-strokes td { font-size: 22px; color: var(--fairway); }
.dz-tf .tf-card-table .tf-out { background: var(--bone); font-weight: 700; border-right: 0; }
.dz-tf .tf-card-table td.is-on { background: rgba(45, 106, 79, .1); }
.dz-tf .tf-brass-ink { color: #8a6a2a !important; font-size: 15px !important; }
.dz-tf .tf-card-detail { display: grid; gap: 8px; padding: 26px 24px 30px; padding-right: clamp(24px, 14vw, 180px); min-height: 150px; }
.dz-tf .tf-card-hole { color: var(--fairway); }
.dz-tf .tf-card-detail p { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; color: var(--ink); letter-spacing: -.01em; max-width: 62ch; }
.dz-tf .tf-card-detail.is-swap p { animation: tf-rise 380ms var(--ease); }
@keyframes tf-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dz-tf .tf-card-turfy { position: absolute; right: 22px; bottom: -26px; }
.dz-tf .tf-card-turfy .tf-turfy { width: 110px; }
@media (max-width: 640px) { .dz-tf .tf-card-turfy { display: none; } }

/* ---------- The leak ---------- */
.dz-tf .tf-moments { display: grid; gap: 18px; }
@media (min-width: 960px) { .dz-tf .tf-moments { grid-template-columns: repeat(3, 1fr); } }
.dz-tf .tf-moment { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 22px; background: rgba(0, 0, 0, .2); border: 1px solid var(--rule-forest); transition: background-color 400ms, border-color 400ms, transform 400ms var(--ease); }
.dz-tf .tf-moment.is-fixed { background: var(--bone); border-color: transparent; color: var(--ink); transform: translateY(-4px); }
.dz-tf .tf-moment header { display: flex; flex-wrap: wrap; gap: 6px; }
.dz-tf .tf-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--on-forest-2); transition: background-color 400ms, color 400ms; }
.dz-tf .tf-moment.is-fixed .tf-tag { background: rgba(27, 67, 50, .08); color: var(--fairway); }
.dz-tf .tf-flip { display: grid; flex: 1; }
.dz-tf .tf-flip p { grid-area: 1 / 1; transition: opacity 320ms, transform 420ms var(--ease); color: var(--on-forest-2); }
.dz-tf .tf-flip .tf-after { opacity: 0; transform: translateY(10px); color: var(--body); }
.dz-tf .tf-moment.is-fixed .tf-before { opacity: 0; transform: translateY(-10px); }
.dz-tf .tf-moment.is-fixed .tf-after { opacity: 1; transform: none; }
.dz-tf .tf-switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; align-self: flex-start; font-weight: 600; font-size: 15px; }
.dz-tf .tf-switch-track { position: relative; width: 48px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, .16); transition: background-color 240ms; flex: none; }
.dz-tf .tf-switch-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform 380ms var(--spring); }
.dz-tf [aria-pressed="true"] > .tf-switch-track, .dz-tf [aria-pressed="true"] .tf-switch-track { background: var(--fairway); }
.dz-tf [aria-pressed="true"] > .tf-switch-track .tf-switch-knob, .dz-tf [aria-pressed="true"] .tf-switch-knob { transform: translateX(20px); }
.dz-tf .tf-leak-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px; }
.dz-tf .tf-leak-tally { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.02em; }
.dz-tf .tf-leak-tally span { color: var(--brass); font-variant-numeric: tabular-nums; }

/* ---------- A day on the course ---------- */
.dz-tf .tf-day { padding: clamp(80px, 10vw, 130px) 0 0; background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 100%); transition: background 900ms ease; color: #fff; }
@property --sky-a { syntax: '<color>'; inherits: true; initial-value: #3b3550; }
@property --sky-b { syntax: '<color>'; inherits: true; initial-value: #c98a6a; }
.dz-tf .tf-day { transition: --sky-a 900ms ease, --sky-b 900ms ease; }
.dz-tf .tf-sky { position: absolute; inset: 0; pointer-events: none; }
.dz-tf .tf-sun { position: absolute; left: var(--sun-x, 8%); top: var(--sun-y, 78%); width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; background: radial-gradient(circle, #fff7e0 0 34%, rgba(255, 236, 190, .55) 46%, rgba(255, 220, 160, 0) 70%); transition: left 900ms var(--ease), top 900ms var(--ease), background 900ms; }
.dz-tf .tf-day.is-night .tf-sun { background: radial-gradient(circle at 60% 40%, transparent 0 26%, #f3eedc 27% 36%, rgba(243, 238, 220, 0) 37%); }
.dz-tf .tf-day-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.dz-tf .tf-day h2 { max-width: 15ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .2); }
.dz-tf .tf-clock { font-size: clamp(56px, 8vw, 104px); font-weight: 500; letter-spacing: -.04em; line-height: 1; display: grid; justify-items: end; font-variant-numeric: tabular-nums; text-transform: none; }
.dz-tf .tf-clock small { font-size: 12px; letter-spacing: .14em; opacity: .7; }
.dz-tf .tf-day-shot { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.dz-tf .tf-day-shot img { width: 100%; transition: opacity 260ms; }
.dz-tf .tf-day-shot img.is-fade { opacity: 0; }
.dz-tf .tf-day-shot figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 520px; padding: 14px 18px; border-radius: 14px; background: rgba(12, 26, 19, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-weight: 500; font-size: 16px; line-height: 1.4; }
@media (max-width: 640px) { .dz-tf .tf-day-shot figcaption { position: static; border-radius: 0; } }
.dz-tf .tf-day-ctrl { padding: 28px 0 120px; }
.dz-tf .tf-day-ctrl input { width: 100%; height: 44px; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
.dz-tf .tf-day-ctrl input::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .35); }
.dz-tf .tf-day-ctrl input::-moz-range-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .35); }
.dz-tf .tf-day-ctrl input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: #fff; border: 6px solid var(--brass); box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.dz-tf .tf-day-ctrl input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 6px solid var(--brass); }
.dz-tf .tf-day-ticks { list-style: none; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.dz-tf .tf-hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; }

/* ---------- Fleet and fuel ---------- */
.dz-tf .tf-split { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) {
  .dz-tf .tf-split { grid-template-columns: .9fr 1.1fr; }
  .dz-tf .tf-split-rev { grid-template-columns: 1.1fr .9fr; }
}
.dz-tf .tf-split h2 { margin-bottom: 22px; }
.dz-tf .tf-shot { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-deep); transition: transform 600ms var(--ease); }
.dz-tf .tf-tilt-r { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.dz-tf .tf-tilt-l { transform: perspective(1400px) rotateY(8deg) rotateX(3deg); }
.dz-tf .tf-shot:hover { transform: none; }
.dz-tf .tf-ticks { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.dz-tf .tf-ticks li { position: relative; padding-left: 34px; color: var(--on-forest-2); }
.dz-tf .tf-ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--fairway) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.dz-tf .tf-fuel { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; margin-top: clamp(96px, 12vw, 160px); }
@media (min-width: 960px) { .dz-tf .tf-fuel { grid-template-columns: .9fr 1.1fr; } }
.dz-tf .tf-fuel h2 { margin-bottom: 20px; }
.dz-tf .tf-fuel-steps { list-style: none; display: grid; gap: 8px; margin-top: 30px; }
.dz-tf .tf-fuel-steps button { width: 100%; text-align: left; display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; padding: 14px 18px; border-radius: 16px; border: 1px solid transparent; transition: background-color 200ms, border-color 200ms; }
.dz-tf .tf-fuel-steps button:hover { background: rgba(255, 255, 255, .04); }
.dz-tf .tf-fuel-steps button[aria-pressed="true"] { background: rgba(45, 106, 79, .28); border-color: rgba(149, 213, 178, .25); }
.dz-tf .tf-fuel-steps .tf-mono { grid-row: span 2; color: var(--brass); padding-top: 4px; }
.dz-tf .tf-fuel-steps b { font-weight: 600; font-size: 17px; }
.dz-tf .tf-fuel-steps small { font-size: 14px; color: var(--on-forest-3); line-height: 1.45; }
.dz-tf .tf-fuel-steps button[aria-pressed="true"] small { color: var(--on-forest-2); }
.dz-tf .tf-fuel-stage { border-radius: 24px; overflow: hidden; border: 1px solid var(--rule-forest); }
.dz-tf .tf-fuel-stage img { transition: opacity 220ms; }
.dz-tf .tf-fuel-stage img.is-fade { opacity: 0; }

/* ---------- Field crew + PIN ---------- */
.dz-tf .tf-field h2 { color: var(--ink); }
.dz-tf .tf-devices { border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
.dz-tf .tf-pin { position: relative; display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 360px; margin-top: 34px; padding: 18px; border-radius: 28px; background: var(--forest); color: var(--on-forest); box-shadow: var(--shadow-card); }
.dz-tf .tf-pin-screen { display: grid; justify-items: center; gap: 10px; padding: 14px 8px 8px; text-align: center; }
.dz-tf .tf-pin-brand { color: var(--brass); }
.dz-tf .tf-pin-label { min-height: 2.8em; font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--on-forest-2); }
.dz-tf .tf-pin-label.is-ok { color: var(--mint); }
.dz-tf .tf-pin-dots { display: flex; gap: 10px; }
.dz-tf .tf-pin-dots i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--brass); transition: background-color 150ms, transform 260ms var(--spring); }
.dz-tf .tf-pin-dots i.on { background: var(--brass); transform: scale(1.12); }
.dz-tf .tf-pin.is-shake .tf-pin-dots { animation: tf-shake 360ms; }
@keyframes tf-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.dz-tf .tf-pin-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dz-tf .tf-pin-pad button { height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .06); font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color 120ms, transform 120ms; }
.dz-tf .tf-pin-pad button:hover { background: rgba(255, 255, 255, .11); }
.dz-tf .tf-pin-pad button:active { transform: scale(.94); background: rgba(196, 168, 130, .3); }
.dz-tf .tf-pin-turfy { position: absolute; right: -70px; top: 18px; }
.dz-tf .tf-pin-turfy .tf-turfy { width: 84px; }
@media (max-width: 520px) { .dz-tf .tf-pin-turfy { right: -6px; top: -46px; } .dz-tf .tf-pin-turfy .tf-turfy { width: 64px; } }

/* ---------- One map ---------- */
.dz-tf .tf-rag { list-style: none; display: grid; gap: 10px; margin-top: 24px; color: var(--on-forest-2); }
.dz-tf .tf-rag li { display: flex; align-items: center; gap: 12px; }
.dz-tf .tf-rag i { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, .05); }
.dz-tf .tf-rag .g { background: var(--green); }
.dz-tf .tf-rag .a { background: var(--amber); }
.dz-tf .tf-rag .r { background: var(--red); }

/* ---------- Modules ---------- */
.dz-tf .tf-mods h2 { color: var(--ink); }
.dz-tf .tf-mod-bar { position: sticky; top: 96px; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 14px 12px 22px; margin-bottom: 22px; border-radius: 999px; background: var(--forest); color: var(--bone); box-shadow: 0 18px 40px -18px rgba(16, 42, 30, .55); }
.dz-tf .tf-mod-bar .tf-mono { color: var(--brass); font-size: 11px; }
.dz-tf .tf-mod-bar b { flex: 1; font-weight: 600; font-size: 15px; min-width: 0; }
.dz-tf .tf-mod-count { font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.dz-tf .tf-mod-note { font-size: 13px; padding: 8px 16px; border-radius: 999px; background: var(--brass); color: var(--forest); font-weight: 600; }
.dz-tf .tf-mod-grid { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.dz-tf .tf-mod-grid button { width: 100%; height: 100%; text-align: left; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 18px; background: var(--bone-2); color: var(--ink); transition: background-color 260ms, color 260ms, transform 300ms var(--spring); }
.dz-tf .tf-mod-grid button:hover { transform: translateY(-3px); }
.dz-tf .tf-mod-grid button:active { transform: scale(.98); }
.dz-tf .tf-mod-grid b { font-size: 17px; font-weight: 600; }
.dz-tf .tf-mod-grid small { font-size: 14px; line-height: 1.45; color: var(--body); flex: 1; transition: color 260ms; }
.dz-tf .tf-mod-grid .tf-switch-track { background: rgba(27, 67, 50, .18); margin-top: 6px; }
.dz-tf .tf-mod-grid button[aria-pressed="true"] { background: var(--forest); color: var(--bone); }
.dz-tf .tf-mod-grid button[aria-pressed="true"] small { color: var(--on-forest-2); }
.dz-tf .tf-mod-grid button[aria-pressed="true"] .tf-switch-track { background: var(--brass); }
.dz-tf .tf-ai { display: grid; gap: 32px; align-items: center; margin-top: clamp(72px, 9vw, 120px); }
@media (min-width: 900px) { .dz-tf .tf-ai { grid-template-columns: 1fr 1fr; gap: 64px; } }
.dz-tf .tf-ai figure { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card); }
.dz-tf .tf-ai h3 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.035em; line-height: 1.05; color: var(--ink); margin-bottom: 18px; }

/* ---------- Brand ---------- */
.dz-tf .tf-brand-grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .dz-tf .tf-brand-grid { grid-template-columns: .8fr 1.2fr; grid-template-areas: "logo moods" "sw sw"; } .dz-tf .tf-brand-logo { grid-area: logo; } .dz-tf .tf-moods { grid-area: moods; } .dz-tf .tf-swatches { grid-area: sw; } }
.dz-tf .tf-brand-logo { display: grid; place-items: center; min-height: 300px; border-radius: 24px; }
.dz-tf .tf-brand-logo img { width: 210px; }
.dz-tf .tf-swatches { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.dz-tf .tf-swatches button { width: 100%; min-height: 130px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 2px; padding: 16px; border-radius: 18px; background: var(--c); color: var(--bone); border: 1px solid rgba(255, 255, 255, .12); transition: transform 300ms var(--spring); text-align: left; }
.dz-tf .tf-swatches button:hover { transform: translateY(-4px); }
.dz-tf .tf-swatches button.tf-light { color: var(--forest); }
.dz-tf .tf-swatches span { font-weight: 600; }
.dz-tf .tf-swatches code { font-family: var(--mono); font-size: 12px; opacity: .8; }
.dz-tf .tf-swatches button.is-copied code::after { content: ' copied'; }
.dz-tf .tf-moods { display: grid; gap: 24px; align-items: center; padding: 28px; border-radius: 24px; }
@media (min-width: 640px) { .dz-tf .tf-moods { grid-template-columns: auto 1fr; gap: 36px; } }
.dz-tf .tf-moods-stage { display: grid; place-items: center; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(149, 213, 178, .16), transparent 70%); }
.dz-tf .tf-moods-stage .tf-turfy { width: 140px; }
.dz-tf .tf-moods h3 { margin-bottom: 10px; }
.dz-tf .tf-mood-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dz-tf .tf-mood-btns button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule-forest); font-size: 14px; font-weight: 600; transition: background-color 160ms, color 160ms; }
.dz-tf .tf-mood-btns button:hover { background: rgba(255, 255, 255, .06); }
.dz-tf .tf-mood-btns button[aria-pressed="true"] { background: var(--brass); color: var(--forest); border-color: var(--brass); }
.dz-tf .tf-ads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(56px, 7vw, 96px); align-items: end; }
@media (min-width: 900px) { .dz-tf .tf-ads { grid-template-columns: 1.1fr 1.1fr .8fr; } }
.dz-tf .tf-ads figure { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-deep); }
.dz-tf .tf-ads figure:nth-child(1) { transform: rotate(-2deg); }
.dz-tf .tf-ads figure:nth-child(2) { transform: translateY(-24px) rotate(1.5deg); }
.dz-tf .tf-ads figure:nth-child(3) { transform: rotate(-1deg); }
@media (max-width: 899px) { .dz-tf .tf-ads figure:nth-child(3) { display: none; } }
.dz-tf .tf-site { position: relative; margin-top: clamp(56px, 7vw, 96px); padding-right: clamp(0px, 10vw, 140px); }
.dz-tf .tf-site-desk { border-radius: 16px; overflow: hidden; background: #0d1d16; box-shadow: var(--shadow-deep); border: 1px solid var(--glass-line); }
.dz-tf .tf-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0a1711; }
.dz-tf .tf-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.dz-tf .tf-bar em { margin-left: 14px; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--on-forest-3); padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.dz-tf .tf-site-phone { position: absolute; right: 0; bottom: -40px; width: clamp(120px, 22%, 240px); border-radius: 30px; padding: 7px; background: #050a07; box-shadow: var(--shadow-deep); }
.dz-tf .tf-site-phone img { border-radius: 24px; }

/* ---------- Clubhouse ---------- */
.dz-tf .tf-end-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 800px) { .dz-tf .tf-end-grid { grid-template-columns: auto 1fr; gap: 72px; } }
.dz-tf .tf-end-turfy .tf-turfy { width: clamp(150px, 20vw, 240px); }
.dz-tf .tf-end h2 { margin-bottom: 18px; }

/* Reveal on scroll, only once the JS is running */
.dz-tf:not(.tf-no-js) .tf-reveal { opacity: 0; translate: 0 28px; transition: opacity 700ms var(--ease), translate 900ms var(--ease); }
.dz-tf:not(.tf-no-js) .tf-reveal.is-in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .dz-tf *, .dz-tf *::before, .dz-tf *::after { animation: none !important; transition-duration: 1ms !important; }
  .dz-tf .tf-reveal { opacity: 1 !important; translate: none !important; }
  .dz-tf .tf-tilt-r, .dz-tf .tf-tilt-l, .dz-tf .tf-hole { transform: none; }
}
