:root {
  --bg: #f4ede2;
  --bg-soft: #ede4d3;
  --ink: #2e2a24;
  --ink-soft: #6b6155;
  --accent: #8a7559;
  --rule: #d9cdb8;
}

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

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
}

a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color .25s ease, color .25s ease; }
a:hover { color: var(--accent); border-color: var(--accent); }

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 0 2rem;
}

.content {
  max-width: 40rem;
  width: 100%;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--rule);
}

.masthead .mark {
  position: relative;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", "Garamond", serif;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.masthead .mark .amp {
  font-style: italic;
  color: var(--accent);
  margin: 0 0.02em;
}

/* Seal ring, drawn with SVG so the stroke can animate */
.mark-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.mark-ring circle {
  fill: none;
  transform-box: fill-box;
  transform-origin: center;
}
.mark-ring .ring-base {
  stroke: var(--rule);
  stroke-width: 1;
}
.mark-ring .ring-orbit {
  stroke: var(--accent);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 8 149;   /* one short arc, rest gap (circumference ≈ 157) */
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  /* Ring traces itself in once, from the top */
  .mark-ring .ring-base {
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    transform: rotate(-90deg);
    animation: ring-draw 1.4s ease-out forwards;
  }
  /* A faint accent arc orbits slowly once the ring is drawn */
  .mark-ring .ring-orbit {
    transform: rotate(-90deg);
    animation:
      ring-orbit-fade 0.9s ease forwards 1.3s,
      ring-orbit-spin 14s linear infinite 1.3s;
  }
}

@keyframes ring-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes ring-orbit-fade {
  to { opacity: 0.5; }
}
@keyframes ring-orbit-spin {
  from { transform: rotate(-90deg); }
  to { transform: rotate(270deg); }
}

.masthead .masthead-meta {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

h1 {
  font-family: "Cormorant Garamond", "Garamond", serif;
  font-weight: 300;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}

.bio p {
  margin-bottom: 1.1rem;
  color: var(--ink);
  max-width: 54ch;
}
.bio p:last-child { margin-bottom: 0; }

.links {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  padding: 0.95rem 0;
  font-size: 15px;
  letter-spacing: 0.02em;
  width: 100%;
  gap: 1rem;
}
.links a:first-child { border-top: 1px solid var(--rule); }

.links .link-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.links a .label {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}
.links a .sublabel {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.links a .arrow {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
  transition: transform .25s ease, color .25s ease;
  display: inline-block;
  flex-shrink: 0;
}
.links a:hover .arrow { color: var(--accent); transform: translateX(4px); }

footer {
  margin-top: 3rem;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  line-height: 1.6;
}
footer .reg { display: block; }
footer .copyright { margin-top: 0.85rem; }

@media (max-width: 540px) {
  body { padding: 1.75rem 1.5rem; font-size: 16px; }
  main { padding: 2rem 0 1rem; }
  /* Drop the company registration onto its own clean line instead of
     wrapping mid-phrase; hide the now-redundant separator. */
  footer .legal .sep { display: none; }
  footer .legal .reg-no { display: block; }
}
