:root {
  color-scheme: light;
  --wall: #dedbd1;
  --paper: #f7f4ea;
  --ink: #11120f;
  --soft-ink: #3f413b;
}

* { box-sizing: border-box; }

html { background: var(--wall); }

body {
  min-height: 100vh;
  margin: 0;
  padding: clamp(18px, 4vw, 52px);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--wall);
  font-family: "Source Serif 4", Georgia, serif;
  font-optical-sizing: auto;
  font-variant-ligatures: common-ligatures;
}

.notice {
  position: relative;
  width: min(100%, 760px);
  padding: 10px;
  background: var(--paper);
  border: 4px solid var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  overflow: hidden;
}

.inner-border {
  position: relative;
  min-height: min(720px, calc(100vh - 70px));
  padding: clamp(48px, 8vw, 80px) clamp(28px, 9vw, 88px) 32px;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
}

.inner-border::before,
.inner-border::after {
  content: "";
  position: absolute;
  top: 16px;
  width: 42px;
  height: 42px;
  border-top: 1px solid var(--ink);
}

.inner-border::before {
  left: 16px;
  border-left: 1px solid var(--ink);
}

.inner-border::after {
  right: 16px;
  border-right: 1px solid var(--ink);
}

header { text-align: center; }

.heading {
  margin: 0 0 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.arabic-intro {
  margin: 0 0 10px;
  font-family: "Noto Naskh Arabic", "Geeza Pro", "Traditional Arabic", serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.55;
}

h1 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(58px, 12vw, 84px);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.04em;
}

.years {
  margin: 27px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
}

.divider {
  width: 100%;
  height: 18px;
  margin: 34px 0 31px;
  display: flex;
  align-items: center;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--ink);
}

.divider span {
  width: 7px;
  height: 7px;
  margin: 0 14px;
  border: 1px solid var(--ink);
  transform: rotate(45deg);
}

article {
  max-width: 560px;
  margin: 8px auto 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.68;
}

article > p { margin: 0 0 20px; }

.announcement {
  margin-bottom: 32px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
}

footer {
  margin-top: auto;
  padding-top: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--soft-ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .15em;
  text-transform: uppercase;
}

footer a {
  color: inherit;
  font-weight: 400;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: lowercase;
}

footer a:hover,
footer a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 520px) {
  body { padding: 10px; }
  .notice { padding: 5px; }
  .inner-border { min-height: calc(100vh - 32px); padding: 44px 24px 26px; }
  .heading { margin-bottom: 25px; }
  .divider { margin: 30px 0 28px; }
  article { font-size: 17px; }
  .announcement { font-size: 24px; }
  footer { padding-top: 44px; text-align: center; }
}
