@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600..800&family=DM+Sans:wght@400;500;650;750&display=swap');

:root {
  color-scheme: light;
  --paper: #fffaf0;
  --ink: #222019;
  --muted: #595145;
  --amber: #ffba38;
  --line: #ded3bf;
  --headline: "Bricolage Grotesque", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 "DM Sans", system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #a04b18; outline-offset: 5px; }
h1, h2, p { margin: 0; }
h1, h2, .wordmark, .clock-title { font-family: var(--headline); font-weight: 800; letter-spacing: -.055em; line-height: .98; }
.shell { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.mast, .foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem 1.5rem; padding: 1.25rem 0; }
.mast { border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.5rem; text-decoration: none; }
.wordmark strong { padding: .1em .23em; background: var(--amber); border-radius: .2em; }
nav { display: flex; flex-wrap: wrap; gap: .55rem clamp(1rem, 3vw, 2rem); }
nav a, .foot a { text-decoration: none; font-weight: 750; }
nav a:hover, .foot a:hover { text-decoration: underline; text-underline-offset: .25em; }
.hero { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 8vw, 6rem); }
.hero h1 { font-size: clamp(4.4rem, 9.3vw, 8.7rem); }
.hero h1 em { color: #8c3b16; font-style: normal; }
.hero p, .video p, .about p { color: var(--muted); max-width: 41ch; }
.hero p { margin-top: 1.35rem; font-size: clamp(1.1rem, 2vw, 1.3rem); }
.button { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.4rem; padding: .75rem 1.1rem; border-radius: 100px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 750; }
.button:hover { background: #8c3b16; }
.clock-card { min-width: 0; min-height: clamp(18rem, 34vw, 28rem); position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 2.2rem; overflow: hidden; padding: clamp(1.15rem, 3vw, 2.15rem); border: 1px solid var(--ink); border-radius: 1.6rem; background: var(--amber); text-decoration: none; box-shadow: 7px 7px 0 var(--ink); }
.clock-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(#96531a 1px, transparent 1.5px) 0 0 / 18px 18px; opacity: .26; mask-image: linear-gradient(135deg, transparent 18%, black); pointer-events: none; }
.clock-title { font-size: clamp(1.75rem, 3.7vw, 3.4rem); }
.clock-title small { white-space: nowrap; font: 750 .95rem "DM Sans", system-ui, sans-serif; letter-spacing: 0; }
.clock-card img { display: block; width: 92%; height: auto; align-self: center; border-radius: .75rem; box-shadow: 0 1rem 2rem #6c391f65; transform: rotate(-7deg); transition: transform .38s cubic-bezier(.22,1,.36,1); }
.clock-card:is(:hover, :focus-visible) img { transform: translateY(-6px) rotate(-2deg); }
.clock-action { align-self: flex-end; background: var(--paper); border: 1px solid var(--ink); border-radius: 100px; padding: .4rem .8rem; font-weight: 750; }
.clock-action span { margin-left: .25rem; }
.video-band { padding-block: clamp(2.2rem, 5.5vw, 4.6rem); background: #efe6d3; }
.video { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.video-image { position: relative; display: block; overflow: hidden; border: 1px solid var(--ink); border-radius: 1.15rem; }
.video-image img { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.video-image:is(:hover, :focus-visible) img { transform: scale(1.035); }
.play { position: absolute; right: .8rem; bottom: .8rem; display: grid; place-items: center; width: 2.7rem; aspect-ratio: 1; border-radius: 50%; background: var(--amber); color: var(--ink); }
.category { font-size: .8rem; font-weight: 750; }
.video h2 { margin: .55rem 0 .9rem; font-size: clamp(2rem, 4.4vw, 4.2rem); }
.text-link { display: inline-block; margin-top: 1rem; color: #773411; font-weight: 750; text-underline-offset: .22em; }
.about { display: grid; grid-template-columns: .55fr 1fr; gap: .8rem 2rem; padding-block: clamp(2.4rem, 6vw, 4.5rem); }
.about h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.foot { border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .hero, .video, .about { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.75rem, 13vw, 6.7rem); }
  .clock-card { margin-right: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
