/* Lost Dog Tattoo — dark shop, the badge's teal and rope, a flash-sheet swallow and a stamped dog tag. Mobile first. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #13110F;
  --panel: #1D1915;
  --panel-2: #26211C;
  --cream: #F1E6CC;
  --cream-soft: rgba(241, 230, 204, 0.68);
  --teal: #3B7A80;
  --teal-deep: #1F474B;
  --rope: #8A5434;
  --rope-lt: #C8926A;
  --blood: #B5432E;
  --line: rgba(241, 230, 204, 0.12);
  --heavy: 'Rye', 'Rockwell', serif;
  --slab: 'Roboto Slab', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 2px 4px rgba(0,0,0,0.3), 0 18px 40px rgba(0,0,0,0.45);
  /* Twisted rope strip, from the logo lettering */
  --rope-strip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10'%3E%3Crect width='16' height='10' fill='%238A5434'/%3E%3Cpath d='M-2 10 L6 0 M6 10 L14 0 M14 10 L22 0' stroke='%23C8926A' stroke-width='3'/%3E%3C/svg%3E");
  /* Grain, so the black reads like old flash paper rather than a screen */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: var(--sans); background: var(--grain), var(--bg); color: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Headings: heavy western letters with a swallow flying in */
h2 { font-family: var(--heavy); font-weight: 400; font-size: clamp(1.9rem, 7.6vw, 3.4rem); line-height: 1.05; text-transform: uppercase; color: var(--cream); margin-bottom: 30px; }
h2::after { content: ""; display: inline-block; vertical-align: -0.08em; margin-left: 0.3em; width: 1.25em; height: 1.1em; background: url("swallow.svg") center / contain no-repeat; }
h3 { font-family: var(--slab); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rope-lt); margin-bottom: 8px; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 4px;
  background: var(--cream); color: var(--bg); font-family: var(--slab); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: #fff; }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .links a:focus-visible, .ig-follow:focus-visible, .tag a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn-small { padding: 9px 16px; font-size: 0.85rem; }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }
.btn-ghost:hover { background: rgba(241,230,204,0.1); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(19,17,15,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand img { height: 44px; width: auto; }
.links { display: none; gap: 28px; font-family: var(--slab); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.links a { text-decoration: none; color: var(--cream-soft); }
.links a:hover { color: var(--cream); }

/* Hero: the badge in a dark shop, a spotlight behind it, rope along the bottom */
.hero { position: relative; overflow: hidden; padding: 44px 0 70px; text-align: center;
  background: radial-gradient(closest-side, rgba(59,122,128,0.42), transparent) 50% 46% / 720px 720px no-repeat, var(--grain), var(--bg); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--rope-strip); }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--slab); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; white-space: nowrap; text-transform: uppercase; color: var(--rope-lt); margin-bottom: 22px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 46px; height: 40px; background: url("swallow.svg") center / contain no-repeat; }
.eyebrow::before { transform: scaleX(-1); }
.hero h1 { margin-bottom: 26px; }
.hero h1 img { width: min(80vw, 420px); height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,0.6)); }
.lead { font-family: var(--heavy); font-size: clamp(1.35rem, 5vw, 1.9rem); line-height: 1.2; text-transform: uppercase; max-width: 22ch; margin-bottom: 8px; }
.sub { color: var(--cream-soft); font-size: 1.05rem; margin-bottom: 28px; }
.rating { margin-top: 24px; font-size: 0.95rem; color: var(--cream-soft); }
.stars { color: var(--rope-lt); letter-spacing: 2px; margin-right: 6px; }

/* Sections */
.section { padding: 76px 0; }
.section-wall { position: relative; background: var(--grain), var(--teal-deep); }
.section-wall::before, .section-wall::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: var(--rope-strip); }
.section-wall::before { top: 0; }
.section-wall::after { bottom: 0; }

/* The work */
.menu { display: grid; gap: 44px; }
.menu ul { list-style: none; }
.menu li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.item { display: block; font-family: var(--slab); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; text-transform: uppercase; }
.item small { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.97rem; letter-spacing: 0; text-transform: none; color: var(--cream-soft); margin-top: 2px; }

/* Booking: a stamped steel dog tag. A lost dog's tag says who to call. */
.tag-wrap { align-self: start; justify-self: center; width: min(100%, 360px); }
.tag {
  position: relative; padding: 64px 28px 30px; border-radius: 48px 48px 48px 48px / 40px 40px 40px 40px; text-align: center; color: #2A2622;
  background: linear-gradient(135deg, #D9D6CF 0%, #A7A39B 38%, #E6E3DC 55%, #8F8B83 100%);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.35), inset 0 0 0 7px rgba(0,0,0,0.18), var(--shadow);
  transform: rotate(-3deg);
}
.tag::before { content: ""; position: absolute; top: 20px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 2px 3px rgba(0,0,0,0.8), 0 0 0 3px rgba(255,255,255,0.4); }
/* the ball chain */
.tag::after { content: ""; position: absolute; top: -34px; left: 50%; width: 4px; height: 66px; margin-left: -2px; background: repeating-linear-gradient(#bdb9b1 0 5px, transparent 5px 7px); border-radius: 2px; z-index: -1; }
.tag p { font-family: var(--slab); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; text-shadow: 0 1px 0 rgba(255,255,255,0.55), 0 -1px 0 rgba(0,0,0,0.25); }
.tag .t-name { font-size: 1.05rem; }
.tag .t-small { font-size: 0.78rem; opacity: 0.8; margin-top: 14px; }
.tag .t-phone { font-size: clamp(1.45rem, 6.5vw, 1.75rem); letter-spacing: 0.08em; margin-top: 2px; }
.tag .t-phone a { text-decoration: none; }
.tag .t-addr { font-size: 0.72rem; margin-top: 14px; opacity: 0.75; }
.tag-note { margin-top: 26px; text-align: center; color: var(--cream-soft); font-size: 0.95rem; }
.tag-note a { color: var(--cream); font-weight: 700; }

/* Instagram reels: swipe on phones, a row on bigger screens */
.reels { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding-bottom: 12px; margin: 0 -20px 24px; padding-left: 20px; padding-right: 20px; }
.reels > * { flex: 0 0 min(326px, 86vw); scroll-snap-align: start; }
.reel { margin: 0; }
.clip { position: relative; cursor: pointer; }
.reel video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--bg); border-radius: 6px; border: 4px solid var(--bg); box-shadow: var(--shadow); }
/* Play button: only shows when a clip is stopped */
.play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(19,17,15,0.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") 56% 50% / 30px no-repeat;
  opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease); }
.clip.stopped .play { opacity: 1; pointer-events: auto; }
.play:focus-visible { opacity: 1; outline: 3px solid #fff; outline-offset: 3px; }
.reel figcaption { margin-top: 10px; font-family: var(--slab); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.ig-follow { font-weight: 700; }

/* Visit */
.visit { display: grid; gap: 36px; }
.addr { font-family: var(--slab); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 20px; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; margin-bottom: 16px; background: var(--panel); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.hours th, .hours td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { text-align: right; }
.hours tr.today { background: var(--teal); color: #fff; font-weight: 700; }
.hours tr.today th { font-weight: 700; }
.note { color: var(--cream-soft); font-size: 0.95rem; margin-bottom: 22px; }
.note a { color: var(--cream); font-weight: 700; }
.map { width: 100%; height: 320px; border: 0; border-radius: 6px; background: var(--panel); box-shadow: var(--shadow); filter: grayscale(0.35) contrast(1.05); }

/* About: a fold-out under Visit */
.about-wrap { padding-bottom: 56px; }
.about { border-top: 1px solid var(--line); padding-top: 18px; color: var(--cream-soft); max-width: 68ch; }
.about summary { cursor: pointer; font-weight: 700; color: var(--cream); }
.about summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.about p { margin-top: 12px; }
.about a { color: var(--cream); }

/* Footer */
.foot { position: relative; background: #0C0B0A; color: var(--cream-soft); padding: 40px 0 96px; font-size: 0.92rem; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--rope-strip); }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot-logo { height: 56px; width: auto; }
.foot a { color: var(--cream); }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.credit a { text-decoration: none; border-bottom: 1px solid rgba(241,230,204,0.4); }

/* Phone booking button: small, bottom right. It replaces the top-bar button on phones. */
.nav .btn-small { display: none; }
.bookbar {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  padding: 12px 26px; border-radius: 4px; background: var(--cream); color: var(--bg);
  font-family: var(--slab); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5), 0 0 0 2px var(--bg);
}
.bookbar:active { background: #fff; }
.bookbar:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Bigger screens */
@media (min-width: 760px) {
  .wrap { padding: 0 36px; }
  .links { display: flex; }
  .hero { padding: 64px 0 92px; }
  .menu { grid-template-columns: 1.3fr 1fr; column-gap: 64px; align-items: center; }
  .reels { overflow: visible; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; }
  .visit { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .map { height: 100%; min-height: 440px; }
  .bookbar { display: none; }
  .nav .btn-small { display: inline-block; }
  .foot { padding-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
