/* BizzOn — colors from the logo, set on a warm off-white page with deep green blocks */
:root {
  --bg: #fafbf6;
  --ink: #16200f;
  --ink-soft: #4a5543;
  --ink-mute: #5a6552;
  --forest: #2f6418;
  --deep: #1e3a10;
  --night: #16200f;
  --accent: #8ccb4f;
  --on-accent: #13240a;
  --tint: #eaf3df;
  --mist: #f3f6ee;
  --line: rgba(22, 32, 15, 0.08);
  --on-dark: #f2f7ea;
  --on-dark-soft: #c9d6bd;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

p,
figure,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

.section {
  padding-top: 112px;
}

@media (max-width: 639px) {
  .section {
    padding-top: 80px;
  }
}

[id] {
  scroll-margin-top: 80px;
}

/* Small mono label above each section title, e.g. "01 — What we do" */
.eyebrow {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.lead {
  margin-top: 16px;
  max-width: 640px;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 64px;
}

.section-head > div {
  flex: 1 1 420px;
}

.section-head > .lead {
  margin: 0;
  flex: 1 1 360px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn svg {
  transition: translate 0.2s;
}

.btn:hover svg {
  translate: 3px 0;
}

.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.875rem;
}

.btn-accent {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}

.btn-accent:hover {
  background: #a0d86a;
}

.btn-dark {
  background: var(--night);
  color: #fff;
}

.btn-dark:hover {
  background: var(--deep);
}

.btn-outline {
  border-color: rgba(22, 32, 15, 0.16);
}

.btn-outline:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.btn-ghost {
  border-color: rgba(242, 247, 234, 0.3);
  color: var(--on-dark);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.link {
  font-weight: 600;
  color: var(--forest);
}

.link:hover {
  text-decoration: underline;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 251, 246, 0.88);
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav {
  display: none;
  gap: 32px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--forest);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang {
  padding: 10px 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.lang:hover {
  color: var(--forest);
}

.menu {
  position: relative;
}

.menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu summary:hover {
  background: var(--mist);
}

.menu nav {
  position: absolute;
  right: 0;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  width: 208px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(22, 32, 15, 0.08);
}

.menu nav a {
  padding: 10px 16px;
  border-radius: 12px;
}

.menu nav a:hover {
  background: var(--mist);
}

/* English nav labels are long, so the full nav waits for wider screens */
@media (min-width: 960px) {
  .nav {
    display: flex;
  }

  .menu {
    display: none;
  }
}

@media (max-width: 479px) {
  .header .btn-sm {
    display: none;
  }
}

/* Hero: a dark green panel with the bulb and key numbers */
.hero {
  padding-top: 24px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 56px;
  align-items: end;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px);
  border-radius: 32px;
  background: var(--deep);
  color: var(--on-dark);
}

/* Faint rings in the top-right corner */
.hero-panel::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -140px;
  width: 560px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 119px, var(--accent) 120px 121px, transparent 122px 199px, var(--accent) 200px 201px, transparent 202px 278px, var(--accent) 279px 280px, transparent 281px);
  opacity: 0.18;
  pointer-events: none;
}

.hero-copy,
.hero-side {
  position: relative;
  min-width: 0;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--accent);
}

.hero .eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.125rem, 4vw, 3.625rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero h1 span {
  color: var(--accent);
}

/* Stacked Vietnamese accents need more room between lines */
.hero h1:lang(vi) {
  line-height: 1.16;
}

.hero .lead {
  margin-top: 32px;
  max-width: 600px;
  line-height: 1.65;
  color: var(--on-dark-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  .hero-panel {
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  }
}

.bulb {
  position: relative;
  display: none;
  width: 190px;
  animation: bulb-float 6s ease-in-out infinite;
}

.bulb::before {
  content: '';
  position: absolute;
  inset: -48px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 203, 79, 0.4), transparent 65%);
  animation: glow-on 1.6s ease-out 0.3s both, glow-breathe 5s ease-in-out 2s infinite;
}

/* Short light rays around the bulb's glass, shown only during the flash */
.bulb::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 38%;
  width: 150%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: repeating-conic-gradient(rgba(140, 203, 79, 0.7) 0 3deg, transparent 3deg 22.5deg);
  /* A ring of dashes, cut off below the glass so no ray crosses the bulb's neck */
  mask: radial-gradient(circle closest-side, transparent 70%, #000 71% 82%, transparent 83%),
    linear-gradient(#000 52%, transparent 60%);
  mask-composite: intersect;
  opacity: 0;
  animation: spark 5s ease-out 2s infinite;
}

.bulb img {
  position: relative;
  width: 100%;
  animation: bulb-flash 5s ease-out 2s infinite;
}

@media (min-width: 768px) {
  .bulb {
    display: block;
  }
}

/* The bulb flickers, then switches ON */
@keyframes glow-on {
  0% { opacity: 0; transform: scale(0.85); }
  40% { opacity: 0.4; }
  55% { opacity: 0.1; }
  100% { opacity: 1; transform: scale(1); }
}

/* Then it floats gently and, every 5s, an idea "flashes": glow, rays and bulb peak together at 84% */
@keyframes bulb-float {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-10px) rotate(-5deg); }
}

@keyframes glow-breathe {
  0%, 70%, 100% { opacity: 0.75; scale: 1; }
  84% { opacity: 1; scale: 1.08; }
}

@keyframes spark {
  0%, 78% { opacity: 0; scale: 0.9; }
  84% { opacity: 1; }
  96%, 100% { opacity: 0; scale: 1.12; }
}

@keyframes bulb-flash {
  0%, 76%, 100% { filter: drop-shadow(0 0 0 rgba(140, 203, 79, 0)) brightness(1); }
  84% { filter: drop-shadow(0 0 14px rgba(140, 203, 79, 0.7)) brightness(1.08); }
}

/* Stats: a 2x2 grid split by hairlines */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(242, 247, 234, 0.16);
}

.stats div {
  padding: 24px;
  background: var(--deep);
}

.stats strong {
  display: block;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stats span {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
  color: #b5c6a6;
}

/* Clients: logo tiles, grey until hovered */
.clients {
  padding-top: 64px;
}

.clients > p {
  margin-bottom: 28px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--ink-mute);
}

.logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
}

.logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  border: 1px solid rgba(22, 32, 15, 0.07);
  border-radius: 16px;
  background: #fff;
}

.logos img {
  max-width: 110px;
  max-height: 40px;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 0.2s, filter 0.2s;
}

.logos li:hover img {
  opacity: 1;
  filter: none;
}

.more {
  display: none;
}

/* Phones: smaller tiles, two rows of three, the rest behind "show more" */
@media (max-width: 639px) {
  .logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .logos li {
    height: 56px;
    border-radius: 12px;
  }

  .logos img {
    max-width: 72px;
    max-height: 28px;
  }

  .logos:not(.is-open) li:nth-child(n + 7) {
    display: none;
  }

  .more {
    display: block;
    margin: 16px auto 0;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid rgba(22, 32, 15, 0.16);
    border-radius: 999px;
    background: none;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: inherit;
    cursor: pointer;
  }

  .more[hidden] {
    display: none;
  }
}

/* Offerings */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
  margin-top: 56px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-top small {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: #6b7563;
}

.icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--tint);
  color: var(--forest);
}

.card h3 {
  font-size: 1.5rem;
  line-height: 1.25;
}

.card p {
  color: var(--ink-soft);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pills li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.8125rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chips li {
  padding: 10px 18px;
  border: 1px solid rgba(22, 32, 15, 0.14);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 640px) {
  .card {
    padding: 36px;
  }
}

/* Phones: offerings become a swipeable row, the next card peeking in from the right */
@media (max-width: 639px) {
  .cards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 12px;
    margin: 40px -16px 0;
    padding: 0 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    scrollbar-width: none;
  }

  .cards::-webkit-scrollbar {
    display: none;
  }

  .card {
    scroll-snap-align: start;
  }
}

/* Slider dots under the offerings, phones only */
.dots {
  display: none;
}

@media (max-width: 639px) {
  .dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 12px;
  }

  /* 24px tap target around an 8px dot */
  .dots button {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: radial-gradient(circle, rgba(22, 32, 15, 0.2) 4px, transparent 4.5px);
    cursor: pointer;
  }

  .dots button[aria-current='true'] {
    background: radial-gradient(circle, var(--forest) 4px, transparent 4.5px);
  }
}

/* Project grid and cards */
.projects {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px 24px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.project-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #e9eee2;
}

/* Absolutely positioned so an image that is still loading can't stretch the 16:10 box */
.project-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.project:hover .project-img img {
  transform: scale(1.04);
}

/* Name above type, so long domains get the full card width */
.project figcaption {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}

.project figcaption strong {
  font-size: 1.0625rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.project figcaption span {
  font-size: 0.8125rem;
  color: var(--ink-mute);
}

/* Phones: homepage shows four small cards, two per row; the full list lives on the projects page */
@media (max-width: 639px) {
  [data-featured] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  [data-featured] .project:nth-child(n + 5) {
    display: none;
  }

  [data-featured] .project-img {
    border-radius: 12px;
  }

  [data-featured] .project figcaption {
    margin-top: 8px;
  }

  [data-featured] .project figcaption strong {
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  [data-featured] .project figcaption span {
    font-size: 0.75rem;
  }
}

/* Full project list: smaller thumbnails, more per row */
.projects[data-projects] {
  gap: 28px 16px;
}

@media (min-width: 1024px) {
  .projects[data-projects] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

[data-projects] .project-img {
  border-radius: 16px;
}

[data-projects] .project figcaption {
  margin-top: 10px;
}

[data-projects] .project figcaption strong {
  font-size: 0.9375rem;
}

/* Filter chips, used on the homepage and the projects page */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.filters button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(22, 32, 15, 0.16);
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: inherit;
  cursor: pointer;
}

.filters button:hover {
  border-color: var(--forest);
}

.filters button[aria-pressed='true'] {
  border-color: var(--night);
  background: var(--night);
  color: #fff;
}

.filters button span {
  opacity: 0.6;
}

/* Phones: compact chips so every tag stays visible */
@media (max-width: 639px) {
  .filters {
    gap: 6px;
    margin-top: 28px;
  }

  .filters button {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.8125rem;
  }
}

/* Commitments: numbered list on the darkest green */
.commitments {
  margin-top: 112px;
  padding: 112px 0;
  background: var(--night);
  color: var(--on-dark);
}

.commitments .eyebrow {
  color: var(--accent);
}

.commitments ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 0 48px;
  margin-top: 56px;
  counter-reset: commitment;
}

.commitments li {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid rgba(242, 247, 234, 0.16);
  font-size: 1.125rem;
  line-height: 1.55;
  counter-increment: commitment;
}

.commitments li::before {
  content: counter(commitment, decimal-leading-zero);
  flex: none;
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--accent);
}

/* Expertise: capability cards and goal checklist, tech stack beside them */
.expertise {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}

.expertise-main,
.expertise-side {
  display: grid;
  gap: 24px;
  align-content: start;
}

@media (min-width: 1024px) {
  .expertise {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

.panel {
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.panel h3 {
  font-size: 1.625rem;
  line-height: 1.25;
}

.panel-lead {
  margin-top: 8px;
  color: var(--ink-soft);
}

.panel-dark {
  border: 0;
  background: var(--deep);
  color: var(--on-dark);
}

.panel-dark .panel-lead {
  color: var(--on-dark-soft);
}

.panel .list-title {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.skills,
.goals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  margin-top: 28px;
}

.skills {
  gap: 12px;
}

.skills li {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: #f6f8f2;
}

.skills .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.skills strong {
  font-weight: 600;
}

.skills p {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.goals {
  gap: 0 32px;
}

/* Each goal gets a green check drawn in CSS */
.goals li {
  position: relative;
  padding: 16px 0 16px 40px;
  border-top: 1px solid rgba(242, 247, 234, 0.14);
  line-height: 1.5;
}

.goals li::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2313240a' stroke-width='3'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.goals strong {
  font-weight: 600;
}

@media (min-width: 640px) {
  .panel {
    padding: 36px;
  }
}

/* Technology logos: icon above its name */
.tech {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
}

.tech li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.tech li:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.tech img {
  width: 36px;
  height: 36px;
}

/* Contact CTA */
.cta-section {
  padding: 112px 0;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px);
  border-radius: 32px;
  background: var(--accent);
  color: var(--on-accent);
}

.cta > div:first-child {
  flex: 1 1 420px;
  min-width: 0;
}

.cta h2 {
  font-size: clamp(2.75rem, 6.4vw, 6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.cta p {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--deep);
}

/* Contact lines: tap one to copy it; "Copied" shows in place of the label */
.contact-list {
  display: grid;
  gap: 10px;
  flex: 1 1 340px;
  max-width: 460px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.2s;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.55);
}

.contact-copy {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: copy;
}

.contact-copy small,
.contact-copy strong {
  display: block;
}

.contact-copy small {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--deep);
}

.contact-copy strong {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-copy[data-copied] small {
  color: var(--forest);
  font-weight: 600;
}

/* Eye icon that reveals the full phone number */
.contact-show {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: 4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--on-accent);
  color: #fff;
  cursor: pointer;
}

.contact-show[hidden] {
  display: none;
}

.contact-show:hover {
  background: var(--deep);
}

.copy-inline {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: copy;
}

/* Projects page */
.page-head {
  padding-top: 72px;
}

.page-head h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.page-body {
  padding-bottom: 112px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.footer .container {
  display: grid;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.footer p + p {
  margin-top: 6px;
}

.footer .logo img {
  margin-bottom: 14px;
}

.footer .company {
  font-weight: 600;
  color: var(--ink);
}

.footer-contact {
  font-size: 0.9375rem;
  color: var(--ink);
}

.footer-contact p + p {
  margin-top: 10px;
}

.footer-contact a:hover {
  color: var(--forest);
}

.copyright {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 16px 32px;
  border-top: 1px solid rgba(22, 32, 15, 0.06);
  font-size: 0.8125rem;
  color: var(--ink-mute);
}

@media (min-width: 640px) {
  .copyright {
    padding: 20px 24px 32px;
  }
}

@media (min-width: 768px) {
  .footer .container {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }

  .footer .container > div:first-child {
    max-width: 480px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bulb, .bulb::before, .bulb::after, .bulb img { animation: none; }
}
