:root {
  --green: #476b3c;
  --green-dark: #31563a;
  --sage: #eef1e5;
  --cream: #fbf8f0;
  --ink: #30362f;
  --line: rgba(70, 94, 60, 0.17);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--cream);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.9), transparent 35%),
    linear-gradient(110deg, #f7f3e9, #fffdfa 55%, #f1f3e8);
  font-family: "Cormorant Garamond", Georgia, serif;
}

a {
  color: inherit;
}

.time-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 15px clamp(24px, 4vw, 70px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.92);
}

.time-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--green-dark);
  text-decoration: none;
}

.time-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.time-brand span {
  display: grid;
}

.time-brand strong {
  font-size: 2rem;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.time-brand small {
  margin-top: 6px;
  font-size: 0.78rem;
}

.time-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
  font-size: 1rem;
}

.time-nav a {
  text-decoration: none;
}

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

.time-account {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 26px;
  border-radius: 999px;
  color: white;
  background: var(--green);
}

.time-nav .time-account:hover {
  color: white;
  background: var(--green-dark);
}

.time-hero {
  min-height: 435px;
  display: grid;
  grid-template-columns: minmax(360px, 39%) 1fr;
}

.time-photo {
  position: relative;
  min-height: 435px;
  overflow: hidden;
}

.time-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 68%, rgba(251, 248, 240, 0.96));
  pointer-events: none;
}

.time-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% center;
}

.time-bubble {
  position: absolute;
  z-index: 2;
  top: 13%;
  right: 6%;
  margin: 0;
  padding: 18px 27px;
  border: 1px solid rgba(79, 105, 68, 0.38);
  border-radius: 48%;
  color: var(--green-dark);
  background: rgba(255, 254, 249, 0.92);
  font-size: 1.16rem;
  font-style: italic;
  line-height: 1.18;
  text-align: center;
  transform: rotate(-2deg);
}

.time-bubble::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -13px;
  width: 27px;
  height: 25px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform: rotate(12deg);
}

.time-message {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 60px 28px;
  overflow: hidden;
  text-align: center;
}

.time-message h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--green);
  font-size: clamp(2.7rem, 4.2vw, 4.35rem);
  font-weight: 600;
  line-height: 1;
}

.time-heart {
  position: relative;
  z-index: 1;
  margin: 9px 0;
  color: var(--green);
  font-size: 2.6rem;
  line-height: 1;
}

.time-message p {
  position: relative;
  z-index: 1;
  margin: 6px 0;
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.35;
}

.time-message strong {
  color: var(--green);
  font-weight: 600;
}

.time-sprig {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.time-leaves {
  position: absolute;
  fill: rgba(130, 157, 107, 0.15);
  stroke: rgba(67, 104, 54, 0.64);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.time-leaves--top {
  top: -14px;
  right: -14px;
  width: clamp(180px, 25vw, 330px);
}

.time-choices {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: -6px auto 24px;
}

.time-choice-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 24px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 13px 36px rgba(61, 78, 54, 0.06);
  text-align: center;
}

.time-choice-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(234, 239, 224, 0.88);
}

.time-choice-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.time-choice-icon--heart {
  font-family: Georgia, serif;
  font-size: 3.4rem;
  font-weight: 400;
}

.time-choice-card h2 {
  margin: 12px 0 8px;
  color: var(--green-dark);
  font-size: clamp(1.3rem, 2vw, 1.62rem);
  line-height: 1.05;
}

.time-choice-card p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.35;
}

.time-choice-card > a {
  width: min(270px, 100%);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 8px 18px;
  border-radius: 8px;
  color: white;
  background: var(--green);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.time-choice-card > a:hover,
.time-card-offer a:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
}

.time-keepsake {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 13px 36px rgba(61, 78, 54, 0.06);
}

.time-quote {
  min-height: 190px;
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  padding: 24px 32px;
  border-right: 1px solid var(--line);
  color: var(--green);
}

.time-quote svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.time-quote p {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-style: italic;
  line-height: 1.22;
  text-align: center;
}

.time-quote > span {
  grid-column: 2;
  text-align: center;
  font-size: 1.8rem;
}

.time-card-offer {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 170px;
  align-items: center;
  gap: 18px;
  padding: 22px 18px 22px 30px;
}

.time-gift {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--sage);
  font-size: 2rem;
}

.time-card-offer h2 {
  margin: 0 0 4px;
  color: var(--green-dark);
  font-size: 1.35rem;
}

.time-card-offer p {
  margin: 0 0 11px;
  font-size: 1rem;
  line-height: 1.25;
}

.time-card-offer a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 22px;
  border: 1px solid var(--green);
  border-radius: 8px;
  color: var(--green-dark);
  font-size: 1.04rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.time-card-offer a:hover {
  color: white;
}

.takeaway-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--green-dark);
  background: #f5f2e7;
  box-shadow: 0 10px 24px rgba(58, 73, 52, 0.12);
  text-align: center;
  transform: rotate(5deg);
}

.takeaway-card svg {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.takeaway-card p {
  margin: 4px 0;
  font-size: 0.82rem;
  font-style: italic;
}

.takeaway-card span {
  font-size: 1.25rem;
}

.time-footer {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 12px 20px;
  color: var(--green-dark);
  background: rgba(232, 237, 221, 0.7);
  font-size: 1.06rem;
}

.time-footer p {
  margin: 0;
}

.time-footer strong {
  font-size: 1.38rem;
  font-style: italic;
  font-weight: 500;
}

@media (max-width: 920px) {
  .time-header {
    align-items: flex-start;
  }

  .time-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 13px 22px;
  }

  .time-hero {
    grid-template-columns: 38% 1fr;
  }

  .time-message {
    padding-inline: 30px;
  }

  .time-choices {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .time-choice-card {
    min-height: 0;
  }

  .time-keepsake {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .time-quote {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .time-header {
    min-height: 74px;
    align-items: center;
    padding: 10px 15px;
  }

  .time-brand img {
    width: 44px;
    height: 44px;
  }

  .time-brand strong {
    font-size: 1.55rem;
  }

  .time-brand small {
    display: none;
  }

  .time-nav a:not(.time-account) {
    display: none;
  }

  .time-account {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 0.9rem;
  }

  .time-hero {
    display: block;
  }

  .time-photo {
    min-height: 0;
    height: 270px;
  }

  .time-photo::after {
    background: linear-gradient(0deg, var(--cream), transparent 38%);
  }

  .time-photo img {
    object-position: 48% center;
  }

  .time-bubble {
    top: 17px;
    right: 14px;
    padding: 12px 17px;
    font-size: 0.92rem;
  }

  .time-message {
    padding: 28px 17px 24px;
  }

  .time-message h1 {
    font-size: clamp(2.45rem, 13vw, 3.25rem);
  }

  .time-message p {
    font-size: 1.03rem;
  }

  .time-message p br {
    display: none;
  }

  .time-leaves--top {
    width: 150px;
    opacity: 0.45;
  }

  .time-choices,
  .time-keepsake {
    width: calc(100% - 28px);
  }

  .time-choice-card {
    padding: 22px 15px 18px;
  }

  .time-choice-card p br {
    display: none;
  }

  .time-quote {
    min-height: 0;
    grid-template-columns: 52px 1fr;
    padding: 22px 14px;
  }

  .time-quote svg {
    width: 52px;
    height: 52px;
  }

  .time-quote p {
    font-size: 1.2rem;
  }

  .time-card-offer {
    grid-template-columns: 50px 1fr;
    padding: 22px 17px 32px;
  }

  .time-gift {
    width: 50px;
    height: 50px;
  }

  .takeaway-card {
    grid-column: 1 / -1;
    width: min(190px, 75%);
    min-height: 180px;
    justify-self: center;
    margin-top: 10px;
  }

  .time-footer {
    flex-wrap: wrap;
    gap: 7px 13px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .time-choice-card > a,
  .time-card-offer a {
    transition: none;
  }
}
